Fix bug [ 1854605 ] C_PaySelection is being saved with wrong org

This commit is contained in:
Carlos Ruiz 2008-01-15 03:33:17 +00:00
parent 74db7ec57a
commit 503c6389fb
1 changed files with 1 additions and 0 deletions

View File

@ -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());