XMLPort question

JNavJNav Member Posts: 12

I just had my first encounter with XMLPorts. I understand the basic use, where you declare elements, add some code if needed and run it from CodeUnit for example. But now I have to use it in a report where concrete calculations are done for each line on OnAfterGetRecord. So the question would be - is it possible to populate my xml line by line on each AfterGetRec or I have to save the values in temp rec or an array and create the xml on post report?


  • ara3nara3n Member Posts: 9,255
    in XMLPOrt you can have a table as datasource. Once you add that, you'll see onaftergetrecord for export and import. you can add your code in there.
    All variables exported are text so after you do your calculation you will need to format it correctly.
    Ahmed Rashed Amini
    Independent Consultant/Developer

    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.