SAP Knowledge Base Article - Public

3453204 - In the JSON file, customer invoice ID appears as NIL instead of the number ID.

Symptom

 Customer invoice number missing in the JSON file.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to Customer Invoicing work center
  2. Select Invoice Documents view
  3. Search for invoice ID ABC (Where ABC stands for the Invoice ID)
  4. Edit / View All
  5. Under the General tab, go to Attachments section
  6. Open the JSON file

 

You will notice that the invoice ID is missing in the JSON file and instead the value appears as NIL.

 

Please refer to the following part in the JSON file:

{"Typ": "INV", "No": "NIL",

Cause

"NIL" value for document number in JSON file comes when "request legal approval" button is directly clicked without first saving the document.

Resolution

For the legal approval of next document please follow below mentioned steps:

 

1. When creating a new customer invoice, please first click on "Save" button, this will generate the customer invoice ID.

2. Once document id is generated and visible on the screen, please Click on "Legal Approval" -> "Request Approval" button.

Keywords

Invoice, incorrect number, incorrect ID, NIL, JSON, India. , KBA , SRD-CRM-INV , Customer Invoicing , Problem

Product

SAP Business ByDesign all versions