Sales return against invoices with batches.

01.11.2010
Hi friends,
We are using BOM for materials. During delivery batches are determined and in the invoice i have the main material with zero quantity and zero value,  followed by the lines with the batches determined and the components.
In case of returns i want to copy each of the batch line followed by the corresponding BOM quantity.  For eg. if the delivery quantity was 50 and 3 batches were determined of 10,15,25 then in the sales return i want the line with the batch quantity 10 and the components, followed by the batch line with quantity 15 with their components and finally the quantity 25 followed by the components for 25 nos. How can this be achieved.   Please suggest.
Regards,
Uday

Hi
You have to create your own data transfer routine for this. This routine is to be used in the copy control from invoice to order.
Regards,
Torben

Similar Messages

  • Sales return before invoice generation

    Hi Experts,
    can we take material return before invoice generation
    sales order -
    >delivery----
    >sales return -
    > actual invoice
          10 nos                    10 nos                  2 nos                              8 nos
    for example sales order 10 quantity, delivery 10 quantity but 2 quantity damaged returned 2 quantity by customer good recived 2 quantity then at the end we generate invoice of 8 quantity. this is done to avoid creating credit memo a number of time.
    looking for your reply
    Regards,
    subhro.

    this is done to avoid creating credit memo a number of time
    When there is a standard procedure to create a credit memo for returns, I dont know why you want to deviate this which is not at all recommended.
    If creating credit memo is a regular process for your client (ideally it should not be the case), you can consider giving a BDC for the same.  Instead avoiding creation of credit memo is not adviceable.
    thanks
    G. Lakshmipathi

  • Sales Return Process-Invoice(Credit Memo) with ref. to delivery

    Dear All,
    I am doing sales return process.
    Sales Order-RE
    Delivery-LR
    Invoice-RE,
    with ref. to sales order it is allowing me to create invoice.
    But,with ref. to delivery it is not allowing.
    It is giving "The document is not relevant for billing".
    I have changed item category  REN for delivery (A) related billing.
    Also changed req. copy control setting.
    Can anybody guide on this issue.
    Best Regards
    Sainath

    Hello,
    Normally return credit memo will be generated with reference to the retrun order, and that is the standard SAP process. Do you have any specific requirements to have the credit memo with reference to a retrun delivery?
    The Item category REN Billing Relevence will be B as per SAP standard, if you wish to have a delivery related credit RE, the make this to A .
    Maintain the Delivery to Billing Copying control in VTFL for LR --> RE, add the item categroy REN.
    Maintain the copying requirements for header as 3 Header Del Rel and for item as 4 Deliv-Related item .
    Once these setting are done, then check whether the RE billing type is triggering from LR?
    Prase

  • Problem adding Sales Invoices with batches

    Hi,
    I am trying to create an invoice with a batch component which is returning "Cannot add row without complete  selection of batch/serial numbers".
    I can add these lines manually using teh UI but not via the DI Server.  The relevant <BOM> section is shown below.  The only mandatory element seems to be <BatchNumber> and I have tried it with just that element and with combintaions of them all.  I have also tried adding a <LineNum> to the main <Document_Lines> section in case it needed this to tie up with teh <BaseLineNumber> (which I have als tried leaving out).
    I have extarcted a GetByKey for a manually entered one and I cannot see the problem.  Any help would be appreciated.
    Nick
    <BOM>
    <BO>
    <AdmInfo>
       <Object>oInvoices</Object>
    </AdmInfo>
    <Documents>
       <row>
          <CardCode>C000002</CardCode>
          <NumAtCard>Order #12979</NumAtCard>
          <Confirmed>tYES</Confirmed>
          <DiscountPercent>0.000000</DiscountPercent>
          <PayToCode>Aidann Bowley</PayToCode>
          <ShipToCode>Aidann Bowley</ShipToCode>
          <ContactPersonCode>34</ContactPersonCode>
       </row>
    </Documents>
    <Document_Lines>
       <row>
          <ItemCode>BM25-15</ItemCode>
          <Quantity>1.000000</Quantity>
          <PriceAfterVAT>6.000000</PriceAfterVAT>
       </row>
    </Document_Lines>
    <BatchNumbers>
       <row>
          <BatchNumber>WEBTEST</BatchNumber>
          <ManufacturerSerialNumber/>
          <InternalSerialNumber/>
          <ExpiryDate nil="true"/>
          <ManufacturingDate nil="true"/>
          <AddmisionDate>20140428</AddmisionDate>
          <Location/>
          <Notes/>
          <Quantity>1.000000</Quantity>
          <BaseLineNumber>0</BaseLineNumber>
       </row>
    </BatchNumbers>
    </BO>
    </BOM>

    Hi
    Please enter your thread in SDK Forum
    SAP Business One SDK
    Thanks
    Mohammad Imran

  • Sales return - Excise invoice from depot

    Dear all,
    We are having a sales return scenario in depot which we are executing in following way.
    1) Return sales order 2) Delivery against sales order 3) PGR 4) Credit memo 5) Capture of excise invoice in J1IG against the material document posted in PGR with reference to original excise invoice.
    But when we are again creating an outgoing excises invoice from depot i.e. re-selling the same material to other customer system does not show the excise invoice in list of inward invoice.
    Request to please let us know if we have missed out on a step/ configuration to ensure that the customer return excise invoice is visible to re-sell the material from depot.
    thanks & regards,
    mahesh

    Dear  Lakshmipathi,
    Thanks for the reply, did go through the thread that you have suggested before i posted this one.
    Just wanted to know that we update the register with material document number posted for transfer of material from one storage location to another which is customer return to finished storage location and not with the PGR material document number?
    5 Create Transfer posting in MB1B with movement type 453, storage location 0005 and save
    6 Note down the material document reference
    7 Go to J1IG to reverse excise issue posting
    thanks and regards,
    mahesh.

  • Cutting checks against invoices with a later date

    A question/issue from a customer.
    They post AP invoices with future dates. Problem is, SAP would not allow them to cut a check for invoices that were posted at a later date than the check posting date.  Any idea how to get around this?
    thanks
    Simon

    Ok thanks I guess the answer is that they can't do that it.
    Not sure I agree with your statement though. If you incur a charge for using software maintenance contract for 2009, then that should hit P&L in 2009. if they book that in 2008, they will have double charges from 08 and 09.
    Anyway, I dont mean to start a discussion on this. Thanks for the response. you have answered my question.

  • Problem with Free of Charge Sale Returns against Cost Center

    Dear All,
    The problem is related to Free Sales which is as follows -
    I have issued free of charge against Cost Center & now I want to know whether any process is there or configurations can be done to return the free of charge issued goods along with the cost center. As in the order in header level while doing return the cost center is not getting reflected.Again in the outbound delivery creation mode  also at the item detail level under the "Financial Processing" tab the cost center field is present but it is greyed out/ inactive.
    Please suggest what are the configurations needed to create returns of the Free Of Charge goods against Cost Center.
    Looking forward to early replies.
    Thanks & Regards
    Priyanka Mitra

    Hello Mr. Lakshmipathi,
    First of all thanks for your help.As per your suggestion I have maintained the Cost Center against the Order Reason in OVF3 and it is getting reflected in the Sales Order but whenever I am keeping the field of Cost Center blank in OVF3  the "Cost Center " is remaining inactive &#38; not even displayed in Sales Order.Instead the system is asking for WBS element.
    Now I want to know is there any configuration possible so that the Cost Center field will be reflected in either Sales or Delivery Order as blank space &#38; not greyed out which will be filled up manually.
    Plesae suggest.
    Thanks &#38; Regards
    Priyanka Mitra

  • Return against Invoice

    I have made a A/R Invoice for 5 books and dispatch it to customer. After one month custoemr is returning one book, if we trying to return it back through Return it is not showing the A/R Invoice it is only showing Delivery Note.
    How it can be against the invoice generated for that item.
    Pls. provide the sol. or any work around.

    Once a document is Invoiced you could only issue a Credit Memo.  A return referencing an Invoice could not be created.  Depending on whether the Invoice is paid or not you could do one of 2 things.
    If the Invoice is paid, create a Return for that Item .........this will reduce your COGS and increase Inventory by putting it back to stock.  If you want to credit the customer for this book then copy Return to Credit Memo.
    If the Invoice is Open then copy only one item to Credit Memo ...........a Credit Memo does 2 things one return the items to stock and also credits the customer for that item
    Suda

  • Sales Returns with batch split.

    12.10.10
    Hi friends,
    I have created a sales return against invoice with multiple batches for a BOM item.  During returns the returns have created individual lines for each of the batch and the components are also available as per sales bom. The components are dependent on the main item and since the main items are in multiple lines when changes are done the components are not adjusted accordingly. Please advise how to solve this problem.
    Regards,
    Udaynath.

    12.10.2010
    Reazuddin thanks for the reply. Yes this is a complex scenario.
    Its the main matierial which is physically moved out from stock.
    The billing and pricing is done at the component level, the main material as well as the components are available in the billing document.
    The problem is with the returns against invoice. When the return order is maed it has the  main material say with line 10 without batches and quantity.
    The batches are copied with the quantity as line number 11,12 ...
    So when the quantity is changed in the lines containing batches,  the changes are not carried out in the components as the components are referring to line 10.
    The issue is when there are multiple batches. Can you please advise on the scenario.
    Regards,
    Udaynath.

  • MIX sale return problem(query not giving required result)

    i have written following query which is running sucessfully.the concept behind this query is to get a exact quantity of sold items after subtracting the sale return from the sale.now the problem is that when user take sale return against invoice then this query providing ok result but when user take sale return against MIX items not knowing exactly the invoice then query is not showing result means not subtracting MIX sale from sale.please help me to get required result from this query.
    i m using oracle 9i with developer 6i
    select s.price,s.item_code,S.DESCR,
    sum(decode(d.MONno,01,NVL(S.QTY,0),0)) JAN,
    sum(decode(d.MONno,02,NVL(S.QTY,0),0)) FEB,
    sum(decode(d.MONno,03,NVL(S.QTY,0),0)) MAR,
    sum(decode(d.MONno,04,NVL(S.QTY,0),0)) APR,
    sum(decode(d.MONno,05,NVL(S.QTY,0),0)) MAY,
    sum(decode(d.MONno,06,NVL(S.QTY,0),0)) JUN,
    sum(decode(d.MONno,07,NVL(S.QTY,0),0)) JULY,
    sum(decode(d.MONno,08,NVL(S.QTY,0),0)) AUG,
    sum(decode(d.MONno,09,NVL(S.QTY,0),0)) SEP,
    sum(decode(d.MONno,10,NVL(S.QTY,0),0)) OCT,
    sum(decode(d.MONno,11,NVL(S.QTY,0),0)) NOV,
    sum(decode(d.MONno,12,NVL(S.QTY,0),0)) DEC,
    sum(S.qty) TU
    FROM
    (select nvl(sales_detail.qty,0)+NVL(sales_detail.bonus,0) as qty,
    sales_detail.item_code AS ITEM_CODE,stock_reg.price price,
    stock_reg.descr AS descr,
    s_date as sale_date FROM
    SALES_DETAIL,SALES_HEADER,STOCK_REG
    WHERE SALES_DETAIL.S_ID = SALES_HEADER.S_ID AND
    SALES_DETAIL.STOCKCODE = STOCK_REG.STOCKCODE AND
    STOCK_REG.COMCODE=:COM AND
    STOCK_REG.GROUPID = :GID
    UNION ALL
    SELECT -1*QTY,ITEM_CODE,PRICE,DESCR,SALE_DATE FROM
    (select nvl(sales_detailR.qty,0)+NVL(sales_detailR.bonus,0) as qty,
    sales_detailR.item_code AS ITEM_CODE,stock_reg.price as price,
    stock_reg.descr AS descr,
    RETURN_date as sale_date FROM
    SALES_DETAILR,SALES_HEADERR,STOCK_REG
    WHERE SALES_DETAILR.SR_ID = SALES_HEADERR.SR_ID AND
    SALES_DETAILR.STOCKCODE = STOCK_REG.STOCKCODE AND
    STOCK_REG.COMCODE=:COM AND
    STOCK_REG.GROUPID = :GID
    UNION ALL
    select  -1nvl(sales_detailR.qty,0)+NVL(sales_detailR.bonus,0) as qty,*
    sales_detailR.item_code AS ITEM_CODE,stock_reg.price as price,
    stock_reg.descr AS descr,
    RETURN_date as sale_date  FROM
    SALES_DETAILR,SALES_HEADERR,STOCK_REG
    WHERE SALES_DETAILR.SR_ID = SALES_HEADERR.SR_ID AND
    SALES_DETAILR.STOCKCODE = STOCK_REG.STOCKCODE AND
    SALES_HEADERR.S_ID = 'MIX' AND
    STOCK_REG.COMCODE=:COM AND
    STOCK_REG.GROUPID = :GID)) S,
    (select level as MONno
    from dual
    connect by level <= 12) d
    where d.MONno = to_char(s.sALE_date, 'MM') AND trunc(S.SALE_DATE,'MONTH') BETWEEN TO_DATE(:FDATE,'MMYY') AND TO_DATE(:TDATE,'MMYY')
    GROUP BY S.ITEM_CODE,S.DESCR,S.PRICE
    ORDER BY S.DESCR ASC

    Gaurav,
    Can you print all the binding variables and update the ouput here.
    And I didn't get this date format 'dd-mon-rrrr', normally it will be like 'dd-mon-yyyy' right?
    Thanks,
    With regards,m
    Kali.
    OSSI.

  • Sales return with warranty and without!

    Hi,
    I have a scenario like sales return,
    2 cases, with warranty and without warranty
    I need your guidance on controls,
    1st case with warranty,
    Stock has been taken in to the plant with respect to sale return order.
    I generate service order SM01 (Non revenue generated)
    Maintain operations and material
    goods issue and operation confirmation
    technical completion.
    Now I run DP90 for resource related billing. And need to control that service order cost does not go to billing document. But I don't want to bill the customer.
    Please correct me, I only settle my service order and leave it. How should I go about it. Please help me.
    2nd case, when there is no warranty,
    I create a service order SM02 (revenue posting allowed)
    Maintain operations and material
    Then run DP80 to generate quotation and confirm quotation.
    goods issue and operation confirmation
    technical completion.
    Run DP90 for billing the customer.
    Could you please suggest me if I need to make any changes to this. If so, which part of it (SPRO) i need to configure.
    And as per my understanding if service contract exist then it will help to determine fixed price in with out warranty case.

    Hi,
    Yes I could able to run DP90 though I don't declare the order as revenue based. Infact the if refurbishement order (SM03) has to trigger automatically from sales order RA. Infact if it is revenue based we canot even generate it from sale order.
    You can even refer to this following link which states that cycle.
    [http://help.sap.com/saphelp_46c/helpdata/en/e6/4a8df09e0311d189b70000e829fbbd/frameset.htm]
    I have only doubt during this process billing is based on DIP profile. But how does pricing procedure is coming in to picture. And how and where to link Pricing procedure. Please guide me. And from one of my collegue came to know that accounting Indicator can be used to get discount condition in pricing procedure so, that when we run for Warranty cycle we can bring that condition to get 100% discount through KBM1 condition type.
    Regards,
    N,Nagaraju

  • Sales Return Process at Depot with RG23D Update

    Hi,
    Can anybody give me complete process for Sales return at depot with RG23D register update ?
    Thanks in advance...........
    Sanjay

    Hai sanjay,
    1) create return order in depot
    2) return delivery
    3) when u create return delivery Goods receipt document generates
    4) enter the goods receipt document in J1IG and enter the excise values manually with reference to header excise condition values from return order and update depot register.
    As when return comes depot register has to be updated with value and quantity. then create credit memo to customer.
    Regards
    Saju

  • Customer sales returns

    Dearr Gurus,
    A coil with batch no 09xxxx was sold to a particular customer 100002 with order no 21000120. and after somtime there was a sales return for that same batch n0  09xxxx with ref to another customer order 31000134 . This i believe is wrong how do i put this under check so that a batch that was sold to a customer can only come back into the system only through the same  customer alone.
    Thanks

    We have two Options :-
    1. We can make Returns Sales Document Type mandatory with reference to Sales Invoice.
    2. Secondly , we can make changes in Copy Control settings in VTAF at Header Level.Use Routine 3 Bill.header partner.
    I suggest you to go as per the second option because as the Business process , we can't make Sales invoice Type mandatory.
    Best Regards,
    Ankur

  • Customer sales return - excise inv creation issue

    Dear expert,
            We are testing the "Customer sales Return" scenario for one of our client. Our process is,
    1. Create sales return order (VA01) with ref or without reference
    2. Create return delivery (VL01N)
    3. Perform Post goods Receipt (VL02N)
    4. Create Credit Note (VF01) - Here in this case we are differ. We are creating the "Credit Note" with reference to return delivery not with ref to sales return order
                   Since we planned to create the credit note with reference to "Return delivery", we have defined the CIN related customizing as "Assign Billing Types to Delivery Types".
               Then we tried to create the excise Invoice using Transaction J1IIN. But we are getting the error message as
                                  Billing document 3134000001 does not exist
                                  Message no. 8I422
    Kindly give your suggestion to overcome this issue.
    Warm Regards,
    Nag

    Dear Experts,
             Thanks for your quick response.
    Yes, already we maintained the billing relevance field in item category maintained as "A" & Copy contorl in VTFL also. Due to this we can able to create the "credit Note" in Transaction VF01. But during excise Invoice creation only we are facing the above mentioned issue.
    Feedback for the response from SDL:-
                     Yes, we came to know that, for customer sales return process we need to raise a JV only not the excise invoice creation in J1IIN. But we are in the assumption that, this scenario is applicable of we are creating the "Credit Note" with reference to return sales order.
                 But in our case, we are creating the "Credit Note" with reference to "Return delivery". Since delivery is involved in the process we are in the assumption that we can able to create the excise invoice using J1IIN after maintaining the configuration in the "Assign Billing Types to Delivery Types" area.
    Please give your valuable feedback on this.
    Warm Regards,
    Nag

  • Excise duty credit in custmore sales return

    Hi Experts
    When we receive the sale return from customer we follow the below process.
    Create sales order with order type sales return
    Create return delivery. It create stock for return material.
    VF01 Accounting entry pass in customer account.
    J1IH for cenvat credit.
    My question is that can we take this cenvat with reference to VF01 document  or any other document. I don't want to do J1IH. I I get cenvat by J1IH it show excise invoice due list.
    Regards
    Parkash

    Hi Parkash,
    Please go through the below links there are lot of threads on sales returns excise capturing.
    Go through the forum rules of engagement.
    Excise duties not flowing while creating return excise invoice
    SALES RETURN J1IH
    Excise Returns
    Sales return excise invoice
    Regards,
    S.Himavanth.

Maybe you are looking for

  • Pass data from excel sheet to pl/sql Procedure as parameter.

    Hello, I am using ORACLE Database 11g and RHEL 5. I have a procedure in my database which will update the required table for one value, which users passes from the front end (Java). Now i want to modify it to update multiple records in "BULK". I have

  • How can I activate Creative Suite on my new macbook pro - i have the codes.  Error 150:30

    How can I activate Creative Suite on my new macbook pro... they weren't deactivated on my old computer which is in for repair and will be restored to factory settings?  Thanks.

  • Microsoft Query - ODBC Remedy DB

    Hi ALL , Am using Microsoft Query ODBC  to connect to the BMC Remedy from excel . Now am stuck in a situation i wish to automate it but for that i need to provide a function that works like getdate() in sql server or sysdate in oracle . Please let me

  • Error message trying to connect to LDAP

    Error creating class for plugin: com.macromedia.contribute.server.plugin.ldap.Users Config. No property for plugin_ldapUsers/userBranches Anyone have this error before and if so, what exactly does it mean? None of my network guys can figure it out. H

  • Kalender Synchronisation mit Outlook funktioniert nicht mehr

    Seit der Installation von Itunes 11.1.0.126 funktioniert die Kalender-Synchronisation mit Outlook 2010 über USB nicht mehr. Der Synchronisationsprozess mit dem Kalender läuft zwar, aber es werden keine Daten ausgetauscht. Alle anderen Sychronisatione