Sunday, December 10, 2023

Update

internal final class RunnableClass1

{

   /// <summary>

   /// Class entry point. The system will call this method when a designated menu

   /// is selected or when execution starts and this class is set as the startup class.

   /// </summary>

   /// <param name = "_args">The specified arguments.</param>

   public static void main(Args _args)

   {

       LedgerJournalTrans          ledgerJournalTrans;

       GeneralJournalEntry         generalJournalEntry;

       GeneralJournalAccountEntry  generalJournalAccountEntry;

       select forupdate ledgerJournalTrans

        where   ledgerJournalTrans.Voucher == 'APPM000001'

           && ledgerJournalTrans.DataAreaId == 'USMF' ;

       ttsbegin;

       ledgerJournalTrans.PaymReference = 'Kotamma';

       ledgerJournalTrans.update();

       ttscommit;

 

       while select forUpdate generalJournalAccountEntry

    where generalJournalAccountEntry.GeneralJournalEntry == 5637189675

       {

           ttsbegin;

           generalJournalAccountEntry.PaymentReference = 'Kotamma';

           generalJournalAccountEntry.update();

           ttscommit;

       }

 

   }

 

}

AP--->Vendor Payments:-


Voucher Tab:-





No comments:

Post a Comment

My Requirement is Delete option in Vendor Master for all roles except System Administrator

   [FormControlEventHandler(formControlStr(VendParameters, VendParameters_YNV_VendorMasterDeletionOption), FormControlEventType::Modified)] ...