Hi,
I've created an dataport(export) and a codeunit.
The idea is to do an export and keep track of what was exported.
Here is what I'd like to do:
1) Dataport is used to set filters on a record (via requestform)
2) The record is passed to the codeunit which writes the data in a table (log)
3) The export to text file occurs
4) If export succeded then commit the transaction (insert)
5) If export failed then the transaction is not commited
Is it possible to implement?
Thanks
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I passed a wrong parameter from the dataport to the codeunit so the filter was empty for the dataport but it made sense in the codeunit. That's why the codeunit worked and the dataport did not.