Announcements
No record found.
How do I go about adding the customers PO number to a statement? The field I need is "External document number". I am using XML mapping in MS Word to set up the statement template but I cannot find the appropriate field. Thanks!
whats the base table of your word report? purchase header? that table contains that field.
otherwise you need to add that field to your dataitem programmatically.
If you can't find it, it means you need to create a new report. Duplicate the statement report, and add the field into it.
Hi Franz,
Thank you so much for the reply. I'm using the Standard statement report (ID 1316). I don't have the "Purchase Header" fields in the XML mapping pane.
Hi Teddy,
Thanks for the reply. Do you mean I should re-export the standard statement template (ID 1316)?
You need the base table in which that field is present.
You can then add that field to the report using a code sequence.
Hope this helps!
Regards.
in dataitem "Detailed Cust. Ledg. Entry" add a sub-dataitem "sales header", which is linked via "document no." and "document type"=order.
from dataitem "sales header" you get the "external document no." for usage as "customer po no."
Hi Franz, can you point me to any resource that explains how to add the sub-dataitem "sales header"?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 677 Super User 2026 Season 2
YUN ZHU 430 Super User 2026 Season 2
Teagen Boll 280 Super User 2026 Season 2