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:-
No comments:
Post a Comment