Symptom
A Contact is selected in the sales order. However, when the Customer Invoice's output is created, the contact person is not included in both the template and the XML file.
Environment
SAP Business ByDesign
Reproducing the Issue
Go to the Customer Invoicing Work Center
Select the Invoice Document View
Search for the Customer Invoice ABC (where ABC represents the invoice ID)
Click on Edit and View All
Navigate to Output History view
Click on the View Data XML button
No contact person name in XML data
Cause
The BillToParty-ContactPerson field is present for countries GB/FR/CA/AU/ZA/DK/SG/NO and for all these countries the contact person is determined from the bill to party contact details and will fill the contact person details for the above mentioned countries in the XML (If maintained in master data).
The example Customer Invoice ABC is for country AE, which is why there is no contact person name in XML data .
Resolution
This is the current system behavior.
In this case, we recommend you to have an extension field with this information and then using that field for the desired purpose.
Note that Header Level Extension Fields will be considered a Split Criteria, find more information on KBA 1500875 - Split Criteria in Customer Invoicing.
Keywords
Contact Person, Customer Invoice, BillToParty, output, form template , KBA , SRD-CRM-INV , Customer Invoicing , Problem
SAP Knowledge Base Article - Public