Attached Files | nullPointer.png [^] (30,544 bytes) 2009-06-04 12:13

Header_240.java [^] (60,688 bytes) 2009-06-04 13:10
Header_240_MP4.java [^] (57,938 bytes) 2009-06-04 13:10
issue-9329.diff [^] (6,066 bytes) 2009-06-04 13:10 [Show Content] [Hide Content]411c411,421
<
---
> String strdateordered = vars.getStringParameter("inpdateordered");
> PInstanceProcessData.insertPInstanceParamDate(this, pinstance, "10", "DateOrdered", strdateordered, vars.getClient(), vars.getOrg(), vars.getUser());
> String strcBpartnerId = vars.getStringParameter("inpcBpartnerId");
> PInstanceProcessData.insertPInstanceParamNumber(this, pinstance, "20", "C_BPartner_ID", strcBpartnerId, vars.getClient(), vars.getOrg(), vars.getUser());
> String strmPricelistId = vars.getStringParameter("inpmPricelistId");
> PInstanceProcessData.insertPInstanceParamNumber(this, pinstance, "30", "M_PriceList_ID", strmPricelistId, vars.getClient(), vars.getOrg(), vars.getUser());
> String stradOrgId = vars.getStringParameter("inpadOrgId");
> PInstanceProcessData.insertPInstanceParamNumber(this, pinstance, "40", "AD_Org_ID", stradOrgId, vars.getClient(), vars.getOrg(), vars.getUser());
> String strmWarehouseId = vars.getStringParameter("inpmWarehouseId");
> PInstanceProcessData.insertPInstanceParamNumber(this, pinstance, "50", "M_Warehouse_ID", strmWarehouseId, vars.getClient(), vars.getOrg(), vars.getUser());
>
495c505
< data.adClientId = vars.getRequiredGlobalVariable("inpadClientId", windowId + "|AD_Client_ID"); data.adClientIdr = vars.getStringParameter("inpadClientId_R"); data.adOrgId = vars.getRequiredGlobalVariable("inpadOrgId", windowId + "|AD_Org_ID"); data.adOrgIdr = vars.getStringParameter("inpadOrgId_R"); data.documentno = vars.getRequiredStringParameter("inpdocumentno"); data.isactive = vars.getStringParameter("inpisactive", "N"); data.cBpartnerId = vars.getStringParameter("inpcBpartnerId"); data.cBpartnerIdr = vars.getStringParameter("inpcBpartnerId_R"); data.mPricelistId = vars.getStringParameter("inpmPricelistId"); data.mPricelistIdr = vars.getStringParameter("inpmPricelistId_R"); data.cCurrencyId = vars.getRequestGlobalVariable("inpcCurrencyId", windowId + "|C_Currency_ID"); data.cCurrencyIdr = vars.getStringParameter("inpcCurrencyId_R"); data.description = vars.getStringParameter("inpdescription"); data.adUserId = vars.getRequiredStringParameter("inpadUserId"); data.adUserIdr = vars.getStringParameter("inpadUserId_R"); data.createpo = vars.getRequiredStringParameter("inpcreatepo"); data.docstatus = vars.getRequiredStringParameter("inpdocstatus"); data.docstatusr = vars.getStringParameter("inpdocstatus_R"); data.docaction = vars.getRequiredStringParameter("inpdocaction"); data.processing = vars.getStringParameter("inpprocessing", "N"); data.mRequisitionId = vars.getRequestGlobalVariable("inpmRequisitionId", windowId + "|M_Requisition_ID"); data.processed = vars.getStringParameter("inpprocessed", "N");
---
> data.adClientId = vars.getRequiredGlobalVariable("inpadClientId", windowId + "|AD_Client_ID"); data.adClientIdr = vars.getStringParameter("inpadClientId_R"); data.adOrgId = vars.getRequiredGlobalVariable("inpadOrgId", windowId + "|AD_Org_ID"); data.adOrgIdr = vars.getStringParameter("inpadOrgId_R"); data.documentno = vars.getRequiredStringParameter("inpdocumentno"); data.isactive = vars.getStringParameter("inpisactive", "N"); data.cBpartnerId = vars.getStringParameter("inpcBpartnerId"); data.cBpartnerIdr = vars.getStringParameter("inpcBpartnerId_R"); data.mPricelistId = vars.getStringParameter("inpmPricelistId"); data.mPricelistIdr = vars.getStringParameter("inpmPricelistId_R"); data.cCurrencyId = vars.getRequestGlobalVariable("inpcCurrencyId", windowId + "|C_Currency_ID"); data.cCurrencyIdr = vars.getStringParameter("inpcCurrencyId_R"); data.description = vars.getStringParameter("inpdescription"); data.adUserId = vars.getRequiredStringParameter("inpadUserId"); data.adUserIdr = vars.getStringParameter("inpadUserId_R"); data.createpo = vars.getRequiredStringParameter("inpcreatepo"); data.docstatus = vars.getRequiredStringParameter("inpdocstatus"); data.docstatusr = vars.getStringParameter("inpdocstatus_R"); data.docaction = vars.getRequiredStringParameter("inpdocaction"); data.processed = vars.getStringParameter("inpprocessed", "N"); data.processing = vars.getStringParameter("inpprocessing", "N"); data.mRequisitionId = vars.getRequestGlobalVariable("inpmRequisitionId", windowId + "|M_Requisition_ID");
947a958,977
> ComboTableData comboTableData = null;
> xmlDocument.setParameter("DateOrdered", "");
> xmlDocument.setParameter("DateOrdered_Format", vars.getSessionValue("#AD_SqlDateFormat"));
> xmlDocument.setParameter("C_BPartner_ID", "");
> xmlDocument.setParameter("C_BPartner_IDR", HeaderData.selectActDefC_BPartner_ID(this, ""));
> xmlDocument.setParameter("M_PriceList_ID", "");
> comboTableData = new ComboTableData(vars, this, "19", "M_PriceList_ID", "", "1004400001", Utility.getContext(this, vars, "#AccessibleOrgTree", ""), Utility.getContext(this, vars, "#User_Client", ""), 0);
> Utility.fillSQLParameters(this, vars, null, comboTableData, "", "");
> xmlDocument.setData("reportM_PriceList_ID", "liststructure", comboTableData.select(false));
> comboTableData = null;
> xmlDocument.setParameter("AD_Org_ID", "");
> comboTableData = new ComboTableData(vars, this, "19", "AD_Org_ID", "", "130", Utility.getContext(this, vars, "#AccessibleOrgTree", ""), Utility.getContext(this, vars, "#User_Client", ""), 0);
> Utility.fillSQLParameters(this, vars, null, comboTableData, "", "");
> xmlDocument.setData("reportAD_Org_ID", "liststructure", comboTableData.select(false));
> comboTableData = null;
> xmlDocument.setParameter("M_Warehouse_ID", "");
> comboTableData = new ComboTableData(vars, this, "19", "M_Warehouse_ID", "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", ""), Utility.getContext(this, vars, "#User_Client", ""), 0);
> Utility.fillSQLParameters(this, vars, null, comboTableData, "", "");
> xmlDocument.setData("reportM_Warehouse_ID", "liststructure", comboTableData.select(false));
> comboTableData = null;
|