Hi all experts,
I'm new to AL language.
I want to capture the location code in the Item Ledger Entry - Last transaction of the location code (Highlighted in Red Box)
As currently my report is printed the location code with first record, so now i wish to capture the last record of location code.
I direct pulled the field location code in item ledger entry, but it print the first record in report layout.
How can i write the code and print in the report?
Below is my screenshot.
Thank you.