[1762461] - Remove hardcoded list items checking in generated models

Fix problem completing cash journal with bank transfer
This commit is contained in:
Carlos Ruiz 2009-04-01 06:38:52 +00:00
parent 668414b32e
commit de995e8c2b
1 changed files with 2 additions and 2 deletions

View File

@ -509,8 +509,8 @@ public class MCash extends X_C_Cash implements DocAction
String documentNo = getName(); String documentNo = getName();
pay.setDocumentNo(documentNo); pay.setDocumentNo(documentNo);
pay.setR_PnRef(documentNo); pay.setR_PnRef(documentNo);
pay.set_Value("TrxType", "X"); // Transfer pay.set_ValueNoCheck("TrxType", "X"); // Transfer
pay.set_Value("TenderType", "X"); pay.set_ValueNoCheck("TenderType", "X");
// //
//Modification for cash payment - Posterita //Modification for cash payment - Posterita
pay.setC_CashBook_ID(getC_CashBook_ID()); pay.setC_CashBook_ID(getC_CashBook_ID());