Fix Bug [ 1841458 ] CreatePDF underdeveloped routine?

As reported by Armen
I also notice that in MInout.java, it assign to C_Invoice_ID instead of M_Inout_ID
This commit is contained in:
Carlos Ruiz 2007-12-01 01:59:43 +00:00
parent fe1cc0a360
commit 2c190e12d1
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ public class MInOut extends X_M_InOut implements DocAction
*/
public File createPDF (File file)
{
ReportEngine re = ReportEngine.get (getCtx(), ReportEngine.SHIPMENT, getC_Invoice_ID());
ReportEngine re = ReportEngine.get (getCtx(), ReportEngine.SHIPMENT, getM_InOut_ID());
if (re == null)
return null;
return re.getPDF(file);