Does any one know how to recognize the last row of an import? I am trying to have it insert a particular account number at the end of the import to balance the GL batch. Thanks
Solved
how to recognize the last row of an import
Best answer by Gabriel Michaud
- Use a second import scenario that takes care of inserting the AR account for transactions. This requires no programming or customization, but if this is something you schedule you will have to take care of running the second scenario after the first one.
- Build a relatively simple customization that inserts/updates the AR line automatically upon save of the entry. you need to override the Persist() function of the graph and do your logic there. I would suggest running this only when Base.IsImport == true or to add a checkbox in the screen that you set via your import scenario to indicate that the AR line should be added/updated automatically on save.
- If your logic starts getting too complex, you could consider a 100% custom processing screen. This is more work but will ultimately give you total control over the processing.
Regards,
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.