Caller form refresh task refresh #task


    FormDataSource fds;

    FormRun fr;

   

    #Task

 fr  =element.args().caller();

    if (fr != null)

   {

       fds = fr.dataSource();

       PurchTableDlv = fds.getFirst(1);

        ttsbegin;

        PurchTableDlv.selectForUpdate(true);

        PurchTableDlv.update();

        PurchTableDlv = fds.getNext();

        ttscommit;

        fr.task(#TaskRefresh);

    }

    element.closeOk();

 

           

     

Comments

Popular posts from this blog

Get voucher transactions,settlement , and other details from customer , invocie other posted transactions via GJentry and subledger entry

Logistics address, postal address, address phone fax contact information

Get Ledger journal transactions payment marked invoices for posted and non posted