Multiple Sales Order Duplication
qngo
Member Posts: 58
I'm having a problem where I need to generate a X amount of sales orders per a customer request. I would like to use the functionality of Copy Document for a Sales Order to copy the Header Info. but I need a way to generate X number without having to do Copy Document X number of times. I'm trying to create a report using Repeat..Until to generate, but is there a way to copy the header information with having to define each field. Like SalesHeaderRec := "Sales Header", I'm using INCRSTR("No.") to increment the Sales Order number X number of times. Any Ideas? ](*,)
0
Comments
-
This sounds like a good fit for blanket orders. Have your solution center explain this to you.0
-
qngo wrote:I would like to use the functionality of Copy Document for a Sales Order to copy the Header Info.
it sounds like you just "really need" a bunch of sales headers for this customer and the lines are not important.
Is this the case?0 -
I can't really use a Blanket oder because the customer is requesting a range of sales orders i.e. SO000001 - SO000050 to be assigned to them. Blanket order was an option, but does not work for customer.0
-
Here's another thought - We used a dataport to create mass orders by vendor using the item table. Perhaps a version of it can work here too.
First you create a dataport that exports the sales header & line's to a file
c:\myfile.txt
Then you can use the dataport to import the order back in with a loop for the number of times you need a copy.
SalesHeader.INSERT will take care of the order numbers.
Put a Command button on your sales order form or add a menu item to access the dataport.
whaddaya think?
Note: this is a very basic description, but it should work.0 -
If you're looking at custom development anyway, I'd try to capture the generic requirement that you could apply to more customers. It would be possible to assign a numbering series to a customer that will be used for that customer only that could be used in the 'make order' function off of the blanket order. Then again, a quick report to create an x number of orders could also be done.0
-
DenSter wrote:Then again, a quick report to create an x number of orders could also be done.
yeah, that too 8)window.OPEN('No. of copies #1########.'); IF window.INPUT(1,Copies) <> 0 THEN BEGIN window.CLOSE; YourReport(Copies,TRUE,FALSE); blah blah EXIT; END; window.CLOSE;0 -
qngo wrote:I'm having a problem where I need to generate a X amount of sales orders per a customer request. I would like to use the functionality of Copy Document for a Sales Order to copy the Header Info. but I need a way to generate X number without having to do Copy Document X number of times. I'm trying to create a report using Repeat..Until to generate, but is there a way to copy the header information with having to define each field. Like SalesHeaderRec := "Sales Header", I'm using INCRSTR("No.") to increment the Sales Order number X number of times. Any Ideas? ](*,)
You could decide to do SalesHeaderRec := "Sales Header", or use transferfields but that is only true when the customer card did not change meanwhile. Suppose your copy starts out of a sales order 6months ols and meanwhile the accounting department decide to change payment terms on the customer cards => you will be using the wrong settings.
Just write in code what a user would do => call the no series mngt function to get a new number out of the no series. Validate sell-to and bill-to and maybe some other fields. And put this in a repeat until.0 -
Nah it's even easier than that. Do INSERT(TRUE) x number of times, and blank out the No. field before each INSERT.0
-
Never mind0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
