Uploading Invoice with Discount in Line with DTW

I am trying to upload some invoices with line discount with the DTW . These is an example. There is one item A00001 with 12.00 unit price and 10% discount on that item and 12 quantity. I tried to upload it but doesnt put the discount in the discount column and changes the unit price to 10.8 even though i tell it to be 12.00
I tried putting only the priceaftervat AND also putting only the price but same results
Here is an example. These test only has 1 article so i didnt paste the header, only the lines
RecordKey     LineNum     DiscountPercent     ItemCode     LineTotal     PriceAfterVAT     Price     Quantity     TaxCode
RecordKey     LineNum     $     ItemCode     LineTotal     PriceAfterVAT     Price     Quantity     TaxCode
1     1     10     A00001     108     10.8     12     10     IVA
any ideas??

Hector,
In Administration > System Initialization > Document Setting > General Tab.....Calculate the Row Total using Unit Price should be unchecked
Now try entering the price and discount and it should work
Suda

Similar Messages

  • Import AP/Invoices with DTW

    Hello,
    We tried to import AP invoices with purchase items only (no stock/sales item) and have a problem with importing an AP invoices with the same purchase item on different rows in the invoice. Import is succesfull but if i have item 5020 on row 1 and 4 , row 1 will be overwritten by row 4 in the import.
    Is there an option to define this in DTW.
    Could it be a problem with the summary type OPCH.SummryType ?
    Thanks
    Mark
    Edited by: M. Hageman on Mar 13, 2009 9:03 AM

    You may try to DTW a different ItemCode for line 4 first.  Then DTW again by updating this line only.  It should allow system to bypass ItemCode checking.
    Thanks,
    Gordon

  • Importing AP Credit memo  Referenced to an Invoice with DTW

    Hi everyone, im trying to import thru DTW an AP Credit Memo applied to a Service AP Invoice but i keep getting "Internal Error [-2010] ocurred Application-Defined or Object-Defined error 65171".
    The AP invoice has Doctotal $ 99,732.00 but the linetotal was 5859.05 by mistake so there is a discount percentage of 1367.40, what fields are mandatory in the Credit memo template?

    Hi,
    The easiest way to do this by copying from the AP Invoice if you have only few invoice need to be Credited. If you need DTW, only the BaseEntry, BaseType and Base line are required for line file.
    Thanks,
    Gordon

  • Error while importing data with DTW

    Hi Guys,
    I received an error when i try to upload data with DTW
    method '~' of object '~' failed65171
    When i click on run simulation again,
    I received another error 65172.
    There's two different error.
    Can anyone help?

    Hi,
    This error means that your Obscommon user is corrupt and you  cannot connect to the SBO-Common database to download the  OBServer.dll that is stored in the temporary directory.
    For more information, see SAP Note 858475, 642564, or 614946.
    Thanks & Regards,
    Nagarajan

  • Importing Service Invoices with description in document line

    Hello,
    I am importing service invoice but also want the put in the description.
    I don't know which field i need to use for the description. Below you see 1 line, it import oke but without the description field.
    document_lines
    RecordKey     AccountCode     Description     VatGroup     Linetotal
    RecordKey     AccountCode     Description     VatGroup     Linetotal
    1     2910     factuur 1     A0     1500.00
    i use oinvoices with DTW i can't find / use the description field in document_lines????
    Can somebody advice??
    Mark

    Hello Mark,
    The column is named ItemDescription.  You have to include DocType field on the title file too.
    Thanks,
    Gordon

  • India Localization - AP - Asset Invoice with Tax Lines

    Dear Experts,
    In India Localization If I have Asset Invoice with Tax Lines and If I Perform Mass Additions will Tax Lines also Interfaced to FA or only Asset cost will be transferred FA (Excluding Tax Lines)
    Please help me out.
    Thanks
    Bharath

    Bharath,
    even though the tax lines are independently transferred to mass addition and merged ... it is merged to its owning transaction ... like if the invoice in AP is created for a capital asset using the Capital asset clearing account, the tax lines in that invoice is merged automatically to that invoice cost line in the mass addition stage ... similary for CIP clearing account ....
    Regards,
    Ivruksha

  • AR invoice with Multiple lines

    Hello,
    I'm loading AR invoice using Autoinvoice Import Program. This works fine for invoices with single lines. When I have invoices with more than one row it errors out. The Autoinvoice program completes with Error. For loading multiple lines to the invoice I'm loading with the same TRX_NUMBER. Am I missing something here?
    This is a part of the log file.
    AR_TAPI_ECB_BILLING_DATE_REQD
    Current system time is 27-DEC-2007 11:49:46
    APP-AR-11526: ORA-28115: policy with check option violation
    insert into RA_INTERFACE_ERRORS (INTERFACE_LINE_ID,MESSAGE_TEXT,INVALI
    APP-AR-11526: 5949503/ar/lib/raavhi.lpc 1960
    Error calling raavhi()
    Error calling raapic()
    Any help ??
    Thanks
    GM

    seems to error
    APP-AR-11526
    ORA-28115
    seems the security policy is implemented at your database leval and check which ID you are using to insert the record.Check with your DBA, for security to resolve first for ORA-28115.
    Disabled in case if you have any custom triggers defined on RA_CUSTOMER_TRX_ALL.
    Few Documentation for ORA-28115
    ORA-28115 with EXEMPT ACCESS POLICY privilege
    A user USER1 has been granted select, insert, update, delete on all
    tables of an application schema (USER2) that uses row-level security.
    The RLS policies cover select, insert, update, and delete, and have check option enabled. USER1 has also been granted EXEMPT ACCESS POLICY system privilege.
    Each table in the USER2 schema has a trigger that causes insertion of
    a row into an audit table whenever DML is performed. When USER1 performs DML on a USER2 table, the operation fails with

  • Sales order - update line status to close the document with DTW

    Hi everybody,
    yesterday i tried to update the line status of sales order lines from "O" to "C" with DTW. At first he ask me for DocRate. Then set DocRate to "1". After then DTW wrote, that I can't update the lines, during update the document... Can someone help me..., maybe with an example for DTW.
    Happy new year to everyone.
    Best regards
    Stefan

    Hi Stefan Ressel,
    Welcome To SAP Community Network Forum
    Sales Order line status close that means for particular line Item Quantity Delivered through Delivery document and sales order line status open to close.
    OR
    You have to manually close Sales Order line status without delivered Quantity.
    Check in your case Item Quantity are to be delivered through Delivery document. Right click on line & check Target document.
    If Sales Order Item Quantity are to be delivered through Delivery document then SAP restrict to update line status.
    Thanks,
    Srujal Patel

  • Need to prevent invoices with 0 price line items to accounting .

    Hi All,
    I have a requirement where in  I need to prevent the invoices with 0 price line items to accounting if item category is relevant for pricing.The invoices which have 0 price line items and item category has specific 0 price need not to be prevented  for accounting.
    Please provide your input to meet the requirement.
    Thanks In Advance.

    Hi,
    Please go through the below link !!! follow this and it will resolve ur issue
    Re: How to prevent invoices with 0 prices to be sent to accounting,
    Regards,
    Krishna O

  • Compare two invoices with same distribution line count

    I am trying to pull data out of Oracle Payables - invoices for which the invoice amount ,the vendor and distribution line count is same.
    I could achieve pulling invoices with same Vendor having same amount.But finding hard to compare the counts.
    Can anyone share ideas on how to achieve this ... Tried self join but did not work.
    The query which I used is as follows :
    select invoice_num,invoice_id,invoice_amount,vendor_id,
    (select vendor_name from apps.po_vendors where vendor_id=aia.vendor_id) vendor_name,
    (select count(*) from apps.ap_invoice_distributions_all aid where aid.invoice_id=aia.invoice_id) line_count
    from apps.ap_invoices_all aia
    where invoice_amount in (select aiab.invoice_amount
    from apps.ap_invoices_all aiab
    where aiab.creation_date >='01-AUG-2012'
    and vendor_id=aia.vendor_id
    group by aiab.invoice_amount
    Having (count(aiab.invoice_amount) >1))
    and aia.creation_date >='01-AUG-2012'
    Thanks in Advance.

    I did try your query with sample records and counts are also correct plz chk the following, for me counts are correct as per your logic -
    select aia.invoice_num,aia.invoice_id,aia.invoice_amount,aia.vendor_id,
    (select vendor_name from
    (select 'XX' vendor_name, 'A' vendor_id from dual union all
    select 'XY' vendor_name, 'B' vendor_id from dual union all
    select 'XZ' vendor_name, 'C' vendor_id from dual union all
    select 'XA' vendor_name, 'D' vendor_id from dual ) po
    where vendor_id=aia.vendor_id) vendor_name,
    (select count(*) from
    (select 1 invoice_id from dual union all
    select 1 invoice_id from dual union all
    select 1 invoice_id from dual union all
    select 2 invoice_id from dual union all
    select 3 invoice_id from dual ) aid
    where aid.invoice_id=aia.invoice_id) line_count
    from
    select 10 invoice_num, 1 invoice_id,100 invoice_amount, 'A' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 11 invoice_num, 1 invoice_id,100 invoice_amount, 'A' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 12 invoice_num, 1 invoice_id,100 invoice_amount, 'A' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 13 invoice_num, 2 invoice_id,100 invoice_amount, 'B' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 14 invoice_num, 2 invoice_id,100 invoice_amount, 'B' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 15 invoice_num, 3 invoice_id,100 invoice_amount, 'C' vendor_id ,'01-SEP-2012' creation_date from dual union all
    select 16 invoice_num, 4 invoice_id,100 invoice_amount, 'D' vendor_id,'01-OCT-2012' creation_date from dual) aia
    where aia.invoice_amount in (select aiab.invoice_amount
    from
    select 10 invoice_num, 1 invoice_id,100 invoice_amount, 'A' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 11 invoice_num, 1 invoice_id,100 invoice_amount, 'A' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 12 invoice_num, 1 invoice_id,100 invoice_amount, 'A' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 13 invoice_num, 1 invoice_id,100 invoice_amount, 'B' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 14 invoice_num, 1 invoice_id,100 invoice_amount, 'B' vendor_id ,'01-AUG-2012' creation_date from dual union all
    select 15 invoice_num, 1 invoice_id,100 invoice_amount, 'C' vendor_id ,'01-SEP-2012' creation_date from dual union all
    select 16 invoice_num, 1 invoice_id,100 invoice_amount, 'D' vendor_id,'01-OCT-2012' creation_date from dual) aiab
    where aiab.creation_date >='01-AUG-2012'
    and aiab.vendor_id=aia.vendor_id
    group by aiab.invoice_amount
    Having (count(aiab.invoice_amount) >1))
    and aia.creation_date >='01-AUG-2012'
    o/p
    INVOICE_NUM,INVOICE_ID,INVOICE_AMOUNT,VENDOR_ID,VENDOR_NAME,LINE_COUNT
    10,1,100,A,XX,3
    11,1,100,A,XX,3
    12,1,100,A,XX,3
    13,2,100,B,XY,1
    14,2,100,B,XY,1
    -------

  • Cannot create an Invoice with a negative line

    I am tring to export an invoice with a negative row and I'm gettign an error here is an examlpe of what I'm doing .
    Dim vDrafts As SAPbobsCOM.Documents
         Set vDrafts = vCmp.GetBusinessObject(oDrafts)
        vDrafts.DocObjectCode = oPurchaseInvoices
        vDrafts.CardCode = "2"
        vDrafts.ManualNumber = "222"
        vDrafts.HandWritten = tNO
        vDrafts.DocDate = Now
        vDrafts.DocType = dDocument_Service
        vDrafts.DiscountPercent = CDbl("0")
        vDrafts.Lines.AccountCode = "100000"
        vDrafts.Lines.ItemDescription = "TEST"
        vDrafts.Lines.Price = 123
        vDrafts.Lines.Quantity = 1
        vDrafts.Lines.VatGroup = "6S"
        vDrafts.Lines.DiscountPercent = CDbl("0")
         vDrafts.Lines.Add  
        vDrafts.Lines.AccountCode = "100000"
        vDrafts.Lines.ItemDescription = "TEST"
        vDrafts.Lines.Price = -13
        vDrafts.Lines.Quantity = 1
        vDrafts.Lines.VatGroup = "6S"
        vDrafts.Lines.DiscountPercent = CDbl("0")
        RetVal = vDrafts.Add
    and if I change to
        vDrafts.Lines.Price = 13
        vDrafts.Lines.Quantity = -1
    then the invoice will be exported but the line will be positive .
    Do you have any idea on what is wrong .
    Thanks

    Hi Mohamed,
    SBO will not let you set a negative line if the total amount of the document is negative.
    It can be done by hand in SBO, so you should be able to get it. Try doing the same as you do it by hand.
    I would try something like:
    vDrafts.Lines.Quantity = 1
    vDrafts.Lines.Price = -13
    Hope helps,
    Ibai Peñ

  • Invoice with Multiple Line item

    Hi
    Delivery Order (D.O) with many line items (more than 1 page) happen to print multiple invoices automatically. Infact I would need to set up in a single invoice with multiple pages.
    But currently if the line items exceeded the max, automatically creates another invoice document (with different number).
    Could anyone suggest step by step resolution.
    Thanks in advnce.
    RG

    Maintain adjust the "billing relevance" setting in item category(VOV7) to K Delivery-related invoices for partial quantity.
    Then when you create billing reference to delivery, you would be able to press "Selection List" button to change the billing quantity that you want to bill. But, mind it can't be done with tcode VF04, so, you have to use VF01 to create Billing doc.
    Thanks & Regards
    JP

  • Does Oracle E-Biz 11i support intercompany Invoice with a negative line?

    We are using Oracle E-Biz GL/AP/AR/FA (Oracle E-Biz 11.5.2.10). Now we are facing this issue: When we create an intercompany Invoice with a negative line it does not generate proper inter-company entries.
    For eg:
    Invoice Amount 1000 for company1
    Distribution:
    Company2.account.company1 : 300
    Company3.account.company1 : 300
    Company4.account.company1 : 500
    Company5.account.company1 : -100
    when transfer to GL process is done following entries are generated.
    Company1.Liab account.company1 Credit 1000
    Company2.Exp account.company1 Debit 300
    Company3.Exp account.company1 Debit 300
    Company4.Exp account.company1 Debit 500
    Company5.Exp account.company1 Credit 100
    on posting following Intercompany transactions are generated.
    Company2.Interco Payable account.000 Cr 300
    Company3.Interco Payable account.000 Cr 300
    Company4.Interco Payable account.000 Cr 500
    Company5.Interco Recievable account.000 Dr 100
    Company1.Interco Recievable account.000 Dr 1000
    where as the correct entry should be :
    Company2.Interco Payable account.company1 Cr 300
    Company3.Interco Payable account.company1 Cr 300
    Company4.Interco Payable account.company1 Cr 500
    Company1.Interco Payable account.company5 Cr 100
    Company5.Interco Recievable account.company1 Dr 100
    Company1.Interco Recievable account.company2 Dr 300
    Company1.Interco Recievable account.company3 Dr 300
    Company1.Interco Recievable account.company4 Dr 500
    Have you faced this kind of issue? Does Oracle support intercompany Invoice with a negative line (credit)? If 11i doesn't support this feature, does Oracle E-Biz 12 support this feature?
    Your insights will be very helpful.

    Hi,
    Now we are trying to convert the 11g-Database UTF-8 characterset to AL32UTF8 characterset.Why do you need to change the database characterset?
    As per metalink Notes, there is no very clear steps on how to deal with Apps Environment after DB characterset change using CSALTER.Did you go through these documents?
    Note: 788156.1 - AL32UTF8 / UTF8 (Unicode) Database Character Set Implications
    Note: 260192.1 - Changing the NLS_CHARACTERSET to AL32UTF8 / UTF8 (Unicode)
    Note: 124721.1 - Migrating an Applications Installation to a New Character Set
    Note: 225912.1 - Changing the Database Character Set ( NLS_CHARACTERSET )
    1) After DB characterset change, do we have to run Autoconfig, after editing the DB XML file to reflect new characterset value.Yes.
    2) Does the same apply to Application CONTEXT file also for APPL_TOP, etcAre you also changing the application tier characterset? However, I would say you will have to run AutoConfig in both cases.
    3) when shud we run adadmin- filesystem cahracterset conversion. Before or after autoconfig.Run the "Convert character set" via adadmin, then run AutoConfig -- See "Oracle® Applications Maintenance Utilities" manual for details.
    Also i am facing issues in connecting to sqlplus from applmgr user after the DB characterset change.
    It just core-dumps.Did you implement all the steps mentioned in the documents? What is the complete error message? What does "echo $NLS_LANG" return as oracle and applmgr users?
    Regards,
    Hussein

  • Upload to OSPG with DTW

    Hello Experts,
    I was wondering if there is a way to upload to table OSPG with DTW. I have not been able to find the table in the list.
    SAP 2007 A SP:01 PL:08
    Thanks,
    Jose

    Hi,
    You can use DTW template to do  that. It is available in the C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates
    JimM

  • Proforma Invoice with reference to schedule Line

    Dear Experts,
    Whenever we create proforma invoice related to sales order, the system will copy every thing from sales order and same thing will be reflecting in proforma Invoice. If I want to create a proforma Invoice only for partial, can I do it.  Because we dont have any option to change the billing qty in vf01 or vf02. Is it possible to  change the qty in proforma invoice.
    Regards,
    Reji

    Hello Friend,
    If you want to have Pro forma Invoice with partial quanties then you need to have Billing Plan assigned to your Sales Order.
    But if the Proforma invoice with respect to Delivery then you can change the quantity for the same if in the order for the relevant item category if you maintain for Relevance for billing as K (Delivery-related invoices for partial quantity).
    Then in billing you can manually go and change the quantity.

Maybe you are looking for

  • Portal Session Problem

    Hello all! I am trying to log-on to my portal with two different users parallel. Example: 1. Open Internet Explorer -> Portal -> Logon as Administrator 2. Open Internet Explorer once again (NOT String-N) -> Portal -> Logon as another user The problem

  • I need help installing photoshop elements from disk.

    I can't see a button on the chat page, to get help.  Java script is enabled on my Mac. what can I do?

  • Import Batch processing.

    Hi, Plz let me know the mandatory fields while creating a .ini file. When i am am scheduling a task  it gives messege that Job could not be started. What may be the reasons ? Thanx in Advance Regards, Anand

  • Extending JFileChooser Popupmenu

    Been a while since I was on here. Nice to know guys like Rob Camick are still letting the newbies have it. lol! Anyways my question is does anyone know how to extend / add unto JFileChooser's context menu? i.e. some of the missing options such as Ope

  • How to create a cookie in PEI?

    I'm trying to create a cookie in OnAfterLogin event, using the ApplicationData class method SetCookie(string,string), but some reason cookie is not created in the Temporary Internet Files. Basically I need to use this cookie in other application to c