cancel
Showing results for 
Search instead for 
Did you mean: 

Add New ORDR and read DocNum assigned via DIAPI

former_member258877
Participant
0 Kudos

Hi

when a user adds a new customer order (ORDR) code should read DocNum assigned after saving and set into document rows a user field with DocNum

how can I do that? Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

After Action Success

Get DocNum based on DocEntry then Sale Order through DIAPI

edy_simon
Active Contributor
0 Kudos

Hi Feliciello,

Catch the After Form Data Add Event + Action Success = true.

Get The DocEntry and DocNum via the DBDataSource in this event

Update the Order object via DI API.

Regards

Edy

former_member258877
Participant
0 Kudos

Ok thanks