Unable to create delivery with zero quantity

Hello,
I am trying to create a Delivery using DIAPI. When I set the quantity as zero for a line item. The Delivery Note gets created with quantity 1.
I am able to create a delivery with no quantity from SBO client.
SAPbobsCOM.Documents vDLN = (SAPbobsCOM.Documents)c.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes);
            vDLN.CardCode = "C20000";
            vDLN.Lines.SetCurrentLine(0);
            vDLN.Lines.ItemCode = "A00001";
            vDLN.Lines.Quantity = 0;
            if (0 != returnval)
                c.GetLastError(out errNo, out errMsg);
                Console.WriteLine(errMsg);
                return;
Thanks and Regards,
Sheetal

It is DIAPI bug Note - 1001970
DI - Wrong Quantity updated when creating delivery document
The note 1001970 has not been released yet but should be soon.
This issue is candidate to be fixed in Business One version 2006
Regards,
Sheetal

Similar Messages

  • Create delivery with 0 quantity

    Hi Experts,
    What is configuration setting required if delivery needs tobe created with 0 quantity.
    Regards
    Gali

    Hi,
    Maintain the confirmed quantity and delivery quantity as " 0" in the sales order for schedule lines.
    Also Goto 0VLP(Zero VLP).Select your item category.Details.
    Maintain blank for the field Check quantity 0.
    Regards,
    Krishna.

  • Unable to create delivery with reference to STO

    Hi,
    Facing this error while creating del with ref to the STO.
    Configured the following:
    maintained shipping data for both receiving and supplying plants
    shipping point dertermination
    material extended to the sales area
    Document is incomplete: You cannot save the delivery
    When the system checked whether saving delivery was permitted, it determined that the requirements stored in Define Incompletion Procedures for this document do not allow this subsequent function.
    Please suggest
    regards
    Joseph

    Hi,
    Please check for master data - Vendor master of supplying plant for receving plants purchasing organisation and also supplying plant in additional data in purchasing tab in vendor master
    Customer master for supplier's sales organisation
    Check if shipping point, ship to party / customer, delivery type picked in sto properly
    Check for the STO set up in SPRO
    Delivery type assignment for supplying plant
    if everything is ok, Create delivery in VL10B for sto, if it errors, check for log clicking on log icon
    give error description
    Regds

  • STO delivery with zero quantity

    Hi Gurus,
                   We are facing a problem in STO scenario. We are in ECC 6.0. We have settings for WM (Warehouse Management) are in place.  STO is created. When trying to create a delivery the system is creating the delivery document but it is not picking the quantity. Is anyone ever faced this problem? Please let me know if you can suggest any solution to this problem.Suitable points will be rewarded to the helpful answers.
    Thanks and Regards
    Kapil

    Hi,
        We are using following transactions -
    Create Outbound delivery T-code VLI0B
    Create Transfer Order T-code VL06O
    Confirm Transfer Order T-code LT23
    Create Goods receipt at site w.r.t. STO or delivery
    Please note we doing intercompany tranfer using STO. Now the problem which we are facing is- We are able to create replinishment delivery using VL10B  and the delivery and the material document is being created but the delivery quanity is zero. Purchase Order history of the PO gets updated with the material document number but with the delivery quanity as zero. Please let me know if you know the solution for this problem. It is very very urgent. Any help will be appreaciated and helpful answers will be rewarded.
    Regards
    Kapil

  • How to create delivery with lesser quantity than Scheduling agreement

    HI all,
    I have one Scheduling Agreement SCHDMNT1 with ITEM A and Qty 100. Now i want to create 2 deliveries against this Agreement i.e DEL1 - ITEM A QTY 40 and DEL2 - ITEM A QTY 60. How to achieve this while manually entering the deliveries. What are the settings required. I also want to create such multiple deliveries against one Sales Order. What are the Configurations required to aceive this functionality.Replies will be highly appriciated.
    Thanks and Regards,
    Manish Khare.

    Hi Manish,
    When creating DEL1 change the qty of 100 for 40 and save the delivery.
    When creating DLV2 QTY appears 60.
    I wait to have helped.
    H. Terras

  • Intercompany Deliveries were created with zero quantity, causing an idoc failure and the remaining delivery too

    Intercompany Deliveries were created with zero quantity, causing an idoc failure and the remaining delivery too
    a. User trying to create delivery but stock not available.
    b. When stock is not there it should show an error message in SAP screen but its not -  like stock not available etc
    c. Fedex gets delivery notice for the delivery; if its more than zero it will create delivery otherwise less than zero it won’t accept.
    d. But issue its creating even its less than zero
    Is there anyone who can help me out...

    When one is created with zero quantities it starts blocking our deliveries from getting through to fedex because deliveries will in doubt have been blocked at fedex. As we process our orders in morning and if there is an STO blocking orders, it will be in afternoon .
    Any suggestions !!!

  • Create item delivery with zero or total quantity (even if available stock)

    Hello!!
    My requirement is create a item delivery with zero or total quantity, but not only the stock available at this moment. The item only will have 2 possibilities: 0 quantity or total quantity of the sales order.
    Example of the current process:
    Material M-10: Stock available: 2
    M-10: Item in sales order: 6
    M-10: Item in delivery: 2  --> should be 0!!!
    Material M-20: Stock available: 10
    M-20: Item in sales order: 5
    M-20: Item in delivery: 5
    In M-10, quantity in item delivery should be 0. (my category item delivery allows quantity 0).
    Do you know if there is some customizing for this requirement? All quantity from sales order or 0 in delivery item.
    Thanks in advance,
    Jen

    Hi,
    for complete delivery:
    Entering the Indicator
    There are two places where you can enter this indicator:
    Customer master record
    This indicator belongs to the shipping data for a customer within a sales area. You enter an X in the Complete Delivery field on the shipping screen of the customer master record. The indicator is copied into the order header.
    Order header
    You can also enter the indicator X in the Delivery field on the business data screen of the order header.
    If you try to partially deliver an order to which you have assigned a complete delivery indicator, the system will inform you that the customer requires complete delivery of the order. All items must be delivered at the same time. The items cannot have different delivery deadlines.
    If the system cannot include all the items with the total order quantity in the delivery, you receive a message that the customer requires full delivery.
    If you enter the complete delivery indicator X, you must set the partial delivery indicator to C (no partial deliveries allowed).

  • Purchase order with zero quantity

    Hi all,
    When a replenishment delivery is ceated in product view, APO automatically creates purchase order with zero quantity and the replenishment delivery's receipt element. APO does not transfer the purchase order to R/3. Do you have an idea about the problem?
    Thanks,
    Burak

    Plese try to send change pointer through /SAPAPO/C5 - Process Change Pointers .
    Also check your publication setting in Spro.( Maintain Distribution defination )
    Manish

  • How to create Deliveries with lesser quantity than sales order quantity

    HI all,
    I have one Scheduling Agreement SCHDMNT1 with ITEM A and Qty 100. Now i want to create 2 deliveries against this Agreement i.e DEL1 - ITEM A QTY 40 and DEL2 - ITEM A QTY 60. How to aceive this while manually entering the deliveries. What are the settings required. I also want to create such multiple deliveries against one Sales Order. What are the Configurations required to aceive this functionality.Replies will be highly appriciated.
    Thanks and Regards,
    Manish Khare.

    Hi,
    In the customer master, you have to select more than one delivery allowed.
    While creating delivery with reference to your sales order, the total quantity will be copied to delivery, just the change the delivery quantity and picking quantity that u want to deliver and do the PGI.
    Against reference the same SO, now the remaining qty will default in the delivery. In this way u can have multiple deliveries for the same SO.
    Hope this helps.
    Thanks,
    Viswanath

  • Unable to create delivery using ADSUBCON

    Hi Gurus,
    I am unable to create delivery using ADSUBCON transaction for the PO which has material with different Order Unit. My base unit of measure is EA where as the Order unit is Roll. If I delete the order unit system allows me to create delivery where the PO.
    Why the system does not allow me to create the delivery when the order unit is different than base unit of measure.
    Thanks in advance,
    Shashidhar
    Edited by: Shashidhar on Jan 29, 2011 5:19 AM

    HI,
    Its already been  maintained.
    Shashi

  • How to create Delivery with sales order FM/BAPI

    Hi Gurus,I'm new to  SAP  platform
    I have created sales order ,
    with this i need to create Delivery(vl01n)
    so i need to give 'Shipping Point','Selection Date','SD Number'
    so could any one tel me which FM/BAPI is suitable to create
    Outbound delivery with 'sales order number', 'Selection date' and
    "Plant or Shipping Point'.
    With these Import parameters i need  FM/BAPI .
    Thanks  in Advance
    Siva Kumar kasa.

    I   have created delivery  with  that  BAPI 
    giving   'batch number'  but  it was  not  updated,so  can u tel me
    any related field  which need give to change batch field  also.

  • Materials with Zero Quantity in Stock

    Hi Experts,
    I am preparing a Customized Stock Summary Report.
    I have two queries.
    1. How do i find Materials with Zero quantity in Stock????
    Is searching for MATNR based on MENGE value 'SPACE' correct way to go about it?
    2. How do i find number of same materials in the same plant ?????
    Points will be awarded for the helpful answers.
    Cheers
    Gaurav Raghav

    Hi Vineet,
    Thanks for the quick solution.
    I got point 1.
    Just confirm whether i understood it correctly.
    If a search for MATNR based on Field LBAST i.e Valuated unrestricted-use stock in table MARD, i will get all materials with Quantity Zero.
    Have i understood correctly????
    I guess i was not clear with my second point.
    let me try once more.
    My selection criteria is based on Plant.
    Therefore i guess same materials under PS & JS are redundant.
    So i want to display SKU excluding all Deleted Materials.
    How do i go about it???
    I have already coded to select deleted materials.
    Cheers
    Gaurav Raghav

  • Function Module to create Delivery with JIT Calls

    Hi SAP Guru's,
    We are working on SAP 4.6C version.
    I am looking for a function module to create delivery with JIT Calls.
    We are currently using the SAP standard function module "SHP_VL10_DELIVERY_CREATE" to create Delivery with JIT Calls. Each JIT Calls has apx 60-80 materials in it and each material refers to a unique Scheduling Agreement. This function module is taking very long time in production server to create delivery, it does not take much time in dev or quality server.
    We have JITV setting profile (For Sold To Party and Partner Description Profile) set as RELACE (to summarize the line items in JIT Call).
    Is there another function module that we can use to create delivery with JIT Calls?
    Thanks in Advance,
    Amit

    Hi there,
    There is no such function module.
    Regards
    Sanju

  • Item with zero quantity.

    Hi ,
    I need a SQL query which returns all the items with zero quantity.
    In mtl_system_items_b am not finding any quantity column.
    I have written a query.will you please let me know whether it works or not.
    select b.segment1,0
    from
    inv.mtl_system_items_b b
    minus
    SELECT b.segment1,m.TOTAL_QOH
    FROM APPS.MTL_ONHAND_ITEMS_V m,
    inv.mtl_system_items_b b
    where b.inventory_item_id=m.inventory_item_id
    and nvl(m.TOTAL_QOH,0) >0
    Thank you.
    Regards,
    Neeraja.I

    Hi,
    try with this query,
    select
    msi.INVENTORY_ITEM_ID
    , msi.DESCRIPTION
    from
    MTL_SYSTEM_ITEMS_B mis
    , MTL_ONHAND_QUANTITIES moq
    where mis.INVENTORY_ITEM_ID =moq.INVENTORY_ITEM_ID
    and moq.TRANSACTION_QUANTITY <>0
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Excisable items with zero Quantity

    Hi,
    Posting Invoice for Non-Excisable item with zero Quantity is allowed, How to get the same with the Excisable Item ?
    Thanks And Regards
    Vivek

    Hi Jimmy,
    Thanks for ur response,
    I m working on SAP B1 PL34 and also checked in PL05, Is there any way to achieve that facility in Invoice Document?
    And if u find any notes for it then plz give me the link.
    Thanks and Regards,
    Vivek

Maybe you are looking for