Field returned blank in the template - InventLoncationID

Hi,
I tried to add the InventLocationID field to my Sales Invoice template but it returned blank despite it being populated in D365. I tried to update the data source but the field still comes out blank.

Any thoughts on what might be the issue would be appreciated.

Thank you!
Zainab