Automate

 View Only
  • 1.  Confirmed Quantity - BAPI_SALESORDER_CREATEFROMDAT2

    Posted 02-02-2024 13:39
      |   view attached

    Hey Friends,

    I am trying to either pull in confirmed quantity or the "note schedule lines" indicator when orders are created. If the "note schedule lines" box is checked, either pulling in that indicator or pulling in the confirmed quantity for each line item. I have yet to find the correct trigger. I have thought about possibly needing to run a query after the orders are created, however if I can do it all in a single script, that would be the preferred path. 

    Detail I am looking to pull in at order creation:

    OR

    #bapi 



    ------------------------------
    Vanessa Kutasi
    Foundation Admin./Application Analyst II
    Idexx Operations, Inc.
    USA
    ------------------------------

    Attachment(s)

    Txr
    Create_SalesOrder_Pacrim.Txr   871 KB 1 version


  • 2.  RE: Confirmed Quantity - BAPI_SALESORDER_CREATEFROMDAT2

    Employee
    Posted 02-02-2024 19:16

    Hi Vanessa

    I couldn't find that field in the BAPI - maybe I didn't look hard enough? 

    You should be able to do it in a Transaction script.  Simple example attached.  And I made an assumption that you were only interested in the first row of the schedule lines for confirmed quantity.

    Hope that helps,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------

    Attachment(s)

    xlsx
    VA01_20240202_155934.xlsx   5 KB 1 version
    Txr
    VA01_20240202_155934.Txr   1002 KB 1 version


  • 3.  RE: Confirmed Quantity - BAPI_SALESORDER_CREATEFROMDAT2

    Posted 02-05-2024 13:18
      |   view attached

    Hi Sigrid,

    We moved to BAPI for order creation a couple years ago due to the amount of unpredictable pop-ups. However, I wasn't thinking and had only locked in on a query. So, thank you for suggesting VA01, as I have been able to create a VA02 script (attached) which gives me what I am looking for. I appreciate your help!



    ------------------------------
    Vanessa Kutasi
    Foundation Admin./Application Analyst II
    Idexx Operations, Inc.
    USA
    ------------------------------

    Attachment(s)

    Txr
    VA02_ConfirmedQuantity.Txr   616 KB 1 version


  • 4.  RE: Confirmed Quantity - BAPI_SALESORDER_CREATEFROMDAT2

    Employee
    Posted 02-05-2024 13:31

    Excellent, Vanessa! 

    And thanks for sharing your example, in case it helps someone else!

    Best Regards,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------