Showing results for 
Search instead for 
Did you mean: 

Add line to udo doc and update reference in doc line via ServiceLayer batch request

0 Kudos


I would like to use SAP Business One ServiceLayer to
1.) add a new line in an existing UDO (document with document lines)
2.) save the reference to the new line in an existing sales order line.

All this should be executed in one transaction, i.e. in ONE batch request.

How can I access the new LineId in the second step, which was assigned to the new document line in the first step?

Best regards
Joachim Vasselai

Accepted Solutions (0)

Answers (0)