WInOutGen - wrong comments

WInvoiceGen - wrong ad_column_id use, should be C_Invoice.DocAction instead of M_InOut.DocAction
This commit is contained in:
Heng Sin Low 2009-03-23 09:25:38 +00:00
parent 107b96d8cf
commit 28d0b69968
2 changed files with 3 additions and 3 deletions

View File

@ -261,7 +261,7 @@ public class WInOutGen extends ADForm implements EventListener, ValueChangeListe
m_M_Warehouse_ID = fWarehouse.getValue();
// Document Action Prepared/ Completed
lDocAction.setText(Msg.translate(Env.getCtx(), "DocAction"));
MLookup docActionL = MLookupFactory.get(Env.getCtx(), m_WindowNo, 4324 /* M_InOut.DocStatus */,
MLookup docActionL = MLookupFactory.get(Env.getCtx(), m_WindowNo, 4324 /* M_InOut.DocAction */,
DisplayType.List, Env.getLanguage(Env.getCtx()), "DocAction", 135 /* _Document Action */,
false, "AD_Ref_List.Value IN ('CO','PR')");
docAction = new WTableDirEditor("DocAction", true, false, true,docActionL);

View File

@ -261,7 +261,7 @@ public class WInvoiceGen extends ADForm
fBPartner.addValueChangeListener(this);
// Document Action Prepared/ Completed
lDocAction.setText(Msg.translate(Env.getCtx(), "DocAction"));
MLookup docActionL = MLookupFactory.get(Env.getCtx(), m_WindowNo, 4324 /* M_InOut.DocStatus */,
MLookup docActionL = MLookupFactory.get(Env.getCtx(), m_WindowNo, 3495 /* C_Invoice.DocAction */,
DisplayType.List, Env.getLanguage(Env.getCtx()), "DocAction", 135 /* _Document Action */,
false, "AD_Ref_List.Value IN ('CO','PR')");
docAction = new WTableDirEditor("DocAction", true, false, true,docActionL);
@ -559,7 +559,7 @@ public class WInvoiceGen extends ADForm
* Generate Invoices
*/
private void generateInvoices ()
{
{
String trxName = Trx.createTrxName("IVG");
Trx trx = Trx.get(trxName, true); //trx needs to be committed too
//String trxName = null;