Need to create a Purchase Order from a Sales Order

dvd_geezer
dvd_geezer Member Posts: 2
edited 2004-02-20 in Navision Attain
Hi everyone,

I'm new to this and have been tasked to add a button to the Sales Order form which will automatically create a Purchase Order and populate it with the Sales Order field values but only if the SO has been confirmed(I've already added the boolean to the SO header). What would be the correct way to enable the PO creation? Any help is greatly appreciated.
- Geezer

Comments

  • StephenG
    StephenG Member Posts: 99
    Hi geezer

    Have a look at Code Units 86 "Sales Quote to Order" or Code Unit 96
    "Purch Quote to Order" this should give you some pointers. :)
    Answer the question and wait for the answer.
  • giulio.cipo
    giulio.cipo Member Posts: 77
    Hi,

    you could use the standard function "special order" .
    with this setup you have to setup the purchaising table, insert this information in filed Purchasing Code and after run the requisition worksheet function special order.

    This is a standard soluction without write code.

    Bye