BF [2910289] - More on RMA Stabilization

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2910289&group_id=176962
Copy record on Customer RMA window is copying wrongly the c_order_id
This commit is contained in:
Carlos Ruiz 2009-12-09 19:31:44 +00:00
parent 8ae6a08043
commit 38f7dba2ba
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,8 @@ public class MRMA extends X_M_RMA implements DocAction
*/
protected boolean beforeSave (boolean newRecord)
{
if (newRecord)
setC_Order_ID(0);
getShipment();
// Set BPartner
if (getC_BPartner_ID() == 0)