I’ve asked a similar question before but have a better understanding how everything fits together now.
Under the POST button have included:
The CodeUnit looks like this:
IF EXISTS(‘C:\temp\XML_CUSTOMER.XML’) THEN
This uses the standard XMLPORT 8000 which has the Purchase Header information.
This works great, however, the XML contains information regarding the first document in the purchase header table.
What I want it to do is export the Purchase Order information of the Purchase Order I’m viewing when I hit the Post button.
I imagine this will involve Rec. but as always my problem is knowing what variable types to set! Can anyone point me in the right direction?