Good morning,
I am exporting purchase lines using dataport using a button on a purchase header. The lines are filtered to the current record on the on push trigger.
I want to save this export to different filenames for each "location code" using CurrDataport.Filename on the OnInit trigger of the dataport.
Both methods I've used return an empty value:
1/ trying to save the value of purchaseheader."Location Code" to a variable on the on push trigger;
2/ trying to retrieve the value purchaseheader."Location Code" on on OnInittrigger.
How can I make this work?
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!