I need to print the Country/Region of Origin Code from the Item Card on the Line Items of the Order Confirmation report I am modifying.
Here is what I have done so far but failed to make it work.
I first wrote the following code on the Sales Line's OnAfterRecordTrigger
IF ItemCont.GET("Sales Line"."No.") then;
ItemCont is a variable of record type for Item Table.
Then, in the dataitem(RoundLoop; "Integer") I wrote the following code;
column("Goods"; ItemCont."Country/Region of Origin Code")
And added the Goods field in RDL to the Line Table.
Thanks in Advance for the Help.