Excise invoice capture process for dealer invoice

Hi,
  As I read in many thread, that for the capture of excise invoice for dealed invoice in Po for item we have to maintain the base price as addition of both base value + excise duty amounts,  then using MRP indicator we have to capture the duty amounts for dealer invoice but I have some query,  when delaer make the invoice . they pass on the duty,  even the duty amount is not intially known which excise invoice amount the delaer will pass, so while creating PO, How we can exactly enter he amount as BASE VALUE + DUTY amount,  we have to chnage the the PO  or without changing PO amount we can proces for capture of excise duty  also in PO which tax code should be select , if we seelct the regular tax code which we use for excise invoice capture for other supplier  then system will calculate the tax amount in the PO also, so which tax code should be calculate.
regards,
zafar

At the time of Po creation we will be knowing the duties which he will be passing you, but you will be not knowing the base price of material ,as vendor will add his amount also into the original base price and apss the invoice.
So will be creating the PO as original base price and excise only , but at the time of GRN he will add his profit into the base price and will give supply the material, so you need to change the base price while GRN to match the excise duties and tick the MRP indicator so that at time of miro the duties will flow correctly.
Hope this may help you.
BR,
Patil

Similar Messages

  • Excise invoice capture process

    Hi,
      I want to know about excise invoice capture process for depot plant  which t. cod eis use for depot plant how to do the part1 and part2  and also reversal process for the same.
    also what is diff. between excis einvoice capture process for depot and non depot plant.
    regards,
    zafar

    Hi Zafar,
    There are no part 1 and part 2 in RG23D for depot scenario. You can update RG23D at the time of MIGO or J1IG "Capture excise invoice for depot".
    For cancelling you can use the same transaction. And to send the goods out from Depot plant use T-code J1IJ for updating RG23D.
    Rest process remains the same Extraction J2I5 and print through J2I6.
    BR

  • How to c heck if exicse invoice is executed for performa invoice ,

    how to c heck if exicse invoice is executed for performa invoice , cos u cannot see the excise invoice in doc flow where exactly can i see the excise num against the proforma,,, pls help

    Hi,
    Go to J1IIN->Excise Invoice>Change
    Select Alternate Selection-->Enter the Billing Document and Press Document Flow..
    Here u can see the full document flow
    Thanks,
    Sam

  • Excise invoice cancel process for depot plant

    Hi,
      We have made the GR and also capture the excise details with J1IG for depot,  now due to some problem we want to cancel both tge GR and RG entry,  so which transaction to be use to reverse the entry of J1IG.
    regards,
    zafar

    Hello!
    Have you tryed T.Code J1IJ to cancel the Excise invoice?
    Cheers!
    Plauto

  • Excise Invoice Print problem for multiple Invoices

    HI   All,
    I Have developed a Zprint prog and zsmartform and attached it to standard tcode J1IP .
    when we execute J1IP outputtype J1I10  we get multiple invoices . if we select one check box and execute and press print preview/ print we get the print correctly . But if we check multiple check boxes and press print/preview then we have to press print button multiple times/come  back for every invoice .
    My requirement  is when we execute J1iP for multiple invoices it should not come multiple times pop up window ..ie in one print request we need to send multiple invoices . How to achieve this functionality.

    Hi,
    use NO_OPEN and NO_CLOSE fields of CONTROL_PARAMETERS structure
    in Your call to smart form function module.
    Currently You print every invoice in separate spool request.
    You should print all invoices in one big spool requests.
    Set NO_CLOSE = X to all, except last one, and NO_OPEN = X to all, except first one.
    Regards,
    Przemysław

  • Invoice Approval process - re-approve invoice question

    Hi,
    I am trying to find out why and if possible the re-approval can be triggered for an approved invoice when: a invoice is already approved and a user modifies the distribution line amount or reserves a PO and rematches a PO that is doesn't get flagged for reapproval.
    I have noticed that the invoice needs re-validation but not re-approval.
    If you change the invoice amount at the header level that the invoice is reflagged for re-approval if it already has been approved.
    I would have thought the same process would occur if the distribution lines had been modified in any way.
    Thanks
    Catherine

    Hi Experts,
    I'm looking for a report showing me each Payment related to her proper PO's, and the remaining balance,
    Can you help me plz
    Thks

  • Create multiple capture processes for same table depending on column value

    Hi,
    is it possible to create multiple realtime downstream capture processes to capture changes for the same table depending on column value?
    Prakash

    i found it - by using subset rules
    prakash

  • Dealer Invoice !!

    Hi
    In procurement from 1st stage or 2nd stage dealers is there any special customization in SPRO or its just we have to tick the MRP indicator and change excise base value during excise capture.
    Any help will be appreciated
    Thank You

    Hiii
    I am reposting my question in the hope that may be some one answers my query.
    We are using TAXINJ in our implementation process. Now when we go for dealer invoice scenario an issue is there.
    We create the PO with zero tax code. We capture excise during MIGO(101) and tick the MRP indicator and also change the excise base value to its real one.
    Then we post J1IEX part2. Till here evrything happens perfectly.
    Now during MIRO we change the base value and give the real tax code ( which is supposed to calculate ED,Cess,SHcess and VAT). Here the systems does not take the excise posted in J1IEX part2 ( ie captured during MIGO)but calculates on the base value at 14% (which is wrong) and as a result VAT also calculated wrong.
    Now my query is ...Are we supposed to do special customization for this dealer scenario or not and if yes then can anyone guide me wats tht.
    Thank You

  • Dealer invoice+VAT

    Dear all,
    In dealer invoice, we have done the process by ticking the MRP indicator and entering the excise duties manually in MIGO. During MIRO, all the values are coming correctly except VAT.
    For ex:
    PO base value is 10000
    VAT is 400
    The total PO value is 10400.
    Now in MIGO we have reduced the base value to the extent of excise values by clicking the MRP indicator and then posted.
    So the GR entry:
    Stock A/c Dr: 9917.6(1000-Excise values(80(BED)1.6(Ecess)0.8(Shecess)
    to GR/IR A/c Cr. 9917.6
    Now in MIRO
    The following entry is coming:
    GR/IR clearing a/c dr 9917.6 dr
    Cenvat clearing a/c dr 80
    Cenvat clearing a/c dr 1.6
    Cenvat clearing a/c dr 0.8
    Vat input a/c dr 396
      To Vendor a/c cr 10396
    Now you can see the vat input amount instead of 400 it is coming as 396. This is wrong. Please suggest me how to make it correct.
    Thanks & Regards,
    A.Anandarajan.

    Hi,
    Thanks for your reply. We are using TAXINN. For dealer invoice only, the VAT is not getting calculated on BaseExcise duty. For normal invoices(exclusive), the VAT is getting calculated on BaseExcise duty. Please suggest me.
    Thanks & Regards,
    A.Anandarajan.

  • Dealer Excise details Capture

    Guru
    I want the details procedure  & configuration require  for dealer invoice received from vendor to  capture the excise details.
    Sudhir

    Hi,
    Hi,
    In case of procurement from dealers the PO price is excise inclusive. So before goods receipt in J1IEX capture the excise with respect to Purchase order. During capture change the Excise Base amount to the Accessable value that the vendor will provide in its transporter copy. Tick the MRP indicator in the Excise header in Miscellaneous tab. Give the Excise Invoice Number, date & save it. Now During Goods receipt refer the excise invoice number & put the same date & the excise amounts will be copied from the Excise invoice. Post the goods receipt. Check the External amount in the Quantity tab in the Goods receipt document. Put that amount in the MIRO screen during Invoice verification.
    Do the same for each & every line item in GR document. You will see that the VAT amount is properly calculated. The VAT amount will hit during invoice (MIRO). The CST is an inventorized item & will hit during the Goods receipt.
    Pl. see the OSS Note 1104456 .You will find the Solution in this OSS Note .There is a ZIP file for this Scenerio.
    Regards,
    Vikas

  • Reason for canceling invoices - VF11 - SD

    What is the procedure to capture reason for canceling invoices? The requirement is the users want to choose a reason from the given list of reasons (Like... Drop down option) when they cancel invoices.

    Hi,
    SAP dose not give you standard field for this use. The reason, I believe, that the system do not use billing cancel reason is the different processes followed. There for if you want to manage the reasons (though the process is the same), you can create different cancellation billing types.
    I think otherwise you will break SAP Standard.
    An alternative could be, if you also cancel the sales order, to manage the reasons there. In the sales order you will find appropriate fields for that.
    Regards,
    Ido
    Please reward if it helps.

  • AP Invoice BPEL Process is not populating into Line Interface tables

    Hi
    We are in the process of Creating BPEL Process for AP Invoice. Before we map Supplier incoming XSD, we have created our own XML and XSD and mapped with Standard APInvoice XML Gateway XSD. Transformation is able to populate header information into AP Invoice header Interface tables. And also its populating the Lines information but not the mapped column values. Its populating only Standard Derived values like Invoice_id, Invoice_line_id, Line_number, Line_type_lookup_code. We have mapped the Amount column to one of our incoming Amount column. Those values are not getting populated into Invoice Interface line tables.
    Please find the XML file data
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.20.2 -->
    <G_INVOICE_ID xmlns="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran">
    <INVOICE_NUM>CM011907</INVOICE_NUM>
    <INVOICE_TYPE_LOOKUP_CODE>STANDARD</INVOICE_TYPE_LOOKUP_CODE>
    <VENDOR_ID>1</VENDOR_ID>
    <VENDOR_SITE_ID>44</VENDOR_SITE_ID>
    <INVOICE_AMOUNT>2981</INVOICE_AMOUNT>
    <ORG_ID>83</ORG_ID>
    <SOURCE>XML GATEWAY</SOURCE>
    <INVOICE_ID>621</INVOICE_ID>
    <G_INVOICE_ID1>
    <DISTRIBUTION_LINE_NUMBER>1</DISTRIBUTION_LINE_NUMBER>
    <LINE_TYPE_LOOKUP_CODE>ITEM</LINE_TYPE_LOOKUP_CODE>
    <AMOUNT>2980</AMOUNT>
    <ACCOUNTING_DATE>19-JAN-07</ACCOUNTING_DATE>
    <DIST_CODE_COMBINATION_ID>1035</DIST_CODE_COMBINATION_ID>
    <INVOICE_ID1>621</INVOICE_ID1>
    <INVOICE_LINE_ID>1081</INVOICE_LINE_ID>
    </G_INVOICE_ID1>
    </G_INVOICE_ID>
    Transformation code
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="XSD">
    <schema location="ap_invoice.xsd"/>
    <rootElement name="G_INVOICE_ID" namespace="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="PROCESS_INVOICE_002.xsd"/>
    <rootElement name="PROCESS_INVOICE_002" namespace="http://TargetNamespace.com/ServiceName"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.1.0(build 061009.0802) AT [SUN SEP 30 22:21:07 GMT-05:00 2007]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns0="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ns1="http://TargetNamespace.com/ServiceName"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    exclude-result-prefixes="xsl ns0 xs ns1 nxsd xp20 bpws ora ehdr orcl ids hwf">
    <xsl:template match="/">
    <ns1:PROCESS_INVOICE_002>
    <ns1:CNTROLAREA>
    <ns1:BSR>
    <ns1:VERB>
    <xsl:attribute name="value">
    <xsl:value-of select='string("PROCESS")'/>
    </xsl:attribute>
    </ns1:VERB>
    <ns1:NOUN>
    <xsl:attribute name="value">
    <xsl:value-of select='string("INVOICE")'/>
    </xsl:attribute>
    </ns1:NOUN>
    <ns1:REVISION>
    <xsl:attribute name="value">
    <xsl:value-of select='string("002")'/>
    </xsl:attribute>
    </ns1:REVISION>
    </ns1:BSR>
    <ns1:SENDER>
    <ns1:LOGICALID>
    <xsl:value-of select='string("Kiran")'/>
    </ns1:LOGICALID>
    <ns1:COMPONENT>
    <xsl:value-of select='string("BPEL")'/>
    </ns1:COMPONENT>
    <ns1:TASK>
    <xsl:value-of select='string("APINVOICE")'/>
    </ns1:TASK>
    <ns1:REFERENCEID>
    <xsl:value-of select='string("2")'/>
    </ns1:REFERENCEID>
    <ns1:CONFIRMATION>
    <xsl:value-of select='string("3")'/>
    </ns1:CONFIRMATION>
    <ns1:LANGUAGE>
    <xsl:value-of select='string("ENG")'/>
    </ns1:LANGUAGE>
    <ns1:CODEPAGE>
    <xsl:value-of select='string("US7ASCII")'/>
    </ns1:CODEPAGE>
    <ns1:AUTHID>
    <xsl:value-of select='string("APPS")'/>
    </ns1:AUTHID>
    </ns1:SENDER>
    <ns1:DATETIME>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("CREATION")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:YEAR>
    <xsl:value-of select="xp20:year-from-dateTime(xp20:current-dateTime())"/>
    </ns1:YEAR>
    <ns1:MONTH>
    <xsl:value-of select="xp20:month-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MONTH>
    <ns1:DAY>
    <xsl:value-of select="xp20:day-from-dateTime(xp20:current-dateTime())"/>
    </ns1:DAY>
    <ns1:HOUR>
    <xsl:value-of select="xp20:hours-from-dateTime(xp20:current-dateTime())"/>
    </ns1:HOUR>
    <ns1:MINUTE>
    <xsl:value-of select="xp20:minutes-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MINUTE>
    <ns1:SECOND>
    <xsl:value-of select="xp20:seconds-from-dateTime(xp20:current-dateTime())"/>
    </ns1:SECOND>
    <ns1:SUBSECOND>
    <xsl:value-of select='string("356")'/>
    </ns1:SUBSECOND>
    <ns1:TIMEZONE>
    <xsl:value-of select="xp20:timezone-from-dateTime(xp20:current-dateTime())"/>
    </ns1:TIMEZONE>
    </ns1:DATETIME>
    </ns1:CNTROLAREA>
    <ns1:DATAAREA>
    <ns1:PROCESS_INVOICE>
    <ns1:INVHEADER>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("DOCUMENT")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_AMOUNT"/>
    </ns1:VALUE>
    <ns1:NUMOFDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:NUMOFDEC>
    <ns1:SIGN>
    <xsl:value-of select='string("+")'/>
    </ns1:SIGN>
    <ns1:CURRENCY>
    <xsl:value-of select='string("USD")'/>
    </ns1:CURRENCY>
    <ns1:DRCR>
    <xsl:value-of select='string("DR")'/>
    </ns1:DRCR>
    </ns1:AMOUNT>
    <ns1:DATETIME>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("ACCOUNTING")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:YEAR>
    <xsl:value-of select="xp20:year-from-dateTime(xp20:current-dateTime())"/>
    </ns1:YEAR>
    <ns1:MONTH>
    <xsl:value-of select="xp20:month-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MONTH>
    <ns1:DAY>
    <xsl:value-of select="xp20:day-from-dateTime(xp20:current-dateTime())"/>
    </ns1:DAY>
    <ns1:HOUR>
    <xsl:value-of select="xp20:hours-from-dateTime(xp20:current-dateTime())"/>
    </ns1:HOUR>
    <ns1:MINUTE>
    <xsl:value-of select="xp20:minutes-from-dateTime(xp20:current-dateTime())"/>
    </ns1:MINUTE>
    <ns1:SECOND>
    <xsl:value-of select="xp20:seconds-from-dateTime(xp20:current-dateTime())"/>
    </ns1:SECOND>
    <ns1:SUBSECOND>
    <xsl:value-of select='string("356")'/>
    </ns1:SUBSECOND>
    <ns1:TIMEZONE>
    <xsl:value-of select="xp20:timezone-from-dateTime(xp20:current-dateTime())"/>
    </ns1:TIMEZONE>
    </ns1:DATETIME>
    <ns1:DOCUMENTID>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_NUM"/>
    </ns1:DOCUMENTID>
    <ns1:DESCRIPTN>
    <xsl:text disable-output-escaping="no">DescriptionLocalDeployment</xsl:text>
    </ns1:DESCRIPTN>
    <ns1:PARTNER>
    <ns1:PARTNRID>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:VENDOR_ID"/>
    </ns1:PARTNRID>
    </ns1:PARTNER>
    <ns1:DOCUMNTREF>
    <ns1:DOCUMENTID>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_NUM"/>
    </ns1:DOCUMENTID>
    </ns1:DOCUMNTREF>
    <ns1:INVALLWNCE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    <ns1:INVCHARGE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    </ns1:INVCHARGE>
    </ns1:INVALLWNCE>
    </ns1:INVHEADER>
    <ns1:INVALLWNCE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    </ns1:INVALLWNCE>
    <ns1:INVCHARGE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    </ns1:QUANTITY>
    </ns1:INVCHARGE>
    <ns1:INVLINE>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("DOCUMENT")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_AMOUNT"/>
    </ns1:VALUE>
    <ns1:NUMOFDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:NUMOFDEC>
    <ns1:SIGN>
    <xsl:value-of select='string("+")'/>
    </ns1:SIGN>
    <ns1:CURRENCY>
    <xsl:value-of select='string("USD")'/>
    </ns1:CURRENCY>
    <ns1:DRCR>
    <xsl:value-of select='string("DR")'/>
    </ns1:DRCR>
    </ns1:AMOUNT>
    <ns1:OPERAMT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("COST")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:G_INVOICE_ID1/ns0:AMOUNT"/>
    </ns1:VALUE>
    <ns1:NUMOFDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:NUMOFDEC>
    <ns1:SIGN>
    <xsl:value-of select='string("+")'/>
    </ns1:SIGN>
    <ns1:CURRENCY>
    <xsl:value-of select='string("USD")'/>
    </ns1:CURRENCY>
    <ns1:UOMVALUE>
    <xsl:value-of select='string("EA")'/>
    </ns1:UOMVALUE>
    <ns1:UOMNUMDEC>
    <xsl:value-of select="number(0.0)"/>
    </ns1:UOMNUMDEC>
    <ns1:UOM>
    <xsl:value-of select='string("EA")'/>
    </ns1:UOM>
    </ns1:OPERAMT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    <ns1:LINENUM>
    <xsl:value-of select="/ns0:G_INVOICE_ID/ns0:G_INVOICE_ID1/ns0:DISTRIBUTION_LINE_NUMBER"/>
    </ns1:LINENUM>
    <ns1:DESCRIPTN>
    <xsl:text disable-output-escaping="no">LineDescription</xsl:text>
    </ns1:DESCRIPTN>
    <ns1:INVTAX>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("TAX")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    <ns1:VALUE>
    <xsl:value-of select="number(0.0)"/>
    </ns1:VALUE>
    </ns1:QUANTITY>
    </ns1:INVTAX>
    </ns1:INVLINE>
    <ns1:INVTAX>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("TAX")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    </ns1:QUANTITY>
    <ns1:INVTAX>
    <ns1:AMOUNT>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("TAX")'/>
    </xsl:attribute>
    <xsl:attribute name="type">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    <xsl:attribute name="index">
    <xsl:value-of select='string("T")'/>
    </xsl:attribute>
    </ns1:AMOUNT>
    <ns1:QUANTITY>
    <xsl:attribute name="qualifier">
    <xsl:value-of select='string("OTHER")'/>
    </xsl:attribute>
    </ns1:QUANTITY>
    </ns1:INVTAX>
    </ns1:INVTAX>
    </ns1:PROCESS_INVOICE>
    </ns1:DATAAREA>
    </ns1:PROCESS_INVOICE_002>
    </xsl:template>
    </xsl:stylesheet>
    Oracle Standard XSD
    <?xml version="1.0" encoding="UTF-8" ?>
    <!--This Schema has been generated from a DTD. A target namespace has been added to the schema.-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://TargetNamespace.com/ServiceName" xmlns="http://TargetNamespace.com/ServiceName" nxsd:version="DTD" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd">
    <xs:element name="BOMNAME" type="xs:string"/>
    <xs:element name="LEDGER" type="xs:string"/>
    <xs:element name="VERB">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="value" fixed="PROCESS" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SOSLINENUM" type="xs:string"/>
    <xs:element name="ITEMCATID" type="xs:string"/>
    <xs:element name="DRAWING" type="xs:string"/>
    <xs:element name="POSITION" type="xs:string"/>
    <xs:element name="CLSSLMNTID" type="xs:string"/>
    <xs:element name="RQSLINENUM" type="xs:string"/>
    <xs:element name="SHIPNOTES" type="xs:string"/>
    <xs:element name="USUPINVFG" type="xs:string"/>
    <xs:element name="SHIPPERNUM" type="xs:string"/>
    <xs:element name="TRACKFLG" type="xs:string"/>
    <xs:element name="QTETYPE" type="xs:string"/>
    <xs:element name="MCHDOCTYPE" type="xs:string"/>
    <xs:element name="RECEIPTID" type="xs:string"/>
    <xs:element name="OPSTATUS" type="xs:string"/>
    <xs:element name="CTCHWCONV" type="xs:string"/>
    <xs:element name="POENTITY" type="xs:string"/>
    <xs:element name="RELLOCID" type="xs:string"/>
    <xs:element name="PARENTID" type="xs:string"/>
    <xs:element name="QUALFNTYPE" type="xs:string"/>
    <xs:element name="COUNTY" type="xs:string"/>
    <xs:element name="QTEREVISON" type="xs:string"/>
    <xs:element name="PRODOSTATS" type="xs:string"/>
    <xs:element name="RESORCEUSE" type="xs:string"/>
    <xs:element name="FEATUREID" type="xs:string"/>
    <xs:element name="PRODSEQNUM" type="xs:string"/>
    <xs:element name="PARENTLOT">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="ECOPRIORITY" type="xs:string"/>
    <xs:element name="PRODCTLINE" type="xs:string"/>
    <xs:element name="UNIT" type="xs:string"/>
    <xs:element name="RSBLINENUM" type="xs:string"/>
    <xs:element name="REQLINENUM" type="xs:string"/>
    <xs:element name="COMPREFDES" type="xs:string"/>
    <xs:element name="SIGN" type="xs:string"/>
    <xs:element name="ITEM" type="xs:string"/>
    <xs:element name="CATALGNAME" type="xs:string"/>
    <xs:element name="FAILTYPE" type="xs:string"/>
    <xs:element name="MACHINEID" type="xs:string"/>
    <xs:element name="SCHLINENUM" type="xs:string"/>
    <xs:element name="REGION" type="xs:string"/>
    <xs:element name="ONETIME" type="xs:string"/>
    <xs:element name="MAINTCALID" type="xs:string"/>
    <xs:element name="STEPNUM" type="xs:string"/>
    <xs:element name="PRODSEQBEG" type="xs:string"/>
    <xs:element name="ITEMDEFN" type="xs:string"/>
    <xs:element name="HAZRDMATL" type="xs:string"/>
    <xs:element name="ITEMSTATUS" type="xs:string"/>
    <xs:element name="BUDGSTAT" type="xs:string"/>
    <xs:element name="MAINTLOCID" type="xs:string"/>
    <xs:element name="MACHSUDEP" type="xs:string"/>
    <xs:element name="OPTIONID" type="xs:string"/>
    <xs:element name="MINUTE" type="xs:string"/>
    <xs:element name="SERIALNUM" type="xs:string"/>
    <xs:element name="SHIPMATLID" type="xs:string"/>
    <xs:element name="MACHSTATE" type="xs:string"/>
    <xs:element name="WARRANTY" type="xs:string"/>
    <xs:element name="CTCHWFLAG" type="xs:string"/>
    <xs:element name="USERID" type="xs:string"/>
    <xs:element name="ROUTINGVAR" type="xs:string"/>
    <xs:element name="PAYMETHOD" type="xs:string"/>
    <xs:element name="OPERATNID" type="xs:string"/>
    <xs:element name="PYMTTERM">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="DATETIME"/>
    <xs:element minOccurs="0" ref="DATETIME"/>
    <xs:element minOccurs="0" ref="DATETIME"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="TERMID"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="PARTIALSHP" type="xs:string"/>
    <xs:element name="RFQLNSTAT" type="xs:string"/>
    <xs:element name="FRMITMCLSS" type="xs:string"/>
    <xs:element name="WAGEGROUP" type="xs:string"/>
    <xs:element name="RSPSDLNUM" type="xs:string"/>
    <xs:element name="MSGID" type="xs:string"/>
    <xs:element name="ITMFTVAL" type="xs:string"/>
    <xs:element name="SHPUNITTOT" type="xs:string"/>
    <xs:element name="ECOTYPE" type="xs:string"/>
    <xs:element name="DESCRIPTN" type="xs:string"/>
    <xs:element name="BOMUSAGE" type="xs:string"/>
    <xs:element name="USERAREA">
    <xs:complexType mixed="true">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:any/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="MOPRIORITY" type="xs:string"/>
    <xs:element name="PARTNRROLE" type="xs:string"/>
    <xs:element name="MSDSID" type="xs:string"/>
    <xs:element name="TELEPHONE">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SHIPPERID" type="xs:string"/>
    <xs:element name="DELIVERTO" type="xs:string"/>
    <xs:element name="EXPIREFLAG" type="xs:string"/>
    <xs:element name="PACKNGDESC" type="xs:string"/>
    <xs:element name="FTDATATYPE" type="xs:string"/>
    <xs:element name="RFQREVISON" type="xs:string"/>
    <xs:element name="PROCESS_INVOICE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="INVHEADER"/>
    <xs:choice maxOccurs="unbounded">
    <xs:element ref="INVALLWNCE"/>
    <xs:element ref="INVCHARGE"/>
    <xs:element ref="INVLINE"/>
    <xs:element ref="INVTAX"/>
    </xs:choice>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="MACHCLASS" type="xs:string"/>
    <xs:element name="MOSTATUS" type="xs:string"/>
    <xs:element name="QUALIF" type="xs:string"/>
    <xs:element name="NUMOFDEC" type="xs:string"/>
    <xs:element name="GLENTITYD" type="xs:string"/>
    <xs:element name="ROUTEID" type="xs:string"/>
    <xs:element name="BUYERID" type="xs:string"/>
    <xs:element name="XREFTYPEID" type="xs:string"/>
    <xs:element name="POSTALCODE" type="xs:string"/>
    <xs:element name="YEAR" type="xs:string"/>
    <xs:element name="FRGHTTERMS" type="xs:string"/>
    <xs:element name="PICLINENUM" type="xs:string"/>
    <xs:element name="INVENDISP" type="xs:string"/>
    <xs:element name="GLENTITYS" type="xs:string"/>
    <xs:element name="FIXEDASSET" type="xs:string"/>
    <xs:element name="COMMODITY">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SUPERVISOR" type="xs:string"/>
    <xs:element name="APPROVERID" type="xs:string"/>
    <xs:element name="SHPUNITSEQ" type="xs:string"/>
    <xs:element name="RSLINENUM" type="xs:string"/>
    <xs:element name="RFQID" type="xs:string"/>
    <xs:element name="TERMFLAG" type="xs:string"/>
    <xs:element name="OPERATTYPE" type="xs:string"/>
    <xs:element name="BSR">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="VERB"/>
    <xs:element ref="NOUN"/>
    <xs:element ref="REVISION"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="TRAKNGFLAG" type="xs:string"/>
    <xs:element name="RFQTYPE" type="xs:string"/>
    <xs:element name="OVERIDPRIC" type="xs:string"/>
    <xs:element name="WORKORDER" type="xs:string"/>
    <xs:element name="PRODORDER" type="xs:string"/>
    <xs:element name="ACCTTYPE" type="xs:string"/>
    <xs:element name="FLEXBKTID" type="xs:string"/>
    <xs:element name="LINENUM" type="xs:string"/>
    <xs:element name="MCHDOCID" type="xs:string"/>
    <xs:element name="POLNSTATUS" type="xs:string"/>
    <xs:element name="TXANALYSIS" type="xs:string"/>
    <xs:element name="PSCLINENUM" type="xs:string"/>
    <xs:element name="RELMACHID" type="xs:string"/>
    <xs:element name="KANBAN" type="xs:string"/>
    <xs:element name="SOLNSTATUS" type="xs:string"/>
    <xs:element name="TEMPRATURE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="VALUE"/>
    <xs:element ref="NUMOFDEC"/>
    <xs:element ref="SIGN"/>
    </xs:sequence>
    <xs:attribute name="qualifier" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="ACTUAL"/>
    <xs:enumeration value="DELIVERY"/>
    <xs:enumeration value="LOADING"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="CELSIUS"/>
    <xs:enumeration value="FAHRENHEIT"/>
    <xs:enumeration value="KELVIN"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:complexType>
    </xs:element>
    <xs:element name="OLDITMREV" type="xs:string"/>
    <xs:element name="VALUECLASS" type="xs:string"/>
    <xs:element name="DAY" type="xs:string"/>
    <xs:element name="CONTACT">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="NAME"/>
    <xs:element minOccurs="0" ref="CONTCTTYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="EMAIL"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="FAX"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="NAME"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="TELEPHONE"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="VOUCHER" type="xs:string"/>
    <xs:element name="INVCHARGE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element ref="CHARGETYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PARTNER"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="OVERTIME" type="xs:string"/>
    <xs:element name="EMPLOYEEID" type="xs:string"/>
    <xs:element name="DENSITYFAC" type="xs:string"/>
    <xs:element name="SALESORDID" type="xs:string"/>
    <xs:element name="ITEMVAR" type="xs:string"/>
    <xs:element name="SHIPPRIOR" type="xs:string"/>
    <xs:element name="CONFIRMATION" type="xs:string"/>
    <xs:element name="STEPTYPE" type="xs:string"/>
    <xs:element name="TAXCODE" type="xs:string"/>
    <xs:element name="ENDITEMID" type="xs:string"/>
    <xs:element name="QUALFNVAL" type="xs:string"/>
    <xs:element name="SAFTYCLASS" type="xs:string"/>
    <xs:element name="LABORID" type="xs:string"/>
    <xs:element name="UOMVALUE" type="xs:string"/>
    <xs:element name="PROXMONTH" type="xs:string"/>
    <xs:element name="REPRTGFLAG" type="xs:string"/>
    <xs:element name="INVLINENUM" type="xs:string"/>
    <xs:element name="ROUTEVAR" type="xs:string"/>
    <xs:element name="SPLITABLE" type="xs:string"/>
    <xs:element name="TITLE" type="xs:string"/>
    <xs:element name="ALLOWTYPE" type="xs:string"/>
    <xs:element name="TOITMCLSS" type="xs:string"/>
    <xs:element name="SOLINENUM" type="xs:string"/>
    <xs:element name="FILENAME" type="xs:string"/>
    <xs:element name="CURRTO" type="xs:string"/>
    <xs:element name="SAFETYTYPE" type="xs:string"/>
    <xs:element name="NOTES">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="COMPLEVEL" type="xs:string"/>
    <xs:element name="RESORCTYP" type="xs:string"/>
    <xs:element name="DOCUMENTID" type="xs:string"/>
    <xs:element name="ROUTELEVEL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="FRMSITELVL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="RECEPTDISP" type="xs:string"/>
    <xs:element name="PRODORDID" type="xs:string"/>
    <xs:element name="CLASSLEVEL" type="xs:string"/>
    <xs:element name="REASONCODE" type="xs:string"/>
    <xs:element name="OTELIGIBLE" type="xs:string"/>
    <xs:element name="QUALFNID" type="xs:string"/>
    <xs:element name="RSPREVNUM" type="xs:string"/>
    <xs:element name="INVLINE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="OPERAMT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element ref="LINENUM"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="ITEM"/>
    <xs:element minOccurs="0" ref="ITEMTYPE"/>
    <xs:element minOccurs="0" ref="ITEMX"/>
    <xs:element minOccurs="0" ref="OPENITEM"/>
    <xs:element minOccurs="0" ref="PROJACTVTY"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PROJRESEL"/>
    <xs:element minOccurs="0" ref="UNIT"/>
    <xs:element minOccurs="0" ref="UPC"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="DOCUMNTREF"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVALLWNCE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVLINE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="INDLINENUM" type="xs:string"/>
    <xs:element name="MACHID" type="xs:string"/>
    <xs:element name="RECLINENUM" type="xs:string"/>
    <xs:element name="FRGHTITEM" type="xs:string"/>
    <xs:element name="RFQIDX" type="xs:string"/>
    <xs:element name="TRNSFRTYPE" type="xs:string"/>
    <xs:element name="PARTNRRATG" type="xs:string"/>
    <xs:element name="BOMREVISON" type="xs:string"/>
    <xs:element name="ACTTYPE" type="xs:string"/>
    <xs:element name="SCHEDULEID" type="xs:string"/>
    <xs:element name="REF">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="CONTRACTB" type="xs:string"/>
    <xs:element name="DISCRPTYPE" type="xs:string"/>
    <xs:element name="DOCTYPE" type="xs:string"/>
    <xs:element name="MAINTORDID" type="xs:string"/>
    <xs:element name="LINEFEED" type="xs:string"/>
    <xs:element name="BOMTYPE" type="xs:string"/>
    <xs:element name="CNTCTTYPE" type="xs:string"/>
    <xs:element name="MATCHTYPE" type="xs:string"/>
    <xs:element name="CONTRACTS" type="xs:string"/>
    <xs:element name="EMPCATEGRY" type="xs:string"/>
    <xs:element name="CHARGE">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="OPERAMT"/>
    <xs:element minOccurs="0" ref="CHARGEID"/>
    <xs:element minOccurs="0" ref="CHARGETYPE"/>
    <xs:element minOccurs="0" ref="CHGLINENUM"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="DISTRIBUTN"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="ROUTINGREV" type="xs:string"/>
    <xs:element name="RFQLINENUM" type="xs:string"/>
    <xs:element name="RELITEMID" type="xs:string"/>
    <xs:element name="CLSSELMT">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="MOPARENTID" type="xs:string"/>
    <xs:element name="REVISION">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="value" fixed="002" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SUBLINENUM" type="xs:string"/>
    <xs:element name="ITEMX" type="xs:string"/>
    <xs:element name="OWNRSHPCDE" type="xs:string"/>
    <xs:element name="SHPMTLDESC" type="xs:string"/>
    <xs:element name="PERSONCODE" type="xs:string"/>
    <xs:element name="APPROVE" type="xs:string"/>
    <xs:element name="BOMSTATUS" type="xs:string"/>
    <xs:element name="FAILUREID" type="xs:string"/>
    <xs:element name="ITEMDESC" type="xs:string"/>
    <xs:element name="ROUTINGID" type="xs:string"/>
    <xs:element name="CHARGEID" type="xs:string"/>
    <xs:element name="WAGETYPE" type="xs:string"/>
    <xs:element name="DATETIME">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="YEAR"/>
    <xs:element ref="MONTH"/>
    <xs:element ref="DAY"/>
    <xs:element ref="HOUR"/>
    <xs:element ref="MINUTE"/>
    <xs:element ref="SECOND"/>
    <xs:element ref="SUBSECOND"/>
    <xs:element ref="TIMEZONE"/>
    </xs:sequence>
    <xs:attribute name="qualifier" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="ACCOUNTING"/>
    <xs:enumeration value="ACTEND"/>
    <xs:enumeration value="ACTSTART"/>
    <xs:enumeration value="APPREQ"/>
    <xs:enumeration value="APPROVAL"/>
    <xs:enumeration value="AVAILABLE"/>
    <xs:enumeration value="BKTEND"/>
    <xs:enumeration value="BKTSTART"/>
    <xs:enumeration value="CANCEL"/>
    <xs:enumeration value="CHANGEDATE"/>
    <xs:enumeration value="COMPDATE"/>
    <xs:enumeration value="CONSUME"/>
    <xs:enumeration value="CREATION"/>
    <xs:enumeration value="CUMULATIVE"/>
    <xs:enumeration value="DELIVACT"/>
    <xs:enumeration value="DELIVSCHED"/>
    <xs:enumeration value="DISCNT"/>
    <xs:enumeration value="DOCUMENT"/>
    <xs:enumeration value="DUE"/>
    <xs:enumeration value="EARLSTEFF"/>
    <xs:enumeration value="EARLSTSHIP"/>
    <xs:enumeration value="EFFECTIVE"/>
    <xs:enumeration value="ENGCHG"/>
    <xs:enumeration value="EXECFINISH"/>
    <xs:enumeration value="EXECSTART"/>
    <xs:enumeration value="EXPIRATION"/>
    <xs:enumeration value="FAILDATE"/>
    <xs:enumeration value="FORECASTF"/>
    <xs:enumeration value="FORECASTS"/>
    <xs:enumeration value="FROM"/>
    <xs:enumeration value="GENERATION"/>
    <xs:enumeration value="IMPL"/>
    <xs:enumeration value="INVOICE"/>
    <xs:enumeration value="JOBDUE"/>
    <xs:enumeration value="LABORFINSH"/>
    <xs:enumeration value="LABORSTART"/>
    <xs:enumeration value="LASTUSED"/>
    <xs:enumeration value="LOADING"/>
    <xs:enumeration value="MATCHING"/>
    <xs:enumeration value="MSMENTDATE"/>
    <xs:enumeration value="NEEDDELV"/>
    <xs:enumeration value="OPFINISH"/>
    <xs:enumeration value="OPSTART"/>
    <xs:enumeration value="PAYEND"/>
    <xs:enumeration value="PLANEND"/>
    <xs:enumeration value="PLANSTART"/>
    <xs:enumeration value="PO"/>
    <xs:enumeration value="PROMDELV"/>
    <xs:enumeration value="PROMSHIP"/>
    <xs:enumeration value="PYMTTERM"/>
    <xs:enumeration value="RECEIVED"/>
    <xs:enumeration value="REPORTDATE"/>
    <xs:enumeration value="REPORTNGFN"/>
    <xs:enumeration value="REPORTNGST"/>
    <xs:enumeration value="REQUIRED"/>
    <xs:enumeration value="RESORCDWNF"/>
    <xs:enumeration value="RESORCDWNS"/>
    <xs:enumeration value="RSPDDATE"/>
    <xs:enumeration value="RSPDOCGEN"/>
    <xs:enumeration value="SCHEND"/>
    <xs:enumeration value="SCHSTART"/>
    <xs:enumeration value="SETUPFINSH"/>
    <xs:enumeration value="SETUPSTART"/>
    <xs:enumeration value="SHIP"/>
    <xs:enumeration value="SHIPSCHED"/>
    <xs:enumeration value="STATUSDATE"/>
    <xs:enumeration value="TEARDOWNF"/>
    <xs:enumeration value="TEARDOWNS"/>
    <xs:enumeration value="TO"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="T"/>
    <xs:enumeration value="F"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="index" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="BOMALTID" type="xs:string"/>
    <xs:element name="QTELINENUM" type="xs:string"/>
    <xs:element name="DISPOSITN" type="xs:string"/>
    <xs:element name="CATALOGRV" type="xs:string"/>
    <xs:element name="PROJRESEL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="TAXEXEMPT" type="xs:string"/>
    <xs:element name="OPTCLSSID" type="xs:string"/>
    <xs:element name="PREFERENCE" type="xs:string"/>
    <xs:element name="WORKCENTER" type="xs:string"/>
    <xs:element name="PRICELSTID" type="xs:string"/>
    <xs:element name="CLSELMLVL" type="xs:string"/>
    <xs:element name="POLINENUM" type="xs:string"/>
    <xs:element name="SAVESETUP" type="xs:string"/>
    <xs:element name="PROPERTY">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SUFFIX" type="xs:string"/>
    <xs:element name="CONDSTATUS" type="xs:string"/>
    <xs:element name="EXCPLINNUM" type="xs:string"/>
    <xs:element name="PMID" type="xs:string"/>
    <xs:element name="TOSITELVL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DUNSNUMBER" type="xs:string"/>
    <xs:element name="LOTLEVEL">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DISTCENTER" type="xs:string"/>
    <xs:element name="RFQSTATUS" type="xs:string"/>
    <xs:element name="TERMID" type="xs:string"/>
    <xs:element name="SHIFT" type="xs:string"/>
    <xs:element name="PARTNRID" type="xs:string"/>
    <xs:element name="NEWITMREV" type="xs:string"/>
    <xs:element name="DAYSNUM" type="xs:string"/>
    <xs:element name="SYNCIND" type="xs:string"/>
    <xs:element name="FTVALIND" type="xs:string"/>
    <xs:element name="FUND" type="xs:string"/>
    <xs:element name="PRODSEQEND" type="xs:string"/>
    <xs:element name="TRACKINGID" type="xs:string"/>
    <xs:element name="LINETYPE" type="xs:string"/>
    <xs:element name="INVTAX">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" ref="TAXCODE"/>
    <xs:element minOccurs="0" ref="TAXJRSDCTN"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="CONTAINRID" type="xs:string"/>
    <xs:element name="OPRGRPNAME" type="xs:string"/>
    <xs:element name="CITY" type="xs:string"/>
    <xs:element name="APPROVED" type="xs:string"/>
    <xs:element name="SALESORG">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="NEWREVFLAG" type="xs:string"/>
    <xs:element name="ACCTYEAR" type="xs:string"/>
    <xs:element name="RESORCKIN" type="xs:string"/>
    <xs:element name="BACKORDIND" type="xs:string"/>
    <xs:element name="EMPSTATUS" type="xs:string"/>
    <xs:element name="PRINT" type="xs:string"/>
    <xs:element name="INVALLWNCE">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element ref="ALLOWTYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="JPID" type="xs:string"/>
    <xs:element name="QTELNSTAT" type="xs:string"/>
    <xs:element name="CURRENCY" type="xs:string"/>
    <xs:element name="CONSUMPTN" type="xs:string"/>
    <xs:element name="RESORCLVL" type="xs:string"/>
    <xs:element name="SUBSECOND" type="xs:string"/>
    <xs:element name="MANDATORY" type="xs:string"/>
    <xs:element name="BOMID" type="xs:string"/>
    <xs:element name="INQUEUEID" type="xs:string"/>
    <xs:element name="PRICETYPE" type="xs:string"/>
    <xs:element name="EMPQUALIF" type="xs:string"/>
    <xs:element name="CMPRSNID" type="xs:string"/>
    <xs:element name="FTVALQUAL" type="xs:string"/>
    <xs:element name="DOCUMENTRV" type="xs:string"/>
    <xs:element name="FIELDID" type="xs:string"/>
    <xs:element name="QTEID" type="xs:string"/>
    <xs:element name="ITEMCLASSID" type="xs:string"/>
    <xs:element name="LOADPOINT" type="xs:string"/>
    <xs:element name="EMAIL" type="xs:string"/>
    <xs:element name="EXCPTNCODE" type="xs:string"/>
    <xs:element name="COSTTYPE" type="xs:string"/>
    <xs:element name="PRDLINENUM" type="xs:string"/>
    <xs:element name="PLANNERID" type="xs:string"/>
    <xs:element name="EXPORTLIC" type="xs:string"/>
    <xs:element name="WRKSCHDID" type="xs:string"/>
    <xs:element name="CLASSFN">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="SOSTATUS" type="xs:string"/>
    <xs:element name="SHPUNITSTS" type="xs:string"/>
    <xs:element name="LANGUAGE" type="xs:string"/>
    <xs:element name="DIVISION" type="xs:string"/>
    <xs:element name="FAILCODE" type="xs:string"/>
    <xs:element name="REQLNSTAT" type="xs:string"/>
    <xs:element name="TOPARTY" type="xs:string"/>
    <xs:element name="COMMENTS" type="xs:string"/>
    <xs:element name="RSLINETYPE" type="xs:string"/>
    <xs:element name="CLSSSCHMID" type="xs:string"/>
    <xs:element name="ITEMTYPE" type="xs:string"/>
    <xs:element name="ADDRESS">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ADDRLINE"/>
    <xs:element minOccurs="0" ref="ADDRTYPE"/>
    <xs:element minOccurs="0" ref="CITY"/>
    <xs:element minOccurs="0" ref="COUNTRY"/>
    <xs:element minOccurs="0" ref="COUNTY"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="FAX"/>
    <xs:element minOccurs="0" ref="POSTALCODE"/>
    <xs:element minOccurs="0" ref="REGION"/>
    <xs:element minOccurs="0" ref="STATEPROVN"/>
    <xs:element minOccurs="0" ref="TAXJRSDCTN"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="TELEPHONE"/>
    <xs:element minOccurs="0" ref="URL"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="REQUESTER" type="xs:string"/>
    <xs:element name="BUDGVER" type="xs:string"/>
    <xs:element name="CONTCTTYPE" type="xs:string"/>
    <xs:element name="BUDGTXN" type="xs:string"/>
    <xs:element name="DATAAREA">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="PROCESS_INVOICE"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="UPCPKGIND" type="xs:string"/>
    <xs:element name="UPDTWIPFG" type="xs:string"/>
    <xs:element name="NAME">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="OPERATNSEQ" type="xs:string"/>
    <xs:element name="DISPOSITON" type="xs:string"/>
    <xs:element name="EMPNAME" type="xs:string"/>
    <xs:element name="ACCTPERIOD" type="xs:string"/>
    <xs:element name="TIMEZONE" type="xs:string"/>
    <xs:element name="RSPLINNUM" type="xs:string"/>
    <xs:element name="INMRPPLAN" type="xs:string"/>
    <xs:element name="GEOGRAPHY" type="xs:string"/>
    <xs:element name="USEUPITEM" type="xs:string"/>
    <xs:element name="OUTQUEUEID" type="xs:string"/>
    <xs:element name="COSTCENTER" type="xs:string"/>
    <xs:element name="PROJTXTYPE" type="xs:string"/>
    <xs:element name="TAXID" type="xs:string"/>
    <xs:element name="AUTHID" type="xs:string"/>
    <xs:element name="VALUE" type="xs:string"/>
    <xs:element name="INSPECTRID" type="xs:string"/>
    <xs:element name="JEID" type="xs:string"/>
    <xs:element name="PUBLISHER" type="xs:string"/>
    <xs:element name="HRORG">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DISTRIBUTN">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="OPERAMT"/>
    <xs:element minOccurs="0" ref="BUSNAREA"/>
    <xs:element minOccurs="0" ref="COSTCENTER"/>
    <xs:element minOccurs="0" ref="DEPARTMENT"/>
    <xs:element minOccurs="0" ref="DIVISION"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ELEMENT"/>
    <xs:element minOccurs="0" ref="FUND"/>
    <xs:element minOccurs="0" ref="GEOGRAPHY"/>
    <xs:element minOccurs="0" ref="GLENTITYS"/>
    <xs:element minOccurs="0" ref="GLNOMACCT"/>
    <xs:element minOccurs="0" ref="PROFITCTR"/>
    <xs:element minOccurs="0" ref="PROJECT"/>
    <xs:element minOccurs="0" ref="UNIT"/>
    <xs:element minOccurs="0" ref="WAREHOUSE"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="FILETYPE" type="xs:string"/>
    <xs:element name="CLASSFNID" type="xs:string"/>
    <xs:element name="PSBLINENUM" type="xs:string"/>
    <xs:element name="JOBCODE" type="xs:string"/>
    <xs:element name="TAXJRSDCTN" type="xs:string"/>
    <xs:element name="TOOLCLASS" type="xs:string"/>
    <xs:element name="OPERAMT">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="VALUE"/>
    <xs:element ref="NUMOFDEC"/>
    <xs:element ref="SIGN"/>
    <xs:element ref="CURRENCY"/>
    <xs:element ref="UOMVALUE"/>
    <xs:element ref="UOMNUMDEC"/>
    <xs:element ref="UOM"/>
    </xs:sequence>
    <xs:attribute name="qualifier" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="COST"/>
    <xs:enumeration value="EXTENDED"/>
    <xs:enumeration value="FREIGHT"/>
    <xs:enumeration value="UNIT"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="T"/>
    <xs:enumeration value="F"/>
    <xs:enumeration value="OTHER"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:complexType>
    </xs:element>
    <xs:element name="OPTCLSNAME" type="xs:string"/>
    <xs:element name="DEFLTVALUE" type="xs:string"/>
    <xs:element name="PARTNER">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="NAME"/>
    <xs:element minOccurs="0" ref="ONETIME"/>
    <xs:element minOccurs="0" ref="PARTNRID"/>
    <xs:element minOccurs="0" ref="PARTNRTYPE"/>
    <xs:element minOccurs="0" ref="SYNCIND"/>
    <xs:element minOccurs="0" ref="ACTIVE"/>
    <xs:element minOccurs="0" ref="CURRENCY"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="DUNSNUMBER"/>
    <xs:element minOccurs="0" ref="GLENTITYS"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="NAME"/>
    <xs:element minOccurs="0" ref="PARENTID"/>
    <xs:element minOccurs="0" ref="PARTNRIDX"/>
    <xs:element minOccurs="0" ref="PARTNRRATG"/>
    <xs:element minOccurs="0" ref="PARTNRROLE"/>
    <xs:element minOccurs="0" ref="PAYMETHOD"/>
    <xs:element minOccurs="0" ref="TAXEXEMPT"/>
    <xs:element minOccurs="0" ref="TAXID"/>
    <xs:element minOccurs="0" ref="TERMID"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ADDRESS"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="ATTCHREF"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="CONTACT"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="PRICELSTRV" type="xs:string"/>
    <xs:element name="FIELDVALUE" type="xs:string"/>
    <xs:element name="TRANSMETHD" type="xs:string"/>
    <xs:element name="UNITTYPE" type="xs:string"/>
    <xs:element name="FRMITMNM" type="xs:string"/>
    <xs:element name="FAX">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="DOCKID" type="xs:string"/>
    <xs:element name="INSLINENUM" type="xs:string"/>
    <xs:element name="GLNOMACCT" type="xs:string"/>
    <xs:element name="RESTRICTN" type="xs:string"/>
    <xs:element name="COUNTRY" type="xs:string"/>
    <xs:element name="LOGICALID" type="xs:string"/>
    <xs:element name="ITEMCLASS" type="xs:string"/>
    <xs:element name="FTGROUP" type="xs:string"/>
    <xs:element name="ABSENCETYP" type="xs:string"/>
    <xs:element name="SHIPPOINT" type="xs:string"/>
    <xs:element name="ITEMRV" type="xs:string"/>
    <xs:element name="MONTH" type="xs:string"/>
    <xs:element name="RATETYPE" type="xs:string"/>
    <xs:element name="IMPORTLIC" type="xs:string"/>
    <xs:element name="CMPRSNTYPE" type="xs:string"/>
    <xs:element name="REQUISTNID" type="xs:string"/>
    <xs:element name="COUNTRYORG" type="xs:string"/>
    <xs:element name="HOUR" type="xs:string"/>
    <xs:element name="CONTNRTYPE" type="xs:string"/>
    <xs:element name="DRCR" type="xs:string"/>
    <xs:element name="BKTYPE" type="xs:string"/>
    <xs:element name="FACTOR" type="xs:string"/>
    <xs:element name="LOTSERIAL">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" ref="QUANTITY"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="LOTLEVEL"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PARENTLOT"/>
    <xs:element minOccurs="0" ref="PARENTSNUM"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="SERIALNUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    <xs:attribute name="returndata" use="optional" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="TOITMNM" type="xs:string"/>
    <xs:element name="EMPDEPT" type="xs:string"/>
    <xs:element name="EXCLUSIVE" type="xs:string"/>
    <xs:element name="ECOAPPSTAT" type="xs:string"/>
    <xs:element name="UOM" type="xs:string"/>
    <xs:element name="LOTSNFLAG" type="xs:string"/>
    <xs:element name="PROJACTSTS" type="xs:string"/>
    <xs:element name="ACKMODE" type="xs:string"/>
    <xs:element name="BILLOLADNG" type="xs:string"/>
    <xs:element name="UPC" type="xs:string"/>
    <xs:element name="SAFETYID" type="xs:string"/>
    <xs:element name="TOOLID" type="xs:string"/>
    <xs:element name="STEPID" type="xs:string"/>
    <xs:element name="CODEPAGE" type="xs:string"/>
    <xs:element name="ACTIONCODE" type="xs:string"/>
    <xs:element name="INSPECTDOC" type="xs:string"/>
    <xs:element name="QSLINESTAT" type="xs:string"/>
    <xs:element name="FREIGHTCLS" type="xs:string"/>
    <xs:element name="BUSNAREA" type="xs:string"/>
    <xs:element name="PROJSTATUS" type="xs:string"/>
    <xs:element name="DOCUMNTREF">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="DOCTYPE"/>
    <xs:element ref="DOCUMENTID"/>
    <xs:element ref="PARTNRID"/>
    <xs:element ref="PARTNRTYPE"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="DOCUMENTRV"/>
    <xs:element minOccurs="0" ref="LINENUM"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="NOTES"/>
    <xs:element minOccurs="0" ref="SCHLINENUM"/>
    <xs:element minOccurs="0" ref="SUBLINENUM"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="CARRSRVLVL" type="xs:string"/>
    <xs:element name="OILINENUM" type="xs:string"/>
    <xs:element name="DEFAULT" type="xs:string"/>
    <xs:element name="SUBSFLAG" type="xs:string"/>
    <xs:element name="PARTNRTYPE" type="xs:string"/>
    <xs:element name="POSTATUS" type="xs:string"/>
    <xs:element name="RECEIPTYPE" type="xs:string"/>
    <xs:element name="URI" type="xs:string"/>
    <xs:element name="CLSSSCHMRV" type="xs:string"/>
    <xs:element name="INVHEADER">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="AMOUNT"/>
    <xs:element ref="DATETIME"/>
    <xs:element minOccurs="0" ref="AMOUNT"/>
    <xs:element ref="DOCUMENTID"/>
    <xs:element minOccurs="0" ref="DESCRIPTN"/>
    <xs:element minOccurs="0" ref="DOCTYPE"/>
    <xs:element minOccurs="0" ref="PAYMETHOD"/>
    <xs:element minOccurs="0" ref="REASONCODE"/>
    <xs:element minOccurs="0" ref="USERAREA"/>
    <xs:element maxOccurs="unbounded" ref="PARTNER"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="DOCUMNTREF"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVALLWNCE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="PYMTTERM"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="URL" type="xs:string"/>
    <xs:element name="RESOURCEID" type="xs:string"/>
    <xs:element name="PARENTSNUM" type="xs:string"/>
    <xs:element name="SALESPERSN" type="xs:string"/>
    <xs:element name="ELEMENT">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="index" use="required" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="QTESTATUS" type="xs:string"/>
    <xs:element name="NOUN">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="value" fixed="INVOICE" type="xs:string"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name="OPTIONNAME" type="xs:string"/>
    <xs:element name="USAGERESTN" type="xs:string"/>
    <xs:element name="PACKING" type="xs:string"/>
    <xs:element name="UOMNUMDEC" type="xs:string"/>
    <xs:element name="REVITMSTAT" type="xs:string"/>
    <xs:element name="CURRFROM" type="xs:string"/>
    <xs:element name="FEATVAL" type="xs:string"/>
    <xs:element name="ACKREQUEST" type="xs:string"/>
    <xs:element name="OPRGRPTYPE" type="xs:string"/>
    <xs:element name="DAYOFMONTH" type="xs:string"/>
    <xs:element name="ECONAME" type="xs:string"/>
    <xs:element name="PSDLINENUM" type=

    It looks like you dont have the MODIFY statement in the loops where you calculate the QTYDIFF value.
    Try:
    loop at t_hist.
    clear t_hist-qtydiff.
    t_hist-qtydiff = t_hist-qtyrcvd - t_hist-qtyinvd.
    if not s_qty is initial.
    check t_hist-qtydiff in s_qty.
    endif.
    if not s_value is initial.
    check t_hist-valdiff in s_value.
    endif.
    w_hist-valdiff = w_hist-valdiff + t_hist-valdiff.
    <b>MODIFY t_hist from w_hist.</b>
    endloop.
    Do the same for the other t_hist table loop.
    Brad

  • Configuring double invoice check for vendor invoices posted through FB60

    Dear all
    Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
    for miro documents..we can use Tcode OMRDC
    Is there any such tcode which can be used for configuring fi invoices for double checking..
    regards
    Expertia

    Dear Expertia,
    In FI,when checking for duplicated invoices, the system compares the
    following :Vendor, currency, company code, gross amount of the invoice,
    reference document number and Invoice document date.
    SAP Note 305201 clarifies this in a more details; please read it.
    The following fields must be identical for Duplicate invoice check
         Company code                              (BUKRS)
         Vendor number                             (LIFNR)
         Currency                                  (WAERS)
         Reference number                          (XBLNR)
         Amount in document currency               (WRBTR)
         Document date                             (BLDAT)
    If the document is having any one of the above filed different then the
    system does not consider it as a duplicate invoice.
    Also It will check duplicate invoice check in vendor master data and
    in posting key is there check box selected for sales related
    The setting you making in OMRDC i.e Materials management->Logistics
    Invoice Verification->Incoming Invoice ->Set Check for Duplicate
    Invoices is only valid for MM and not  FI invoices posted via FB60/FB65
    You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
    in the relevant vendor master record (transaction FK03).
    Please also check, that message F5 117 has been set correctly in the
    IMG using this path:
    Financial Accounting -> Financial Accounting Global Settings ->
    Document -> Default Values for Document Processing -> Change Message
    Control for Document Control For Document Processing
    Finally & mainly, go to the relevant posting key is defined as sales
    related in transaction OB41. You have to flag this field if the
    duplicate invoice check should work.
    I hope this helps You.
    mauri

  • Duplication Check for Vendor Invoices

    Can we check for duplicate invoices in SAP
    Regards
    Satish

    Hi
    The configuration settings are made in
    IMG>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoice
    In vendor master you need to maintain the tick for Duplicate Invoice Check
    Thanks & Best Regards
    Sanil K Bhandari

  • Table for vendor invoice header

    Hello,
    We implemented Vendor Invoice Management and therefor our No PO invoices are created using TCode FB60. Business needs a repott which displays by whom the invocie is posted. As we need also the vendor info as well we want to use table RBKP instead of BKPF. However, table RBKP only displays logistic invoices. Is there a table, apart from BKPF, which displays the invoices header info for financial invoices ?
    Thanks as ever
    Antoinette

    Financial document information is stored onlyin BKPF.
    BSIK/ BSAK, BSID/ BSAD etc are just the subset of BKPF, BSEG.
    So FB60 realted information for user who created the document, will be available in BKPF only.
    Regards,
    SDNer

Maybe you are looking for