Hello guys,
I have encountered the weirdest ever issue with Advanced PDF/HTML template where the field value printed on the output is not correct.
The main issue is with the "Memo" field for Journal record.
In the Customization Code, I use {$record.memo} for outputting the "Memo" field in the Primary Information section (hereinafter referred as "Memo Main". Instead of the value in "Memo Main", the value stored in the "Memo" for the first line item was returned.
This WEIRDEST situation only occurs for the Journal record type, and the code works PERFECTLY FINE for the other record type such as "Bill".
I am suspecting that this might be caused by the fact that Journal record does not have the Mainline while Bill record does.
To bypass this for Journal type record, I also try to add a custom field and put all the "memo main" values into this field, but cannot add to the Advanced PDF template.
Thanks!
Anson