IDEMPIERE-5132 Enable filling Purchase Order in Material Receipt - fix issue with drop ship (#1296)

This commit is contained in:
Carlos Ruiz 2022-04-22 16:34:03 +02:00 committed by GitHub
parent 8d5f7768e4
commit 1928bba1b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -86,6 +86,13 @@ public class CalloutInOut extends CalloutEngine
mTab.setValue("AD_User_ID", Integer.valueOf(order.getAD_User_ID())); mTab.setValue("AD_User_ID", Integer.valueOf(order.getAD_User_ID()));
else else
mTab.setValue("AD_User_ID", null); mTab.setValue("AD_User_ID", null);
if (order.isDropShip()) {
mTab.setValue(MInOut.COLUMNNAME_IsDropShip, order.isDropShip());
mTab.setValue(MInOut.COLUMNNAME_DropShip_BPartner_ID, order.getDropShip_BPartner_ID());
mTab.setValue(MInOut.COLUMNNAME_DropShip_Location_ID, order.getDropShip_Location_ID());
mTab.setValue(MInOut.COLUMNNAME_DropShip_User_ID, order.getDropShip_User_ID());
}
} }
/** /**
* Modification: set corresponding document type * Modification: set corresponding document type