Quantcast
Channel: Oracle Business Applications » Order Management
Viewing all articles
Browse latest Browse all 5

R12 OM: Autocreate delvieries across sales orders and launch pick release using APIs

$
0
0

This post is one possible solution for this question in this thread in the forums. The requirement was to auto-create deliveries across the sales orders and launch pick release for the same. When pick releasing is completed, it should create one picking batch (move order) for all these deliveries.

Here are the steps to follow to test the script.

  1. Create an item with and assign it to an organization (M1)
  2. Create inventory for the same by receiving quantity using Miscellaneous Receipt in inventory.
  3. Add item to the price list.
  4. Create four different sales orders with different ship to addresses for this item. 
  5. Book the orders. Scheduling happens.
  6. Now if you navigate to the shipping transactions screen you will see that delivery details are created with the status of Ready To Release for all these orders.
  7. Take all the delivery details for each of these orders.
  8. Pass them as parameter to the first script that is available here.
  9. Once this script is completed, you should see the deliveries are created and assigned to these delivery details. Since all these orders have different ship to addresses, obviously different delivery ids are created.
  10. Now use the second script to launch the pick release.Download the script here.
  11. This will kick off a concurrent request for Pick Selection List Generation program.
  12. Once request is finished successfully, you will see a same move order is created for all the lines.

Of course you can do the same using the screen.

After the step 6 from above use the steps below:

  1. If your order numbers in range pass then in From order to To order in the shipping transaction screen and click Find button.
  2. You should see four lines (since each order has one line only)
  3. Keep the cursor on the first line
  4. Hold the shift key
  5. Mouse click on the last line
  6. This will select all the lines (highlighted in blue)
  7. From actions use Autocreate Deliveries and press Go
  8. This will create deliveries for all the four lines (different delivery numbers)
  9. Select all the lines again as described above
  10. From actions Launch Pick Release and Go
  11. This will kick off the Pick Selection List Generation program

Remember to review your Delivery Grouping Rules, Pick Releasing Rules, Pick Slip Grouping Rules (assigned to the pick releasing rules)  for the organization where you are going to auto-create deliveries and launch pick release. They play a huge role in this process.

Even if you do not run the first script, second script will call autocreate deliveries (done in the fist script) and then launch pick release automatically. Give it a try.

Please note that for the second script (to launch pick releasing) I had to use group API (wsh_interface_grp) as I could not find any public API for the same. If you find one and tested it successfully, please share here. But the for the first one I used public API wsh_delivery_details_pub.autocreate_deliveries.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images