Hello everyone, I am developing a Business Central extension to expose data in custom API pages. I am using the AL development to expose the API. One of my pages needs to include the G/L entry transactions and I need one field that is not present on the table, but it is present on the application.
We know that closing dates will and a "C" on the beginning of the dates. This is also a fictitious date generated by Business Central that will include a timestamp to the dates. G/L Entries that is included on the close income statement batches have a posting_date with this C.
I need to identify such transactions. I am exposing the posting date field on my AL.
In other words, I need to check if that specific G/L Entry is included in a closing batch.
Which field to use, and how Business Central marks the G/L Entry with the "C" on the posting date? how to replicate this in a API page?