xmlPort difficulty adding up lines and exporting as one amou

tabularasatabularasa Member Posts: 22
Hello

I have created an xmlport that has the following structure
Node Name Node Type Source Type Data Source
PExport Element Text <PExport>
JobJournalLine Element Table <Job Journal Line>(Job Journal Line)
EmployeeName Element Text <EmployeeName>
EmployeeId Element Text <EmployeeId>
PayType Element Text <PayType>
Amount Element Text <Amount>

In the on after get record on the jobjournal line I add up the amount for each employee for different Pay Types. This I would like to export with multiple lines for each employee. So far I have only been able to get one line for each job journal line. Any Ideas.

Comments

  • tabularasatabularasa Member Posts: 22
    Basically I need a direction on how to assign the results from my calculations to the xmlports variables.
  • kinekine Member Posts: 12,562
    Find correct trigger, assign the value into variable associated with the correct element. Where is the problem? ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.