0% found this document useful (0 votes)
398 views7 pages

How To Pick-Release SO For Reserved.

A user is trying to use APIs to pick-release only the reserved quantity on a sales order line, not the entire ordered quantity. When they use existing APIs, it picks the whole order. The discussion provides suggestions to use the WSH_PICKING_BATCHES_PUB.CREATE_BATCH and WSH_PICKING_BATCHES_PUB.RELEASE_BATCH APIs instead, which allow specifying an option to only pick reserved quantities. Code samples are requested to demonstrate how to group reserved lines from multiple orders into a single delivery using these APIs. In the end, the user confirms the batch APIs worked for their requirement.

Uploaded by

sagarbolisetti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
398 views7 pages

How To Pick-Release SO For Reserved.

A user is trying to use APIs to pick-release only the reserved quantity on a sales order line, not the entire ordered quantity. When they use existing APIs, it picks the whole order. The discussion provides suggestions to use the WSH_PICKING_BATCHES_PUB.CREATE_BATCH and WSH_PICKING_BATCHES_PUB.RELEASE_BATCH APIs instead, which allow specifying an option to only pick reserved quantities. Code samples are requested to demonstrate how to group reserved lines from multiple orders into a single delivery using these APIs. In the end, the user confirms the batch APIs worked for their requirement.

Uploaded by

sagarbolisetti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

How to pick-release SO for reserved...

Saravanan Vijayasundaram 796 posts since Jan 24, 2014


How to pick-release SO for reserved quantity only using API Nov 17, 2016 12:10 PM
Dear Experts,
Please consider below example,
A sales order line is having an ordered quantity as 3 and reserved quantity as 1.
Currently we are using API#1 to auto create delivery & API#2 to pick-release the delivery.
When we do so, the entire ordered quantity (3) is getting pick-released.
API#1 : WSH_DELIVERY_DETAILS_PUB.AUTOCREATE_DELIVERIES
API#2 : WSH_DELIVERIES_PUB.DELIVERY_ACTION (with action code 'PICK-RELEASE')
But our requirement is to pick-release reserved (1) quantity only. Kindly advise the possibility.
Thanks,
Saravanan
Tags: pick release api

BenN-Oracle 63 posts since Jan 18, 2014


Re: How to pick-release SO for reserved quantity only using API Nov 17, 2016 12:41 PM
Hello Saravanan,
Please test the same scenario through the form and see whether it picks the entire quantity as well. Since the
API will utilize the same code and functionality as through the form, the expected process must work through
the form first before it can be implemented in the API. Thanks.

Prashant Pathak -Oracle 1,467 posts since Dec 19, 2013


Re: How to pick-release SO for reserved quantity only using API Nov 17, 2016 1:47 PM
You may try following approach if it works for you

WSH_PICKING_BATCHES_PUB.CREATE_BATCH => To Create Batch


WSH_PICKING_BATCHES_PUB.RELEASE_BATCH => To Pick Release

Create Batch API has an input parameter: Batch_Info_Rec Type . This record type has one more sub
parameter i.e. Existing_Rsvs_Only_Flag. You can pass the value as Y to this and re-test.

Kind Regards,
Prashant Pathak

Km-Oracle 1,854 posts since Jan 18, 2014


Re: How to pick-release SO for reserved quantity only using API Nov 17, 2016 4:52 PM

1
How to pick-release SO for reserved...

Hi Saravanan

Just a couple of points in addition to the feedback already provided

01. If you are testing via release sales order form and want to pick release just the reserved quantity/reserved
lines, you will need to ensure that the "prior reservations" check box is checked

02. You may also want to review the MOS Document - Pick Pack and Ship Scenario Using Shipping
Application Programming Interface (Doc ID 602302.1)

Regards
Krishna

Saravanan Vijayasundaram 796 posts since Jan 24, 2014


Re: How to pick-release SO for reserved quantity only using API Nov 18, 2016 1:28 AM
in response to Km-Oracle
Hi Krishna,
We have created a pick release rule with 'prior reservation' checked and using it for manual releases.

When we release using this rule via shipping transaction form, the corresponding delivery detail id is getting
split into 2 lines.

2
How to pick-release SO for reserved...

One line with the reserved quantity (1) and the other line with unreserved quantity (2).
Only the line with reserved quantity is having delivery number and the list status is 'Staged/Pick Confirmed'.
For the other line with out reserved quantity is not assigned to any delivery and the line status is 'Ready to
Release'.
Actually this is our expectation too when we do it using API.
Kindly advise.
Thanks,
Saravanan

Saravanan Vijayasundaram 796 posts since Jan 24, 2014


Re: How to pick-release SO for reserved quantity only using API Nov 18, 2016 2:06 AM
in response to BenN-Oracle
Hello Ben,
It is working as expected while manual release.

Thanks,
Saravanan

Saravanan Vijayasundaram 796 posts since Jan 24, 2014


Re: How to pick-release SO for reserved quantity only using API May 22, 2018 12:58 PM
in response to Prashant Pathak -Oracle
Hi Prashant,

3
How to pick-release SO for reserved...

Currently, we are using Release 12.0.4.


I have reviewed below documents as per your suggestion.
How to use API wsh_picking_batches_pub.create_batch ? (Doc ID 1290692.1)

In real case, we have multiple sales orders with partial reservations and we wanted to group those reserved
lines into a single delivery and then proceed to pick-release.
Need your kind advise whether the suggested API works for this scenario. If so, kindly help to provide any
sample code that works for this case.

Thanks,
Saravanan

Prashant Pathak -Oracle 1,467 posts since Dec 19, 2013


Re: How to pick-release SO for reserved quantity only using API Nov 18, 2016 3:05 AM
in response to Saravanan Vijayasundaram
Hi Saravanan,

Yes, This API is not only applicable for 12.0 but also for 11.5.10.

Oracle Order Management


Open Interfaces, API, & Electronic Messaging Guide
Release 11i
Part No. B14446-01

chapter: Oracle Shipping Execution Public APIs,


section: Pick Release Application Program Interface

where there is a lot more information regarding pick release API.

Kind Regards,
Prashant Pathak

Saravanan Vijayasundaram 796 posts since Jan 24, 2014


Re: How to pick-release SO for reserved quantity only using API Nov 18, 2016 4:09 AM
in response to Prashant Pathak -Oracle
Hi Prasanth,
Thanks for the confirmation.
In real case, we have multiple sales orders with partial reservations and we wanted to group those reserved
lines into a single delivery and then proceed to pick-release.

4
How to pick-release SO for reserved...

Need your kind advise whether the suggested API works for this scenario. If so, kindly help to provide any
sample code that works for this case.
Thanks,
Saravanan

5
How to pick-release SO for reserved...

Saravanan Vijayasundaram 796 posts since Jan 24, 2014


Re: How to pick-release SO for reserved quantity only using API May 22, 2018 12:59 PM

6
How to pick-release SO for reserved...

in response to Prashant Pathak -Oracle


Hi Prashant,
It is working now as per our requirement after using batch create/release API.
Thanks for your help.

Thanks,
Saravanan

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy