Reverting 9206

BT 2788727:RMA "Create Order" creates wrong doc type
-> doesn't create wrong doc type because it's a replacement order.
This commit is contained in:
phib 2009-05-29 05:04:53 +00:00
parent 0d919012ce
commit e214dc30f8
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class RMACreateOrder extends SvrProcess
order.setSalesRep_ID(rma.getSalesRep_ID()); order.setSalesRep_ID(rma.getSalesRep_ID());
order.setM_PriceList_ID(originalOrder.getM_PriceList_ID()); order.setM_PriceList_ID(originalOrder.getM_PriceList_ID());
order.setM_Warehouse_ID(originalOrder.getM_Warehouse_ID()); order.setM_Warehouse_ID(originalOrder.getM_Warehouse_ID());
order.setC_DocTypeTarget_ID(rma.getC_DocType_ID()); order.setC_DocTypeTarget_ID(originalOrder.getC_DocTypeTarget_ID());
order.setC_PaymentTerm_ID(originalOrder.getC_PaymentTerm_ID()); order.setC_PaymentTerm_ID(originalOrder.getC_PaymentTerm_ID());
order.setDeliveryRule(originalOrder.getDeliveryRule()); order.setDeliveryRule(originalOrder.getDeliveryRule());