I am looking for a way to run ‘Make Order’ on multiple Sales Quote’s. This could be hundreds of Sales Quote orders waiting to become sales orders depending amongst other things on the value of the field ‘Payment Method Code’ I have looked into CodeUnit 83, and I am basically looking for a way to ‘feed’ this codeunit with all sales quotes that match the criteria (for example Payment Method Code =‘BANK’ Eventually I will put this code in a push-button, or run it fra o scheduler. I am running Navision Native ver 3.70 A Any suggestions please ? …Bjarte
Hi, You want to create one-to-one sales order from sales quote based on criteria then it will require little bit customization.(You can call the same function used in Make-to-Order from quote screen in a loop for every sales quote which satisfy the criteria). If you want to create one sales order from many quote based on criteria then it will be little bit tricky. (You have to check for Bill-to Customer, Sale-to Customer and other criteria…).
Jaiswal, I want to create one-to-one sales order from sales quote based on some criteria. But I’m not sure how to set up a loop to call CU83 with every sales quote that match my criteria … the ‘Make order’ push button seems to call CU83 by referencing the CU in the Runobject property for the button. …Bjarte
Hi, You can loop through all Quotes, you want to make to an Order and Call CU 86 “Sales Quote to Order” for every single Quote. This Codeunit is called within CU 83 for the Quote you call it from. But in CU 83 you are asked via CONFIRM if you want to make an Order for every single Quote and i think if you want to loop through hundreds of quotes you do not want to be asked for every Quote, if you want to make it to an Order. Hope this helps. Regards, Frank