Copying Invoice from Delivery notes

Hi,
I want to create an Invoice document from a Delivery document. Is there a straight-forward way in DI-API to do that?
Please post any code segment you have.
I'll appreciate your help.
Thanks.
-Geetha

Hi Geetha,
no there isnt
you have to copy all properties with your own code
oInvoice.CardCode = oDeliverNote.CardCode
and "connect" the Lines
oInvoice.Lines.BaseLine = oDeliverNote.Lines.LineNum
oInvoice.Line.BaseEntry = oDeliverNote.DocEntry
oInvoice.Line.BaseType = 15
regards
David

Similar Messages

  • Customer Down Payment invoice (from delivery) not automatically assigned

    If I create a Down payment invoice from Sales Order (and I paied it) on the final invoice the sistem automatically assigne the down payment invoice on the final invoice for the order.
    If I do the same think but crerating the Down payment invoice from the delivery (and I paid it) when I create the final invoice I need to assigned it manually.
    SBO 8.81 PL 06
    I haven't found any set up for this, so I think is an error the sistem must work on the same way if the document is copied from the Sales order or delivey.
    Someone know if there is some set up? or I need to open an error message to SAP?
    Thanks

    My question is:
    If I make a sales order.
    I create a down payment invoice using copy from SO.
    I make the incomuing payment for the down payment invoice.
    I create the delivery from the SO
    I create the invoice from the delivery
    The system apply automaticaly the down payment invoice to the invoice (because I select a delivery that is linked to the so that I used to create the down payment invoice).
    If I make a sales order.
    I create the delivery from the SO
    I create a down payment invoice using copy from delivey.
    I make the incomuing payment for the down payment invoice.
    I create the invoice from the delivery
    The system DO NOT apply automaticaly the down payment invoice to the invoice (even if also this document is linked to the delivery that I use to create the down payment invoice).
    I know that I can select it manually. But I can select it manually also if I use the SO to create the down payment instead of the
    delivery. Why if the situation is the same in the firs case the system do it automatil^cally and in the second case I need to do it manually?
    Of course if I create a Down Payment invoice without selecting any document (SO, delivery..) the system don't know if you want to apply the payment to the final invoice.
    But If I select the delivey to create the down payment (the same if I select the SO): I want to apply the down payment to the final invoice of this delivery and not to another delivery.

  • Duplicate the details section when I retrieve data from Delivery notes

    Hey all.
    I built a query that retrieve data from ODLN and it works fine.
    But, when I have a Delivery Notes Document that has items from some different orders (that I copy them to Delivery notes of course) it duplicate my rows in the report
    I run the query at SQL server and it's work fine (on the same document)
    Is someone knows why this is happen?

    If one of these programs will not kick the iPod out of recovery mode than you are out of luck.
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too
    Your only home is to restore from your last backup
    iOS: Back up and restore your iOS device with iCloud or iTunes       

  • Copying control from Delivery to Billing

    Hi Experts,
    I created a new requirement for Copying control from Delivery to Billing. And it works in our develop server.
    But when I transport it to our test server, it dumps with message can not find the include which my new requirement in.
    But I go to SE38, there is the include.
    I really have no idea about this. Any advice will be a help.
    Thank you in advance.
    Richard

    Hi,
    Please follow the step mentioned below it will solve your problem.:::
    1)The first step for correcting this type of short dump is to execute the RV80HGEN utility  program to re-generate all VOFM routines. Unfortunately, running this program does not always solve the problem. executing RV80HGEN did not work.
    The output report for RV80HGEN denotes that all routines were activated, but the parent include was not repaired.
    2) Since RV80HGEN did not solve the problem, the next step is to manually regenerate the program index of the program that contains the VOFM routine. For billing data transfer routines, the program is SAPFV60C
    3) From the program editor, navigate using the menu to Utilities>Update navigation index.Executing this function will solve the problem.
    Hope your problem is resolved !!!
    Regards,
    Krishna O

  • SOs,AR Invoices,and Delivery Notes have empty "Logistics" Tab

    Hi,
    As the title says Sales Orders,AR Invoices,and Delivery Notes have empty "Logistics" tab "Ship To" and "Bill To" windows - the Ship to and Bill To addresses are filled in the BP Master Data but they do not populate the logistics tabs Ship To and Bill To windows in these documents?
    Just to let you know that this is for only for new Business Partners as the old BPs seem to populate the logistics window automatically.
    Any ideas ?
    Thank you,
    MB
    Edited by: Matthew Brigley on Aug 13, 2010 11:53 AM

    Hi Matthew,
    The ST/BT address fields retain the information at the time the document was added. If there is no address then at the time the document was added, the address was set up.
    You can update the fields after the document is added for some of them (the address field will be white; grey means you can't update the field) - click in the ST/BT drop-down. If there is no option available, check the BP's address(es) to make sure there is an address set up. If you do add an address, close the document and re-open; the address should be available.
    If there is no address in the drop-down and there is an address on the BP record, check other transactions to see if it's BP-specific or all documents are not picking up the BP address info.
    Heather

  • Customer invoice n delivery note print together at time of Billing

    Hi,
    Customer want invoice and delivery note attach together.
    once billing document saved invoice and delivery note print together immediately.
    plse suggest
    Thanks in advance..

    HI
    In the Out put determination maintain Those 2 Output Types and assign to the Billing Type
    At the time of maintaining the Condition record through VV31 , maintain the Dispatch time " 4" and message Transaction Medium "1"
    After that select the Line and Click on Communication Give Output Device and Tick " Print Immediately Field
    Regards,
    Prasanna

  • How create an invoice from delivery using an idoc

    Hi expert,
    I'll like recive an help to know how implement the following solution: we would create an invoice from delivery sent into the idoc structure.
    In detail the process that we would implement is:
    To use an output type for outbound delivery and to assign a program to it in order to create an idoc when the output type is processed; when the idoc is created the program has to call the transaction VF01 to create the invoice from the idoc.
    Which type of idoc do we have to use?
    How the VF01 call transaction should be excuted?
    Many thanks in advance
    Regards
    Roberta

    Check with following standard basic IDoc types:
    INVOIC01- Invoice/Billing document
    INVOIC02 - Invoice/Billing document
    INV_ID01 - Invoice
    SISINV01- SIS - billing document
    And refer following link for understanding: [iDoc|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=HOME&title=StepbyStepprocedureforcreationof+IDOC&decorator=printable]
    I hope this can assist you.
    Thanks & Regards
    JP

  • Good issue from delivery not possible due to credit block

    Hi gurus,
    Please help me on this issue.while doing PGI for the delivery i am getting the following error message."Good issue from delivery not possible due to credit block "The simple credit check is assigned for the sales document type.iam doing free of charge delivery.
    What are all the possible ways to get such error
    Regards
    Vis

    but system behavior is not set in transaction OVA8, means combination of risk categories and 03 is not set.
    I think you are checking the wrong risk category, please check once again the Risk category of the payer in FD32, what is it assigned and also check OVA8 with this risk category.
    If you find the above settings are correct as per your observation, try to create a fresh cycle so that you will get the correct results as per your settings in delivery.
    In your case what you are saying is correct, may be the risk category is changed recently this you can check the change log of the payer customer in FD32( if any change takes place).
    If possible try to past the screen shot of both.
    thanks,
    srinu.

  • How to copy Partners from Delivery to Shipment?

    Hi,
    I know that a Shipment is used usually to group multiple deliveries.
    If I have the same partners, in the delivery that I want to group, is there a way to configure copy control from Delivery to Shipment?
    Tula Gentil

    Hi Tula,
    There is currently no provision in the standard coding to
    copy partners from the delivery into the shipment header.
    The only exception to this is the Partner :'Forwarding Agent', that can be copied from the Delivery into the Shipment.
    For this to be done, you should set up suitable copy routines in the customizing for the shipment type. Also the Forwarding agent should be unique in this case.
    You can assign your own partner functions , provided that they are set up correctly in transaction VOPA.
    The Partner functions for the Shipment stages have to be maintained
    separately in a Partner determination procedure specific to Shipment
    stages.
    The standard partner determination procedure for Shipment stages is
    'TRS1':Shipment Leg. You can find this in the customizing transaction VOPA for the Object Transport.
    You can add the required partner functions in the partner procedure TRS1, so that they are available for the shipment stages.
    I hope this information is useful to you!
    Regards
    David Merino

  • Park Invoice with delivery note

    Hello,
    How to park invoice with delivery note. i am using bapi  BAPI_INCOMINGINVOICE_PARK.
    Please help.

    try FM AC_DOCUMENT_DIRECT_INPUT
    check its documentation.
    regards
    prabhu

  • Excise Invoice No. from Delivery Note in GR

    Hi..
    We enter Invoice No. in 'Delivery Note' field while posting GR and after we do capturing Excise invoice w r t GR in J1IEX.
    Is there any setting to get 'Delivery Note'  number flows/copied into 'Excise Invoice No.' in J1IEX.
    or
    How to it can be achieved technically.
    Thanks in Advance..
    Regards
    Sumit

    Delivery note number and Excise invoice number both are different. There is no such setting available in Standard SAP system to copy the Delivery note no. into Excise invoice field in J1IEX.
    If you have any such business requirement, you can try writing custom code using User exit or Badi or Enhancement and fulful your requirement.

  • Cant copy A/R Invoice from Delivery

    Hello All
    Can anyone think of any reason why a customer of mine can not copy a delivery note to an A/R invoice - when they are trying to do this they are getting the error message - 'Account does not exist  [439-9]'
    Thanks
    Stuart

    Hello Stuart,
    You may check these threads first:
    G\L Account Determination
    how to change GL determination for Accounts Receivables account

  • Cannot create A/R Invoice from Delivery

    Hi everyone.
    I have a Delivery based on a Sales Order and want to make an A/R Invoice from the Delivery using the "Copy to" button on the Delivery form. When I do that I get the following message:
    "One or more down payment that are linked to the base document(s) have not been paid. Continue?"
    When I press "Yes" the following error occurs:
    "Business partner of copied down payment document must be the same as business partner of target document."
    But I didn't create any down payments.
    Do you have any suggestions as to what may be the cause of the problem?
    Vladimir.

    Hi Vladimir,
    What is your B1 version and PL? Is there any relation between your question and SDK?
    Thanks,
    Gordon

  • Get list of related Down Payment Invoices to Delivery note

    Hi all,
        I would like some tips on how to get the "Open Amount" on any "open" deliveries in B1. the scenario here is that some sales order may have Down Payment Invoices (DPI)  associated with them. I dont seem to find any "direct links" between DPI's and Deliveries once the sales orders are converted to Delivery notes.
    The only option I can think of at this time is to write a query that will link the following:
    Delivery Rows BaseEntry (DLN1.BaseEntry) >> Sales order Rows DocEntry (RDR1.DocEntry) >> DPI header table (ODPI)
    This scenario would break if there are lines on the delivery that originated from seprate orders.
    Any help you can provide is appreciated.
    Thanks

    Hi,
    There is no "direct links" between DPI's and Deliveries. You can link them through Sales Order.
    Thanks,
    Gordon

  • Invoice and delivery notes - idocs..

    Hello SD experts,
    I am new to SD.
    Can any one tell me what is the invoice. I mean
    what are the table AND transaction codes I have to go and check ?
    What are delivery notes ?
    My functional consultant is telling that
    there is a consolidated invoice and there are 2 delivery notes that are being combined for this invoice. The invoice # is 6016186004
    For DN#   6073107044 there is a VICS BOL that was passed back that is = 04000000000016146 
                   6073107045 there is a VICS BOL that was passed back that is = 04000000000016023
    and he wants to know how the program selects which VICS BOL fields in IDOC.  He gave me to use IDOC #77122253 in quality system for testing.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    If so then what are the I need to give
    Output application    (is it V1 or MR ?)       
    Output type    ??

    hi ..
    Please refer below..
    for invoice ,  tables: VBRK and VBRP
    AND transaction codes : VF01 to 03.
    What are delivery notes ?
    after goods issue, we need to issues delivery note to customer.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    you need to go to VL70 or you can process with RSNAST00.
    Output application type : V2
    Output type : LD00
    Regards
    Venkat.. Ananth Technologies

Maybe you are looking for

  • Open Work Order settlement - KO8G or KO88

    Hi, I am facing an issue with open work order settlement using KO8G or KO88. We are on 6.0 and PSM turned and New GL activated with a document splitting on fund mandatory flag turned on. When open work orders undergo WIP calculation through KKAI, it

  • Possible to keep the 'flash' light on?

    So my BlackBerry Curve 8320 doesn't have the feature to record videos. I've noticed when I have taken pictures, the flash is extremely bright for a phone. I am curious, is there any type of app out there that is able to turn my flash on and to keep i

  • Instructions to Tech Svs Dept in setting up Adobe Premiere in school firewall setting?

    Hi.  I work in a public high school in a very large school system.  While I have new computers w/8gb of ram and decent video and audio cards, our Adobe Premiere 9.0 software frequently stalls, freezes, won't open projects, etc. . . .  The problems ar

  • Reminders not syncing up.

    I use icloud.com to sync my reminders.  My ipad and icloud.com reminders do not appear to be syncing.  They are both using the same icloud account and used to sync.  I have changed nothing, but in the last week they have stopped syncing with one anot

  • KERN_INVALID_ADDRESS...Shutdown Error...Anyone have a solution?

    I keep having iMovie crash with this code. Does anyone have a clue what is causing this? I have most updated software and can't find a thing from Apple to it's cause or how to fix. Thanks!