ProjectGenPO doesnt pass value to PO - old BUG ver250d

Whenever bugs are encountered they are quashed and reported. Here you can see their quashings up close.

Moderators: sureshquest, arulmani, trifon

ProjectGenPO doesnt pass value to PO - old BUG ver250d

Postby red1 » Wed Jul 28, 2004 12:03 pm

solved by pitfung

IN ORG.COMPIERE.PROCESS.PROJECTGENPO.JAVA, look for the following lines and intro the part between //adding --

if (order == null) // create new Order
{
// Vendor
MBPartner bp = new MBPartner (getCtx(), po.getC_BPartner_ID());

// New Order
order = new MOrder (getCtx (), 0);
order.setClientOrg (projectLine.getAD_Client_ID (), projectLine.getAD_Org_ID ());
order.setIsSOTrx (false);
order.setBPartner (bp);
order.setC_DocTypeTarget_IDR ();

//adding -- Project_id and Campaign_id to Purchase Order
MProject project = new MProject (getCtx(), m_C_Project_ID);
order.setC_Project_ID(m_C_Project_ID);
order.setC_Campaign_ID(project.getC_Campaign_ID());
//adding -- END
red1
Site Admin
 
Posts: 2740
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Return to BUGS Galore!

Who is online

Users browsing this forum: No registered users and 1 guest

cron