[ 1814892 ] Bug# 1814870 PriceList error when creating PO From Requisition

This commit is contained in:
Heng Sin Low 2008-01-14 04:11:03 +00:00
parent fe2087a15a
commit 690016fa37
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ public class RequisitionPOCreate extends SvrProcess
m_order.setIsSOTrx(false);
m_order.setC_DocTypeTarget_ID();
m_order.setBPartner(m_bpartner);
m_order.setM_PriceList_ID(rLine.getParent().getM_PriceList_ID());
// default po document type
if (!p_ConsolidateDocument)
m_order.setDescription(Msg.getElement(getCtx(), "M_Requisition_ID")