How to Ship Partial Quantities using an API - Oracle Order Management

Hi,
In Order Management I need to ship the Internal Sales Order Lines partially using an API.
I have done full shipping but if I trying the partially shipping it is also shipping fully.
I am unable to find the problem. Is there any set up missed?
How to do partial shipping.
I am giving the some part of the code please look into it and suggest me.
----**************************UPDATEING SHIPIN ATTR ***************************-------------
I_changed_attributes (X_count).delivery_detail_id := cos.delivery_detail_id;
I_changed_attributes (X_count).shipped_quantity := cos.shipped_quantity;
X_ship_date := cos.act_shipped_date;
X_slaes_order := cos.sales_order;
X_org_id := cos.org_id;
wsh_delivery_details_pub.update_shipping_attributes ( p_api_version_number => 1.0
,p_init_msg_list => I_init_msg_list
,p_commit => I_commit
,x_return_status => O_return_status
,x_msg_count => O_msg_count
,x_msg_data => O_msg_data
,p_changed_attributes => I_changed_attributes
,p_source_code => I_source_code
----***************************SHIP CONFIRM API ***************************-------------
I_action_code := 'CONFIRM';
I_sc_action_flag := 'B'; --'S'; -- Ship entered quantity. 'B' - Ship Entered Quantities, Backorder Unspecified
--'T' - Ship Entered Quantities, Stage Unspecified'A' - Ship All'C' - Completely Backordered
I_sc_intransit_flag := 'Y';
--In transit flag is set to 'Y' closes the pickup stop and sets the delivery in transit.
I_sc_close_trip_flag := 'Y'; -- Close the trip after ship confirm
I_sc_trip_ship_method := X_ship_method_code; -- The ship method code
I_sc_defer_interface_flag := 'Y';
I_sc_stage_del_flag := 'Y';
I_sc_create_bol_flag := 'N';
I_wv_override_flag := 'N';
-- API Call for Ship Confirmation
fnd_file.put_line(fnd_file.log,'Calling WSH_DELIVERIES_PUB to Perform Ship Confirmation');
fnd_file.put_line(fnd_file.log,'=============================================');
wsh_deliveries_pub.delivery_action ( p_api_version_number => 1.0
, p_init_msg_list => I_init_msg_list
, x_return_status => O_return_status
, x_msg_count => O_msg_count
, x_msg_data => O_msg_data
, p_action_code => I_action_code
-- , p_delivery_id => cos.delivery_id
, p_delivery_name => G_delivery_name
, p_sc_action_flag => I_sc_action_flag
, p_sc_intransit_flag => I_sc_intransit_flag
, p_sc_close_trip_flag => I_sc_close_trip_flag
, p_sc_create_bol_flag => I_sc_create_bol_flag
, p_sc_stage_del_flag => I_sc_stage_del_flag
, p_sc_trip_ship_method => I_sc_trip_ship_method
, p_sc_actual_dep_date => X_ship_date --P_act_shipped_dt
, p_sc_defer_interface_flag => I_sc_defer_interface_flag
, p_wv_override_flag => I_wv_override_flag
, x_trip_id => O_trip_id
, x_trip_name => O_trip_name
----***********************************************************************--------------------

Hi Shesh,
Thanks you for your replay.
I am tried Shipping transaction screen but here the ware house is WMS enabled I tried Oracle Mobile Terminal application to do this, but it is not accepting the partial shipping. May be some set up required or the process will be differ.
I will try your suggested API's .
Regards,
Prasanna
Edited by: 843676 on Apr 23, 2012 10:31 PM
I am not able to do the Partial Shipment or Backorder as mentioned above API's, but it is split the lines and all the lines are in same state (Awaiting Shipping)
Edited by: 843676 on Apr 24, 2012 2:45 AM

Similar Messages

  • How can I prevent any use to update Purchase order if status was "Approval"

    I have some users can update any purchasing order update after "Approval"
    Please I would any Purchasing oracle module expert to Assist me to get way to solve problem.
    How can I prevent any use to update Purchase order if status was "Approval"?
    Further Information :
    Oracle Allpication Release : 11.5.9
    Oracle Purchasing Module.
    Oracle Data Base: 11i
    Khaled,

    Try writing a personalization on the PO screen that adds the following condition to the where clause
    "and authorization_status !='APPROVED'
    However, I will be careful with a blanket restriction like this. There are situations when you need to modify an existing PO. So you should code some exceptions for this rule.
    Hope this helps,
    Sandeep Gandhi

  • Oracle Order Management/Shipping - Kewill (Export Complaince) Integration

    Hi All,
    Any one has done integration between Oracle Order Management/Shipping - Kewill (Export Complaince).
    We would like to check customer inforamtion and shipping inforamtion using Kewill (Export Complaince).
    This is export Complaince requirement and want to validation inforamtion at order booking time and before shipment.
    We don't want to use any third party application.
    Thanks
    Ravi

    Thanks Chris,
    I have done Oracle E-Business Suite Order Management/Shipping - Kewill Export Complaince integration using Oracle's Web services.
    Now i can do customer check realtime and put order on hold.
    Thanks for your response.
    --Ravi Triipathi
    [email protected]
    [email protected]

  • How do you update the schema password from Oracle Enterprise Manager...

    How do you update the schema password from Oracle Enterprise Manager...

    Or do you mean, change the SYSMAN's password?
    If this is the case, I suggest you to refer to this link --> EM HowTo Reset sysman Password
    ~ Madrid

  • How to send automated mail using Weblogic API ,,,,,, NOT Java Mail API.

    Hi All,
    I need to send an automated mail using BEA Weblogic API, can you please let me know how to accomplish this task,
    I will be heartly thankful to you,
    waiting for your response back
    naveen

    does it uses weblogic API ,, is thre any other way to do the task apart from email controls ,,,, because we are using timers and email control uses event genrators.

  • How to create Downpayment Invoice using DI API in SAP B1 2005 version?

    Hi there,
    I appreciate anyone that can suggest me how to create a down payment invoice using DI API in SAP B1 2005 version? What is the object that we need to use? I can't find any object to achieve this
    Many Thanks,
    Harianto Ng

    the object is SAPbobsCOM.BoObjectTypes.oDownPayments, but if i remember correctly this object wasnt exposed in DI for 2004 and maybe for 2005 too.

  • How to invoke the JwscTask using Ant Api

    Hi,
    I need to invoke the weblogic JwscTask <jwsc> from a java class using Ant API, one way to do this is to write a build.xml file with the specified ant task and use the appropriate Ant api, whereas my requirement is to directly create a Task object and run the task how should one go about doing the same as the JWSCTask API is not open.
    Thanks in advance
    Regards,
    Preethi

    Hi,
    I will agree with Martin on first you should take a step back and see the business drive for the use case but stil if you have to do it below is my thought to fire disable/enable task.
    1.Insteed of firing a particular enable/disable task its better to enable/disable the resource.
    2.To enable/disable the object instance you can use enableAppForUser()/disableAppForUser() method of tcUserOperationIntf which will in end will fire enable and disable task.
    To kick of update task I will suggest to update the form field usingsetProcessFormData() method if tcFormInstanceOperationsIntf which will in result will kick of the update task.
    Hope this will help.
    Regards
    Nitesh

  • How to access Task details using BPM API for substituting user

    Hi Expert,
    I need one help, we have a requirement, in which I wanted to access the BPM task details of a user which is substituting user using BPM API.
    Substituting user's name is not exist in Potential owner of Task. That’s why Using method "getMyTaskAbstracts(Status)" we cant acess those task which assigned by Substited user.
    Kindly let me know if there is any way, we can get task details of the task which assigned by substituted user to substituting user.
    Regards
    Div

    Pl use this api.
    getTaskAbstractsForMySubstitutedUsers.There are couple of variations u can use.
    Thanks
    Manish

  • How to read inline feed using android api for odata

    Hi,
    Need help on reading inline feed using android api. BB and iOS supports inline but for android there is no api.
    Please suggest the workaround
    Regards,
    Satish

    This link is very useful:
    Knowledge Management and Collaboration (KMC)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
    Patricio.

  • How to install OID connector using OIM API in 11g?

    Hi All,
    We are using OID connector in OIM 11g environment. It is a simple process to install OID connector by unzipping the connector zip file to ConnectorDefaultDirectory and goto Admin console and load the connector.
    However, we are looking for API methods to simulate "load the connector " step in GUI.
    Please help.
    Thanks
    Mahendra.

    Hey Mahendra,
    I am not aware of this API to do the 'Deployment Manager' load task. But III try to help you using another way:
    1-You can use ICF API to do this task(creating it specifically to OID). Using ICF: http://www.groenenberg.nu/Oracle_Doc/AS_11.1.1.5/doc.1111/e14309/icf.htm#BABFDJHJ
    2- And following this example that my buddy did for Open DS: http://itnaf.org/2011/12/30/developing-icf-connectors/
    Another helpful doc: http://docs.oracle.com/cd/E14571_01/doc.1111/e14309.pdf
    I hope this helps,
    Thiago Leoncio.

  • How to create RMA lines using OE_ORDER_PUB API

    Hi All,
    We are trying to create RMA lines using OE_ORDER_PUB API but every time API creating <b>Standard Order Line</b> line type in application.
    My program is creating order header as a <b>Return Order</b>, i am passing corrent line type ids (1028 - RMA Shipment, 1027 - RMA Receipt) but oracle API is creating Standard Order Lines (ID 1001).
    Can any one tell me about that?
    Thanks
    Ravi
    null

    Check the defaulting rules setup. Defaulting rule will derive the line type based on the order type and shippable flag etc.
    Also check the line flows assigned to the order type in transaction types window.
    Thanks / Bhaskar Akkala

  • How reset Acrobat form field using javascript API

    How reset Acrobat form field using javascript API

    There are several ways:
    resetForm(["Text1"]);
    or
    getField("Text1").value = getField("Text1").defaultValue;
    George

  • How to monitor heap size used in OPP in order to protect Out of Memory

    My objective is to know how much heap size currently use so I can handle or do something before user got error report.
    The following sql statement just determine what the heap size per OPP process is currently setting:
    select DEVELOPER_PARAMETERS from FND_CP_SERVICES
    where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES
    where CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
    Now OPP heap size is set to 1.5G.
    Thanks

    Hi Sam,
    Please review the following note, as it might help you!!!
    Tuning Output Post Processor (OPP) to Improve Performance (Doc ID 1399454.1)
    R12: How to Configure the Account Analysis Report for Large Reports (Doc ID 737311.1)
    Thanks &
    Best Regards,

  • How to Migrate VM Server pool to Other Oracle VM Manager

    Hi,
    I want to move oracle server pool from One Oracle VM Manager to other VM manager.
    Can any one help me on how to migrate vm server pool to other VM Manager.
    Thanks & Regards
    YJR

    Hi,
    unfortunately I don't know of an easy supported way.
    The process itself is pretty similar to migrating serverpools to Enterprise Manager as described in this note:
    Migrating from Oracle VM Manager to Enterprise Manager Grid Control (Doc ID 807091.1)
    With the exception that you simply register the new pool in a new manager and then have to rediscover all VMs.
    So overall it is a simple "delete serverpool" and "create serverpool" with additional import of virtual machines.
    If during this steps a problem arise, you still can deconfigure everything and reregister with the new manager (with the help of cleanup.py).
    Regards
    Sebastian

  • How to create numeric attribute using ABAP API

    Hi experts
    I'm trying to create a numeric attribute for a taxonomy table. In the how-to-examples there are only ways to create text attributes.
    Those who have tried, please let me know the steps.
    I have given below the code snippet which i tried to create numeric attribute. Please let me knw the missing link.
    ls_num_attr_val-rating = 500.
        APPEND ls_num_attr_val TO ls_ext_attr_info-characteristics.
      ls_ext_attr_info-attr_info-attr_id-id = lv_attribute_id.
           APPEND ls_ext_attr_info TO lt_ext_attr_info.
        GET REFERENCE OF lt_ext_attr_info INTO lv_data.
        ls_namevalue-value = lv_data.
        ls_namevalue-code = 'ACCT'.
        APPEND ls_namevalue TO ls_parameter-name_value_pairs.
        lv_string = 'Customer 12'.
        GET REFERENCE OF lv_string INTO lv_data.
        ls_namevalue-value = lv_data.
        ls_namevalue-code = 'CUST_NAME'.
        APPEND ls_namevalue TO ls_parameter-name_value_pairs.
        CALL METHOD lr_api->mo_core_service->create
          EXPORTING
            iv_object_type_code = 'ACCT_TYPE'
            is_parameter        = ls_parameter
            iv_parent_id        = 0
          IMPORTING
            ev_new_internal_id  = lv_key.
    Thanks
    SwarnaDeepika
    Edited by: SwarnaDeepika on Dec 19, 2009 4:38 PM

    Hello Ashok,
    [here|https://help.sap.com/javadocs/MDM/current/com/sap/mdm/examples/CreateField.html] is the Java API of the needed command.
    There is also an example of how to create a field. You can use the class by replacing the strings for the server, repository, table, etc. to your needs.
    If you want to create more than one field, simply use a loop, like the for-loop, while-loop, etc.
    Hope this helps.
    Best regards
    Dominik

Maybe you are looking for

  • I have an ipod mini....and I have an Ipod jack in my 2007 Honda Accord

    My Ipod mini will not play in my car but my son's Ipod touch does. The handbook in the car says I need a Ipod later then generation 3 or 4 I cannot remember is there anyway to fix or update to newer software??

  • How to Minimize Java Applications

    how to mininize my java apps for nokia 2700 classic Moderator's Note: This post was edited. A more appropriate subject was provided. Solved! Go to Solution.

  • Creative Cloud Membership - PS & LR

    What else is included? When I open the Creative C;oud App, it lists a slew of other Apps, like Illustrator, Dreamweaver, Premiere Elements....I Also get emails from Adobe saying "New benefits added to your Creative Cloud membership" and listing apps

  • PM Notification: User-Define Values for Reported By and Tech Inspected by

    Hi Friends, My user wants the name to be filled in the field Reported by and Tech inspected by in the Notification Should be from a dropdown list. Please suggest some solution, any customer exit or user exit. Regards Pankaj Verma

  • HT204053 Can I merge 2 Apple id's?

    I appear to have been using 2 Apple ID's. Is there a way of merging them into just 1 account, rather than having to actually delete/close 1 down? As I'm not sure what products, apps and software are associated with which account?