Customization DS1413
Auto-Create POs and link to Sales Orders
Problem Definition:
ACME uses True Commerce EDI and imports an 850 PO Document. This creates a batch of Sales Orders each day. ACME needs to create POs for each sales order and create a link between the sales line and PO line.
Solution Overview:
There will be no user interface for this enhancement. A progress bar will appear to indicate the enhancement is working and a report will print at the end to display the linked sales orders and purchase order information.
See the section below for details of the solution.
Design Features:
Creating POs from Sales Batch Entry
Navigation: Transactions >> Sales >> Sales Batches >> Additional Menu >> Create POs
When the enhancement is installed, an Additional menu option called Create POs will appear on the Sales Batch Entry window.
The user will enter or select a sales order batch from the lookup.
The enhancement will:
- Ask the user “Are you ready to create and link POs?” Answering “YES” will kick off the process.
- Validate that the document type is ORDER (Other document types such as back orders and invoices will be skipped.)
- Validate that there are no links present. If one or more lines on a document are already linked to a PO, the document will be skipped. The report that prints at the end will identify this error.
- If the sales document passes the above validation, a new PO will be created. There will be one PO per Sales Order. The PO will have the following details:
- Type = Drop-Ship
- PO Number = Next Available
- Vendor ID = ‘001264’ (This is hardcoded)
- Ship To Address ID = Customer Ship To Address ID from the Sales Order
- Required Date = Sales Order Requested Ship Date
- Mark the PO to Allow Document Commitments.
- Once the PO is created, the enhancement will loop through each sales line where the Item Type is Sales Inventory, and do the following:
- Mark the line as Drop-Ship
- If the Item is serial/lot tracked and is fulfilled, the line will be unfulfilled
- If the line has been allocated, unallocated inventory
- Set the line quantities to Back Order
- Add a matching PO line to the new PO
If the Sales U of M is not a valid Purchase U of M, then an error will be reported and the line will be skipped.
- Create a SO-PO link
- Add a line to the report that prints at the end
- After all sales orders have been processed, a report will print that either lists an error condition or the SO-PO link information.
Assumptions/Requirements:
- The functionality described above will not work with eConnect, any software that uses eConnect, or any software that directly writes to, updates, or deletes from SQL tables.
- The functionality described above is intended for the GP Desktop client.
- National Accounts functionality is NOT used.
- Advanced Distribution functionality is NOT used.
- Multi-bins is NOT enabled.
- Multi-Currency is NOT used.
- Unless otherwise noted in this document, reporting is not included in this estimate.
- Unless otherwise noted in this document, Word Template functionality is not addressed.
- Unless otherwise noted in this document, the enhancement will not integrate with 3rd party products. Some examples of 3rd party products would be:
- An ISV plug-in product including WilloWare products
- A dexterity customization designed by another developer
- Dynamics GP Modules including, but not limited to:
- Project Accounting
- MDA
- Analytical Accounting
- Copy functionality found in SOP, POP and Inventory
- Field Service
- Extended Pricing
- Manufacturing
For information on this design, or any other WilloWare customization or product, please contact us: