Reputation: 33
I have custom code that require user to save the journal when journal is created, so that the voucher number is removed from number sequence. However I would like to write it in my code so that when the user click the button to run my code, it will save the journal to remove the voucher number from number sequence. Is there any code that allow us to save the Journal?
Upvotes: 0
Views: 1225
Reputation: 33
Thanks for FH-Inway To perform the save in Journal, the write
method need to call with Data Source. EG: if the table for the form is LedgerJournalTrans
the save function must be perform by using LedgerJournalTrans_DS.write
. These are reserve keys for table data source hence it should apply for any tables.
Upvotes: 1