Apply 2 vendor ledger entries with code

livingdolllivingdoll Member Posts: 45
edited 2012-03-20 in NAV Three Tier
Hi,

In order to have an working invoice interface with a third party scanning solution, I have to be able to apply two vendor ledger entries with each other (an invoice with a creditmemo). I have to offer a webservice that can do this. I know about deploying webservices, I'm just lost on the applying bit :-)

I have discovered that I have to use the gen. journal line in combination with the vend ledger entry table in which records are marked by means of the Apply-To ID field, but I can't figure out how to do it exactly...

Could someone point me in the right direction how to do it? A (simplified) code example would be great.

Best regards,

Josh
Sign In or Register to comment.