Is there some kind of a standard Sales Invoice import?

rookierookie Member Posts: 3
edited 2004-06-15 in Navision Attain
I do not know Navision at all as I am SAP consultant but one of my customer uses both SAP and Navision and their Navision consultant does not seem to be the brightest one around ... :-(
Anyway, my question is - is there some kind of a standard to import data into sales and process it as regular sales invoices. What we are trying to do is to import sales data from POS and then let Navision calculate cost of goods sold.
As much as I have understood from this forum we could use dataport to import the data but what I am looking for is the way to call Navision "function" that "creates sales invoice" based on the imported data.

Regards.

Comments

  • RobertMoRobertMo Member Posts: 484
    the create function you are looking for would be your dataport. this means that data can be imported directly into sales header and sales lines tables. During import you must take care of validating fields (cheking of validity, table relations, inital values for fields are set, some fields are aditionaly filled acording to inputed data, etc.) no big deal for navision programmer/developer. and the consultant should also know which fields are necessary to successfully enter and correctly post sales invoice...

    btw. at the end you can call the posting routine if you are sure your data is ok...
               ®obi           
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  • rookierookie Member Posts: 3
    Thanks for the info.
    I was just wondering if the posting also starts the "subroutines" if I can call then like that, of posting the cost of goods sold too - so that I would end up with sales posting that is based on imported data and cost posting that is based on that sales invoice?


    Regards.

    Peeter
  • RobertMoRobertMo Member Posts: 484
    yes your dataport should "mimic" invoice entry as normal user would enter it manually.
    then posting routines should be called (as user would press posting button) - ok to be honest your call is a bit deeper in posting routine to skip questions like "do you want to post invoice"...

    BTW. Codeunit 80 is the one you should call for posting. Let us know if you need more details.
               ®obi           
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Sign In or Register to comment.