Symptom
You have created an custom customer invoice template and included the project time recording part. When previewing the invoice, you find the preview output only displays part of the employee's time records, not all.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the customer invoicing work center.
- Go to the Invoice Documents view.
- Select the relevant invoice, click Preview, you are able to check the time recordings of each employee included in the project. You find some of the time records are not shown in the output for the employee.
- Go to the Output History tab, select the output PDF and click view XML, you however could see all the time records of the employee are available in the XML (under <CustomerProjectInvoiceProductViewSubSubtotal> section).
Cause
The table 'rowAssignedProjects' is binding with '$.CustomerProjectInvoiceProductViewSubSubtotal[0].CustomerProjectInvoiceProductViewSubSubtotalItem[*]' in adobe live cycle designer for form template of customer invoice. Due to this display only first record of project team member items.
Resolution
Please follow the below steps to maintain the binding for 'rowAssignedProjects' table.
1)Please download the customer invoice form template from 'Application and User Management - Form Template Maintenance' work center view.
2)Open Adobe Livecycle Designer, select XDP file which is downloaded from the form template.
3)Bind the table 'rowAssignedProjects' as attached screenshot name 'Project Details Binding' then save. The code would be like below after binding.
$.CustomerProjectInvoiceProductViewSubSubtotal[*].CustomerProjectInvoiceProductViewSubSubtotalItem[*]
4)Upload the saved XDP file into customer invoice form template in 'Application and User Management - Form Template Maintenance' work center view.
After followed the above steps then execute the invoice to get all the record items for the project team member.
Keywords
project invoicing; project invoice request; time recordings not displayed; customer invoice template; <CustomerProjectInvoiceProductViewSubSubtotal>. , KBA , SRD-CRM-ORD , Orders & Contracts , Problem
Product
Attachments
Project Details Binding.PNG |