Hello,
How the functionality "Journal in use" is built in a form such as LedgerJournalTable?
And how can I mimic such function in my customized form in a simple way?
Thanks in advance.
*This post is locked for comments
I have the same question (0)

Hello,
How the functionality "Journal in use" is built in a form such as LedgerJournalTable?
And how can I mimic such function in my customized form in a simple way?
Thanks in advance.
*This post is locked for comments
I have the same question (0)I think the best description for "how it's built" can be seen in the development workspace, examining how it's built :)
But if you want to have something similar, simply create a boolean / NoYes field "InUse" to your table. Whenever the form is opened for a certain record, check if InUse is true. If it is, don't let the form to be opened. If it's false, open the form and set InUse to be true. When the form is closed, set InUse field to false for that record.