red1.org Forum Index red1.org
Nihili est - in vita priore ego imperator romanus fui
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ProjectGenPO doesnt pass value to PO - old BUG ver250d

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> BUGS Galore!
View previous topic :: View next topic  
Author Message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Wed Jul 28, 2004 12:03 pm    Post subject: ProjectGenPO doesnt pass value to PO - old BUG ver250d Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> BUGS Galore! All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group