static void Job40(Args _args)
{
str firstvalue,finalvalue,a = "ABC";
info(strRem("ABCD", "C"));
info(subStr("ABCD", 1,1));
firstvalue = subStr(a,2,2);
finalvalue = strRem(a, firstvalue);
info(finalvalue);
}
IN SSRS:
Declaration:
str firstvalue,finalvalue,a;
Inside the loop:
a = SalesPurchInvoiceHeaderFooterTmp.GSTConsignee;
firstvalue = subStr(a,3,10);
SalesPurchInvoiceHeaderFooterTmp.GSTConsigneePan = firstvalue;
//info(strFmt("%1", firstvalue));
finalvalue = subStr(SalesPurchInvoiceHeaderFooterTmp.GSTBuyer,3,10);
SalesPurchInvoiceHeaderFooterTmp.GSTBuyerPan = finalvalue;
No comments:
Post a Comment