Hi,
I am attempting to enter data into the general journal using a dataport. I validate the account no on the OnBeforeImportRecord in order to get the preset posting groups.
However, I also want to import a global dimension and a description different from the account name. The validation of the account no is deleting the imported value in case of the dimension and replacing it by the account name in case of the description.
Any ideas on how I could solve this?
0
Comments
Dataports do not work properly in navision.
Rather use Integer as Dataitem and variables as DataFields.
Then onafterimportrecord trigger
write code to create the genjournal.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
here's one to start
http://www.mibuso.com/forum/viewtopic.php?t=23061
http://www.BiloBeauty.com
http://www.autismspeaks.org
I found one of your earlier posts which was really helpful.
I tried validate("Document No.") in various triggers without any succes.
Thanks for any help!
Rgds,
Jon.
Jon.
I tried that before, but as it's not allowed to add manual number series to journal entries that doesn't really work. I would have to keep track of the numbering outside of Navision, which can be a bit hard as there might be adjustments between the imports. Or I am getting this completely wrong :roll: ??
That's why I thought it's easier to get the current number from the system...
Any other suggestions? :-k
Rgds,
Jon.
Jon.