IDEMPIERE-2760 Inventory Move - Document type Print Format ignored / add for web services

This commit is contained in:
Carlos Ruiz 2015-10-04 10:31:42 -05:00
parent d8a3155802
commit 17e7db76a8
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import static org.compiere.model.SystemIDs.PROCESS_RPT_FINREPORT;
import static org.compiere.model.SystemIDs.PROCESS_RPT_FINSTATEMENT;
import static org.compiere.model.SystemIDs.PROCESS_RPT_M_INOUT;
import static org.compiere.model.SystemIDs.PROCESS_RPT_M_INVENTORY;
import static org.compiere.model.SystemIDs.PROCESS_RPT_M_MOVEMENT;
import java.io.CharArrayWriter;
import java.math.BigDecimal;
@ -706,6 +707,8 @@ public class Process {
return startCheckPrint(pi.getRecord_ID());
else if (pi.getAD_Process_ID() == PROCESS_RPT_M_INVENTORY) // Physical Inventory
return startDocumentPrint(ReportEngine.INVENTORY, pi.getRecord_ID());
else if (pi.getAD_Process_ID() == PROCESS_RPT_M_MOVEMENT) // Inventory Move
return startDocumentPrint(ReportEngine.MOVEMENT, pi.getRecord_ID());
/**
else if (pi.AD_Process_ID == 9999999) // PaySelection
return startDocumentPrint(CHECK, pi, IsDirectPrint);