Announcements
Hi, I have a problem, we talk about purchase orders.
1) I created custom fields on the Purchase Line table.
2) I cloned the header Standard API with APIGroup and APIPublisher.
3) I cloned the order lines Standard API, I added the custom fields with the trigger on the OnValidate and extended the source table (Purch. Inv. Line Aggregate).
The GET call on Postman works, I see the fields, but the custom fields are not valued.
Is there any code to add to make them pass from the Purch. Inv. Line to the Purch. Inv. Line Aggregate?
I’m not clear on this point.
Thanks!
The custom fields on the Purchase Line are correctly written to the Purch. Inv. Line Aggregate (or any other related table).
Use code to transfer values between these tables, either in the OnValidate trigger or via a custom procedure
Ensure that field mapping is handled correctly during posting or invoicing
Thanks, Ramesh
If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
André Arnaud de Cal...
294,125
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator