Hi Experts,
I want to write a job where I have to update E-Invoicing status from None to IRN Generated. I have also tried please let me know where I'm wrong.
Thanks & Regards
static void vtsUpdateEInvoicingStatus() { CustInvoiceJour custInvoiceJour; ttsBegin; while select forUpdate custInvoiceJour where custInvoiceJour.AcxEInvoicingStatus == "None" { custInvoiceJour.AcxEInvoicingStatus = custInvoiceJour.IRNGenerated(); custInvoiceJour.update(); } //update_recordSet ttsCommit; info("DONE"); }