Fix bug [ 1854605 ] C_PaySelection is being saved with wrong org
This commit is contained in:
parent
74db7ec57a
commit
503c6389fb
|
@ -107,6 +107,7 @@ public final class MPaySelectionCheck extends X_C_PaySelectionCheck
|
||||||
|
|
||||||
// Create new PaySelection
|
// Create new PaySelection
|
||||||
MPaySelection ps = new MPaySelection(ctx, 0, trxName);
|
MPaySelection ps = new MPaySelection(ctx, 0, trxName);
|
||||||
|
ps.setAD_Org_ID(payment.getAD_Org_ID());
|
||||||
ps.setC_BankAccount_ID (payment.getC_BankAccount_ID());
|
ps.setC_BankAccount_ID (payment.getC_BankAccount_ID());
|
||||||
ps.setName (Msg.translate(ctx, "C_Payment_ID") + ": " + payment.getDocumentNo());
|
ps.setName (Msg.translate(ctx, "C_Payment_ID") + ": " + payment.getDocumentNo());
|
||||||
ps.setDescription(payment.getDescription());
|
ps.setDescription(payment.getDescription());
|
||||||
|
|
Loading…
Reference in New Issue