I Have a problem. We are building a webshop. How we can autpmated to put data in navision tables (Sales Header, sales laine, Items...) when client made order in webshop?
The Webshp is using another SQL database, so after order, system should import in table Item a product and update Sales Header andSales line table.
What kind of solution i need? ](*,)
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Then you you should create a single instance codeunit and call it in the NASHandler funtion in codeunit 1 like: in the REPEAT statement, just like the:
In your codeunit you could query the other database for the data you want and then create the sales lines and headers...
Arhontis
https://forum.mibuso.com/search
Then in the Timer::Tmer(Milliseconds:Integer) trigger that is created in your codeunit should add your code (or in functions that are called within that trigger)...
I hope you got the general view of a NAS implementation...
Arhontis
https://forum.mibuso.com/search
Here is the change in CU 1 in NASHandler function I'm using JOBSCHEDULER as my string parameter for NAS
Here is example on how to create a sales Header. You have to put this in a Codeunit and maybe call it from single instance codeunit.
And here is how to create a sales line.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
MVP - Business Apps
I suggest to use the CGTimer. It's the same thing but it comes std with 5.0 and 2009.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
MVP - Business Apps