Hi,
I have created an API (BC16.5 version), where I have header and lines in my definition.
After the retrieval of the last line I want to do some processing-code. But how do I trigger this?
On a normal page I would use the OnClosePage()-trigger, but that is not possible on an API Page.
Is there another way?
Just to sum up the scenario:
I receive one header with three lines. After the last line I want to post the header and lines all together.
I hope there is a pretty solution. Otherwise the "ugly" solution would be to add a "lastLine" Boolean-field to the lines, and when this is set to true, I would do the processing code after I handle the line.
Best regards,
Kristian
0
Answers
No, I do not believe that is an option. The header & lines I only got working by using Microsoft BC API. OData did not work correctly with the lines.
/Kristian