From this thread, @utaylor and I did a little testing.
I wrote up a a little function to add bulk releases to sales orders.
This function:
- Reads in some CSV data
- Converts it to a DataTable
- Breaks it into Orders
- Breaks it into Lines
- For each order - Turns OFF “Ready To Process”
- For each line - Add Releases (Updates Release 1, adds remaining releases)
- Turns ON “Ready To Process” for Order
- Logs it all to the System Monitor
This IS NOT a finished product.
This IS NOT a finished product.
This IS NOT a finished product.
It required these two libraries:
SalesOrderTesting.efxj.txt (124.8 KB) <-Remove.txt
SysTaskMonitorLib_V2.efxj.txt (10.9 KB) <-Remove.txt
Make sure you add your company to the security tab for the libaries.
Inside the SalesOrderTesting Library, there is a function called DataHolder.
The sales order release data is stored in the notes section of that function.
You edit it, and paste in data in this format: (Remove all text first)
Company,OrderNum,OrderLine,OrderRelNum,ReqDate,SellingReqQty,ShipViaCode,UseOTS,OTSName,ServRef1,OTSContact,OTSAddress1,OTSAddress2,OTSCity,OTSState,OTSZip
MS67964,263499,1,1,7/28/2023,500,ROB,1,TestName,,TestContact,TestAddress1,TestAddress2,Monroe,LA,71202
MS67964,263499,1,1,7/28/2023,500,ROB,1,TestName,,TestContact,TestAddress1,TestAddress2,Monroe,LA,71202
MS67964,263499,1,1,7/28/2023,500,ROB,1,TestName,,TestContact,TestAddress1,TestAddress2,Monroe,LA,71202
MS67964,263499,1,1,7/28/2023,500,ROB,1,TestName,,TestContact,TestAddress1,TestAddress2,Monroe,LA,71202
MS67964,263499,1,1,7/28/2023,500,ROB,1,TestName,,TestContact,TestAddress1,TestAddress2,Monroe,LA,71202
This function assumes the order exists and it has lines. Also that One Time Ship To is enabled for the customer.
After that, we ran the function AddSalesOrderReleasesTest2 from Schedule Epicor Function
You will see this in the System Monitor in Classic:
.
Here are the results (VERBOSE) from @utaylor . 1000 Releases:
Elapsed Time: 13:04:183 Total Process Time (Minutes:Seconds:Milliseconds)
UTaylorTest.xlsx (88.7 KB)


