Hello Friends,
I have added a new field on Trade agreement i.e () and i want to transfer data from PriceDiscAdmTrans table to PriceDiscTable. i.e after posted table.
please help me how to transfer data to posted table.
Thanks
Darshana
Hello Friends,
I have added a new field on Trade agreement i.e () and i want to transfer data from PriceDiscAdmTrans table to PriceDiscTable. i.e after posted table.
please help me how to transfer data to posted table.
Thanks
Darshana
Hello Darshana ,
you can use below code
pricedisctable pricedisctable;
pricediscadmtrans pricediscadmtrans;
pricediscadmtrans = Pricediscadmtrans::findrefrecid(“pass argument for recid”, “pass argument for journal number”);
pricedisctable.clear();
pricedisctable.initFromPriceDiscAdm(priceadmtrans);
pricedisctable.insert();
Let me know if you face any issues
Best Regards,
Jagannath Tripathy
Hello Jagannath,
Thanks for your reply…
It is working fine.
Thanks,
Darshana