Generation of Invoice based on a Business Condition

Hi Folks
I am facing a scenario where a F2 invoice is generated however when there is a specific " Ship to Party " used in the Sales Order , system should also generate a Pro Forma Invoice Automatically along with a F2 invoice.
How can we generate two different types of invoices and then can we state some condition in the config to block or allow generation of a specific type of Invoice?
Regards
Waz

Hi,
IMG --> Sales and Distribution --> System Modification --> Routines --> Copying Requirement
here you have to write the code based on your requirement
assign the copying requirement in your copying control  VTFA (Order to billing copy control)
Regards
Senya

Similar Messages

  • How to generat multiple invoices based on per employee/contractor/services?

    Hello Experts / Dina,
    I am in situation where customer is in business of body shopping and charges to his final customer based on individual invoice / per employee /contracor & customer services. This was happening in legacy system but after the implementation of Oracle Project costing and Oracle Project billing, customer is not able to generate invoices per employee services. Rather consolidated invoices are getting generated.
    How to achieve this functionality in oracle project billing?
    Lets take example - On Project P1 for customer ABC, 3 below employees are working on different task for 3 months.
    Now after one month employees have been billed as shown below.
    Emp 1 - 1000 USD - for 100 Hrs
    Emp 2 - 2000 USD - for 200 Hrs
    Emp 3 - 1000 USD - for 50 hrs
    Now @ end of the month when invoice is getting generated is 1 invoice including 3 lines of amount total 4000 USD. There is problem; customer wants that there should be 3 different invoices per employee shoud generated based on above mentiond 3 diff lines for customer ABC.
    I guess with oracle projects billing - You can split the invoice based on Accrue through date ( which is not possible in this case ) and agreement ( which is also not possible in this case ) and different currency ( which is again not possible in this case) - I may be wrong when saying it is not possible. plz correct me if I am wrong.
    even I guess billing extension wont work. So is there any way to achive this?
    Right now only option i am thinking is let single invoice of 4000 USD with 3 different lines should pass to AR and while priniting the invoice customer can create 3 diff prints which includes individual lines. and while applying receipts on the single invoice in the system, customer can apply the receipts to indivual lines.
    but I am not sure about AUDIT issues.. Can some one think about any AUDIT issues comes to this approch or issues with TAX rounding amount issues ?
    Infact I would like to solve this issue with the help of Oracle Projects billing and not with custom invoice print program. I guess someone from you experts can figure it out to generate muiltple invoice based on employees / suppliers / contractors / materials etc.
    A suggestion on Extension / customization / seeded functionality of Oracle Project billing on thi issue would be gr8 help.
    Please help.
    Thanks
    Edited by: oracle_samba on Jan 7, 2013 1:06 AM
    Edited by: oracle_samba on Jan 7, 2013 1:07 AM

    Hi Dina,
    First of all thanks for your update :-) Your solution looks much promising.
    I thought of using billing extension but rejected on the ground that I would end up in generating events based on employee for their corsponding billig amounts so finally generating a consolidated invoice only in One GDI run. But what i was missing was pre-processing extension and running the extention in loop based on employee count.
    I am fully sure business would not have any issues of auto approving and releasing invoice upon generation. But my question is "is it possible to just approve the invoice & not release it using auto approve and release extension?" The reason is I think when GDI runs it only deletes Unapproved invoice & spare Approve invoices. - So please suggest.
    Also please validate my understanding about your solution with an existing example -
    As with the current example, there are 3 EMP presents so need to run GDI 3 times and develop pre-processing ext in a such a way that at each time it will put on hold on all the billable items except EMP1, and EMP2 and EMP3 on each consecutive run respectivly. And ensure that Auto Approve and release extension should be used in order to avoid overriding previously generated invoice? Am I right ?
    Many Many thanks for solution !!!
    Regards,
    :-)

  • Report for Pending 103 for 105 (If GR based IV is untick condition)

    Hi,
    I required logic for mapping the report in Pending 103 for 105, If GR based IV is untick condition in PO.
    Our business accept the material with movement type 103. After various tests (outside SAP), we post this document with movement type 105.
    Normally each MIGO document has a reference document no . In case of 103 document, the reference docu no is the same no. In case of 105 document, the reference docu no is the docu no of 103.
    It is noticed that for some 103 and 105 documents, the reference docu no is blank when GR based IV is not ticked in the Purchase order.
    We need some logic to find the ref of 103 doc in 105 doc.
    Regards,
    Maddali

    Thanks for your promt reply.
    I have seen ME2M/ ME2L with selection parameter we104 or we105. However our client required specific report format for controlling this issue.
    So I am trying for logic in this particular senarieo.
    Regards,
    Suresh

  • Conditional Display of A region based on a Search condition

    Hello All,
    I would really appreciate any suggestion and pointers on how to achieve the below.
    My requirement is to display a tabulated result based on a search condition.
    I have two regions. One region contains the items to enable a search and the other region will be used to display the search results.
    Region A is an HTML region containing three items
    1.     A text field: to enter the search text
    2.     A list field: to determine the type of entity to search (customer_id, invoice number, Passport No)
    3.     A button: to initiate the search process.
    Region B is a reports region displaying the search results
    My question is:
    1.     Is basing the source of the region as a “PL/SQL function returning a select statement” the ideal choice. I will have variable “WHERE” clauses based on the search criteria entered in region A. However, the columns returned will always be the same
    2.     How do we get the region B to display only when there are results returned from the search results
    3.     How do we base by result set based on a stored procedure in the database. Basically as an API. We pass in the parameters and the API passes the result set back to APEX. This way, I can have all the DML hidden behind the stored procedures
    Looking forward to your comments and suggestions
    Pravind

    Hello,
    See the below link
    Re: item dispaly conditionally
    Regards,
    Shijesh

  • Auto generation of MATNR based on some requirements

    Dear MDM Experts,
    We have got the following scenario in implementing CMDM:
    when ever we create a new material, the user will fill only the global or required fields except the MATNR.
    After the approval process, the material gets generated in MDM.
    But before the material is being syndicated, the MATNR should be automatically assigned to the record based on the following conditions:
    1. if the MTART is "ROH" the MATNR shoould be in the range 2000000000 - 2999999999
    2. if the MTART is "HALB" the MATNR should be in the range 4000000000 - 4999999999 etc.
    I have tried this scenario using the Key generation option in the console which assigns the values at the time of syndication but the key was not getting generated.
    Kindly let me know the process to achieve it.
    or is there any other way that i can do this.
    Thanks and Regards,
    Sravan Velamury.

    Hello Sravan
    Your message isn't clear fo me
    If you used import for new master data you can use automatic key generation ability for inbound port
    The another way:
    You can create special key field in MDM and
    create simple workflow which fire when ADD record.
    That worklflow call assignment which fill key field
    Regards
    Kanstantsin

  • Creation of A/R Down Payment Invoice  based on Sales Order not logical

    When creating a A/R Down Payment Invoice based on a Sales Order you
    have the option to create multible ones. Which by itself could be
    usefull to create one of 50 % for a certain day and decide they need to
    pay another 25 % at a later date.
    But SBO does not track what already have been posted. Therefore you can
    create a sum more then a 100% without warning or blockage.
    Tested this in SBO 2007 A SP:00 PL:00
    Scenario:
    Sales - AR>Sales Order
    Create and post a Sales Order
    Sales - AR>A/R Down Payment Invoice
    Create an A/R Down Payment
    Select the BP and copy the Sales Order
    Set DPM to 40%
    Post the A/R Down Payment
    Sales - AR>A/R Down Payment Invoice
    Create an A/R Down Payment
    Select the BP and copy the Sales Order
    Set DPM to 100%
    Post the A/R Down Payment
    Sales - AR>A/R Down Payment Invoice
    Create an A/R Down Payment
    Select the BP and copy the Sales Order
    Set DPM to 70%
    Post the A/R Down Payment
    Making the total for the Sales Order 210% worth of Down Payment
    Invoices without warning/blocking. I would expected that you would only
    be able to set the rest sum %. For instance first scenario I entered
    60% therefore setting the second Down Payment Invoice to a max of 40%
    Untill you have used up the 100% and you cannot select the Sales Order
    in question..
    If multible users do the same work, SBO doesn't show that it has
    already been done. Same if you forgot you already created it you can
    still create one. Plus sometimes it will happenyou create the Down
    Payment Invoice and not paying attention you create the first one with
    a 100% and later with the intended percentage..

    Hello Petronella,
    you are right that B1 is not checking the total value of DP created from the Sales Order.
    The logic and checking procedure here is only between Sales Order -> Delivery/Invoice.
    DP Invoice is considered as transaction related to document the receipt of the money (parallel to the sales process). Between the moment of basing of DP to Sales Order it is still possibility to adjust Sales Order as there is no posting behind Sales Order.
    The question is what would be a checking  procedure in case that on Sales Order there is based Delivery and DP? What would be the system priority to take into a consideration?
    Regards,
    Martin Slavik
    Regional Solution Manager

  • Excise Invoice- Based on Billing Plan

    Dear All,
    Here in my client's place, we have a requirement like,
    For a project-XYZ we create one sales order with materials A,B & C.
    For this sales order we maintain billing plan 50% = X1 Rupees ,
                                                                    25% = X2 Rupees ,
                                                              and 25% = X3 Rupees.
    When project is finished 50% we create billing with X1 amount with reference of sales order and then we create excise invoice based on this billing document (NO delivery) and send it with material.
    And for second billing for X2 amount SAP is not allowing to create excise invoice and throws message like modvat utilization has been done already.
    Kindly suggest how to proceed and how to create excise invoice for remaining two amounts.
    Thanks & Regards

    Hi ,
    Thanks for your responce...
    Is there any transaction code for removing the billing block automatically in the sales order and how can i indentify the date category as per billing plan..
    Thank you very much..
    Thanks in advance.
    Regards,
    KV

  • Creation of Invoice based on Qty wise

    Hi SD Experts,
    I want to know how to split invoice based on quantity?
    --Sales order A material is 5 qty
    --Delivery is created with qty 5
    --Now I need to create 5 invoices for a qty of 1 each.
    Regards
    Pradeep

    Hi Pradeep,
    Go Vov7 and select the item category  for which you want the invoice split. There select the appropriate billing quantity option (I guess it should be K, please recheck as i am not accessing the system now). After this when you will create the invoice you can change the invoice quantity.
    If you need the process auto mated then create new copy control routine with the help of abaper by copying the standard routine.
    Hope this will help you.
    Do revert back to the forum if have some concerns.
    Thanks and Regards,
    Atulkumar Dagade

  • Creating an invoice based on a delivery via DI API

    Hi,
    Each time a user creates a delivery (not always based on a sales order), the add on I have developed creates an invoice based on it. This happens without any issue in most cases but I am receiving the following two errors on the client site and have not been able to recreate the issue here...
    One of the base documents has already been closed  [INV1.BaseEntry][line: 1]
    Number of items drawn is greater than open quantity  , 'Item A'
    Does anyone have any idea what could be causing this?
    Thans for any help,
    Robin

    Hi Thomas,
    Thanks for teh reply but unfortunately this is not the case - for example...
    A delivery which is returning this error for Item A, has a quantity of 20 but has 7400 in stock, so it is not going into a negative quantity.
    The only way I could get this error ("Number of items drawn is greater than open quantity"), not using the add on but working within B1, was to create a delivery note, then create an invoice based on it, increase the quantity of the item on the invoice, and the error displays in B1 on the info bar at the bottom.
    I cannot see how the user can affect this, as when they are creating the Delivery, the Invoice creation is automatic (triggers on the add button after the Delivery has been successfully added), and they don't even see the Invoice form.
    Robin

  • Invoice Based on Material

    Hi Experts,
    I have a new customer requirement, Customer does not want invoices based on the order They want invoices on monthly basis and based on the material means like they want the invoice for all the orders with material A  for the month of April 2011.
    I tried to search something logical in forum but was not able to find it, any suggestions will be appreciated.
    Regards,
    Jain

    HI
    Better you go for yr customised programme where u can have option to enter material and check delivery table and get all delivery no for that particular material and then do billing and invoice. Take help of your ABAPer give him your requirement with logic for monthly billing and sure he will be able to write a customised programme to fulfill yr requirement.
    In short,  Here is the way..... Get a customised programme where you select all dliveries for a partuicular period by date range,  from delivery table based on material and call VF01 ( as u know billing is based on payer. Payer must be same for all deliveries. U can add to check payer criteria as well with material) and then invoice.
    Have a nice day!
    Thanks
    DK:)
    Edited by: Dwarkesh Thakkar on Jun 24, 2011 12:17 PM

  • Intercompany Invoice Based on Goods Receipt

    Hello,
    I am running the following intercompany scenario : Purchase order - replenishment delivery - internal billing document.
    - Ordering organization : Cpy A / Sales org A / Plant A
    - Supplying organization : Cpy B / Sales org B / Plant B
    Standard SAP issues an invoice based on the goods issue, which makes perfect sense.  My client's requirement is to trigger the intercompany invoice from the goods receipt at Plant A.

    Hi
    Please check the VTFL Copy control settings.In VTFL check  Data VBRK/VBRP routine feild.For your requirement you may have to change the subroutine
    If standard subroutines are not meeting your requirement,you may have to add new logic to the subroutine with the help of your ABAP team.
    Regards
    Srinath

  • Third Party - multiple invoices based on dummy Goods Receipt

    In Third party sales scenario (without shipping notification) we want to create an invoice based on each dummy Goods Receipt which corresponds to individual shipment made by vendor to customer.
    Ex. Sales order qty = 10. It is split in the PO to 2, 4, 3 and 1 in the delivery schedule. Vendor ships qty 2, and then 4. There is a trace # associated with each vendor shipment to the customer. Vendor invoice is entered for qty 2 and 4.
    We want to bill 2 invoices one for two vendor shipments of 2 and 4. In VF04 order based billing for the sales order, SAP combines these 2 vendor invoices (2 + 4)  and will propose qty 6 in ONE invoice. If there a way get 2 Invoice proposals (i.e. 2 lines) in VF04 one for qty 2 and another for qty 4?
    TIA.

    Hello Ramani
    In the Copying control  (I am guessing it is for Sales document to billing document, T Code: VTFA),  set up a custom routine in the field 'Data VBRK/VBRP'  for the requisite item category ( TAS or equivalent)  by copying standard routine '01'- FV60C001- and adding a splitting criterion, may be GR #. The challenge would be whether GR# would be available at that time and if not how to get it.
    If it is Delivery based billing for some reason , then you can use standard routine '3' there. T code: VTFL: Copying control: Delivery document to billing document.
    Hope this helps.

  • Partial Payment (with invoice reference) for Invoice-based items

    Hi Gurus,
    I'd like to make partial payments to credit memos while "Include partial payment" is activated.  However, if i activate "Include partial payment, partial payments for invoice-based items are no longer possible (partial payment amount is displayed only, and full amount is automatically applied).
    My credit memos were posted via BAPI_ACC_DOCUMENT_POST.  I've read that when using BAPI, invoice reference field is automatically populated with "V".   
    Can you please enlighten me what is SAP's logic behind this.  How does SAP determine invoice-based items?  And is there a workaround so I could still make partial payment while it is activated?  Thank you.
    Regards,

    Hai Dianne,
    Check it once OBA4 & OBA4 t.codes both are Tolerance Group
    Regards
    Madhu I

  • Calculate due on date in incoming invoice based on p.date of purchase order

    We would like to calculate due on date in incoming invoice based on posting date of purchase order position. We want to be able to see the posting date of the purchase order lines from miro transaccion. Then we would add 85 days to calculate the due on date. I have tried to create an "item list variant" from OLMRLIST transaccion (Customizing - Logistics invoice verification) and add the posting date but it is not possible to access this value.
    Thanks in advance.

    Hi,
    have a look at badi MRM_PAYMENT_TERMS.
    Check as well OSS Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    Best regards.

  • Create an AP Invoice based on a Purchase Order using SDK

    Hi,
    What are the steps to create an AP Invoice based on a Purchase Order using DI API?
    Which methods of which objects to use and what parameters to pass?
    Thanks.

    Hi Rajesh,
    Here is a sample to create an Invoice based on a Sales Order. The same way you can change as per your requirement:
    SAPbobsCOM.Documents oInvoice = default(SAPbobsCOM.Documents);
                oInvoice = (SAPbobsCOM.Documents)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
                oInvoice.CardCode = "C000003";
                oInvoice.DocDueDate = DateAndTime.Now;
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
               oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
               oInvoice.Lines.BaseLine = 1;
                oInvoice.Lines.Quantity = 3;
                oInvoice.Lines.Add();
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
                oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
                oInvoice.Lines.BaseLine = 2;
                int kth = 0;
                kth = oInvoice.Add();
                if (kth != 0)
                    int irrcode;
                    string errmsg;
                    SBO_Company.GetLastError(out irrcode, out errmsg);
                    Program.oMainSAPDI.ShowMessage(errmsg, BoStatusBarMessageType.smt_Error);
    The main thing to remember is Base Type, Based Entry and Base Line.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

Maybe you are looking for