Hi Martin,
Sorry To response you late and thanks for your reply.
I ll Provide you my Please Let me where I am committing mistake ?.
BELOW PASTED IS MY CODE :
select firstOnly10 RecId from dirPartyTable;
//where dirPartyTable1.Name == Org_Name.text();
while(dirPartyTable.RecId)
{
select MPSalesOrderPool,MPSite,MPWarehouse,MPPaymTerms,MPPaymMethod,MPCashDisc from smmbusreltable1
where smmbusreltable1.RecId == dirPartyTable.RecId;
// while(dirPartyTable.RecId)
if((smmbusreltable1.MPSalesOrderPool != "")&&(smmbusreltable1.MPSite != "")
&&(smmbusreltable1.MPWarehouse != "")&&(smmbusreltable1.MPPaymTerms)
&&(smmbusreltable1.MPPaymMethod != "")&&(smmbusreltable1.MPCashDisc != ""))
{
SalesPoolId.text(smmbusreltable1.MPSalesOrderPool);
SalesOrder_InventSiteId.text(smmbusreltable1.MPSite);
InventLocation.text(smmbusreltable1.MPWarehouse);
Payment_PaymTermId.text(smmbusreltable1.MPPaymTerms);
Payment_PaymMode.text(smmbusreltable1.MPPaymMethod);
Payment_CashDisc.text(smmbusreltable1.MPCashDisc);
}
}
info("Sorry!! No Such Record Found........");
---------------------------------------------------------------------------------------------------
I HAVE COMMENTED THE LINE BELOW ( SELECT ) STATEMENT :
//where dirPartyTable1.Name == Org_Name.text();
--------------------------------------------------------------------------------------------------
COZ IF HAVE USE IT THEN I AM GETTING BELOW ERROR :
Error executing code: FormRun (data source) has no valid runable code in method 'init'.
Stack trace
(C)\Forms\CustTable\Methods\init
(C)\Classes\SysSetupFormRun\init - line 3
PLEASE DO THE NEEDFUL.
REGARDS,
NISHATH SALMAN