BATCH Create Sales Order=>Purch. Order=>Post & Inv

oleschjoeth
Member Posts: 74
Hi,
I want to create a batch function based on a sales quote. The idea is to automate and simplify the process for the persons reciving a customer order.
The flow should be like this: From Quote, create order using 'copy doc', then for each order line create a purchase order (if various vendors), post purchase order as received, post sales order as shipped and invoiced, then post purchase order as invoiced and finally print the sales invoice.
My plan is to create this batch in a processing only report. I am aware of the code units 80/81/82 and 90/91/92 for posting. However, I am uncertain about which parameters to send to these codeunits and to which functions within them? Since I do not have a developers license I can not actually see the way it is done on e.g. the Sales Order form.
Perhaps one of you have done something similar???
Thanks,
Ole
I want to create a batch function based on a sales quote. The idea is to automate and simplify the process for the persons reciving a customer order.
The flow should be like this: From Quote, create order using 'copy doc', then for each order line create a purchase order (if various vendors), post purchase order as received, post sales order as shipped and invoiced, then post purchase order as invoiced and finally print the sales invoice.
My plan is to create this batch in a processing only report. I am aware of the code units 80/81/82 and 90/91/92 for posting. However, I am uncertain about which parameters to send to these codeunits and to which functions within them? Since I do not have a developers license I can not actually see the way it is done on e.g. the Sales Order form.
Perhaps one of you have done something similar???
Thanks,
Ole
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions