Redeterminação de CFOP e Taxcode em OVs feitas com referência a Cotações

Olá a todos,
Gostaria de saber se existe alguma forma para que o CFOP e Codigo de Imposto (ou pelo menos 1 deles) sejam redeterminados em uma Ordem de venda quando esta é criada com referência a uma cotação?
O cenário é bem obvio: Cotações são feitas aos clientes. O codigo de imposto e CFOP são pertinentes a uma venda normal.
Porém, no momento que o cliente emite o pedido de compra ele informa que deseja que a venda seja uma Entrega Futura (que demandaria de um CFOP e Cod de Imposto diferentes), mas o taxcode e o CFOP que consigo na Ordem de venda são sempre puxados da cotação usada como referência.
Já tentei até deixar o CFOP em branco na cotação pra ver se haveria uma redeterminação...mas obtive na OV o campo de CFOP tambem em branco.
Já agradeço a atenção de todos!
Obrigado
Sergio Augusto

Olá Filipe.
Eu não sei lhe dizer o efeito disso nas suas ordens de venda pois sou de MM... mas por exemplo: uma vez que você já gerou o documento da nota fiscal o sistema tem esse comportamento de não atualizar os dados na nf após você fazer uma modificação nos dados mestres. Ou seja, esse é o comportamento normal e você precisa modificar e/ou fazer o refresh no documento.
No passado os dados cadastrais (cliente/fornecedor) eram dinâmicos mas com a nf-e não é mais assim.
Abraço
Eduardo Chagas

Similar Messages

  • 521 Rejeição: CFOP não é de Operação com Exterior e UF destinatário é EX

    Olá, Bom Dia a Todos
    Foi criada uma nota fiscal writer com a categoria I1, saindo de São Paulo para um cliente do Rio de Janeiro, na operação foi utilizado um CFOP incorreto, de dentro do estado, ou invés do interestadual.
    Neste cenário a SEFAZ retornou a rejeição 521 Rejeição: CFOP não é de Operação com Exterior e UF destinatário é EX, o correto não seria á rejeição 522 Rejeição: CFOP de Operação Estadual e UF emitente difere UF destinatário ?
    Alguém passou por esta situação? Sabem se é preciso aplicar alguma nota?
    Muito Obrigada
    Valquiria Bandeira

    Bom dia Valquiria,
    Já vi essa "confusão" e ao que conclui era um erro no sistema interno da Sefaz RS à época que rejeitava com o código incorreto. Mas a NF-e enviada deveria ser sim rejeitada, só o código informado que foi trocado, como aconteceu com você.
    Atenciosamente, Fernando Da Ró

  • Devolução de Vendas - RVXBRA -TAXBRJ

    Boa tarde;
    Estou com problemas em um processo de Devolução tipo de Ordem ROB / REB.
    Realizamos o processo de Venda Normal com valor na condição ICS3 - 62,47 mantida na J1BTAX no grupo de imposto de exceção dinâmica.
    O grupo de imposto na J1BTAX é alterado para um valor X como por exemplo 65,94.
    É feita criação da ordem de vendas ZROB com referência ao documento original.
    A condição ICS3 traz o valor da condição do documento de origem 62,47.
    Entretanto, no momento de faturar é feita a leitura no novo grupo de imposto na J1BTAX pegando o novo valor de 65,94, sendo assim, ele não realiza a cópia do documento da ordem de vendas de origem , sendo que, no controle de cópia ordem -- fatura esta como "D" para não alterar os valores na princing.
    Outro detalhe adicional na criação da  NFe o sistema esta redetermina outro valor para a condição ICS3 para NFe
    Alguém já passou por um problema parecido?
    Support Package SAP
    SAP_APPL - Release - 606 Level - 0004
    SAPKH60604
    Esquema de cálculo - RAXABRA - TAXBRJ
    Controle de cópia
    Fatura Origem
    Orde copiada com os mesmo valores do documento origem
    Nova fatura - valor diferente copiando dos novos valores cadastrados no grupo de impostos na J1BTAX, na realidade deve ser copiado o mesmo valor da ordem de vendas pois como trata-se de devolução o valor deverá permanecer o mesmo.
    NFe gerada traz um valor diferente
    Obrigado
    Rodrigo Vieira

    Olá, Márcio.
    Boa tarde.
    Vou tentar colaborar com uma pesquisa que fiz relacionada ao seu problema:
    - Verifique docuemntos abertos no doc. flow (PO. billing, etc)
    - Use transação CO09 para verificar situação ATP relativa ao material.
    - Reveja notas #89362 e #123500.
    - Se todos lotes de inspeção envolvidos contém serial numbers então o reseting de postagens para materiais com seriais parece não ser possível.
    - Se você precisa resetar estas postagens, você pode tentar desenvolver seu próprio report ou contatar um serviço de consultoria para tal. Por favor, consulte também a nota #93582 relacionada a isso.
    Boa sorte,
    Atenciosamente,
    Felipe Silveira

  • How to disable a input field in OVS search

    Hi friends,
    I have crated a OVS search help for matnr.
    i have two input field like matnr and mat desc.. user can enter any value and hit SEARCH..
    im getting results.
    Now i want to hardoced a value of matnr = 001.. and make this field read only..
    how can we do it..
    i just took a example of matnr and mat desc. to make u understand easily...
    kindly help.
    Niraja

    Hi Niraja,
    You can initialize the value for MATNR in the phase 1 of the eventhandler method for OVS. Try refer the code segment below. Am initializing the values for MATNR & MAKTX fields in the lines:
    ls_search_input-matnr = 'D*'.
    ls_search_input-maktx = '*'.
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
    Regards,
    Uday
    Below is the complete code from my eventhandler method:
    method ON_OVS .
    " declare data structures for the fields to be displayed and for the table columns of the selection list
      types:
        begin of lty_stru_input,
    "   add fields for the display of your search input here
          matnr type string,
          maktx type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    "   add fields for the selection list here
          matnr type string,
          maktx type string,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      data: lv_matnr type mara-matnr,
            lv_maktx type makt-maktx.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    " in this phase you have the possibility to define the texts,  if you don't want to use the defaults (DDIC-texts)
          ls_text-name  = `MATNR`.  "must match a field name of search
          ls_text-value = `Material Number`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name  = `MAKTX`.
          ls_text-value = `Material Description`.
          insert ls_text into table lt_label_texts.
          ls_text-name = `MATNR`.  "must match a field in list structure
          ls_text-value = `Col1 -> Material Number`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `MAKTX`.  "must match a field in list structure
          ls_text-value = `Col2 -> Material Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 10 ).
        when if_wd_ovs=>co_phase_1.  "set search structure and defaults
    " In this phase you can set the structure and default values of the search structure. If this phase is omitted, " the search fields will not be displayed, but the selection table is displayed directly.
    " Read values of the original context (not necessary, but you may set these as the defaults). A reference to " the context element is available in the callback object.
          ovs_callback_object->context_element->get_static_attributes
                                               ( importing static_attributes = ls_search_input ).
    " Setting the default values to be displayed in the selection screen
        ls_search_input-matnr = 'D*'.
        ls_search_input-maktx = '*'.
    "     pass the values to the OVS component
          ovs_callback_object->set_input_structure( input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
    "  If phase 1 is implemented, use the field input for the selection of the table
    "  If phase 1 is omitted, use values from your own context.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          lv_matnr = <ls_query_params>-matnr.
          lv_maktx = <ls_query_params>-maktx.
    replace all occurences of: '*' in lv_matnr with '%',
                               '*' in lv_maktx with '%'.
    select a~matnr
           b~maktx into corresponding fields of table lt_select_list up to 10 rows
                     from mara  as a inner join
                     makt as b on a~matnr = b~matnr where
                     ( a~matnr like lv_matnr and b~maktx like lv_maktx and b~spras = 'EN' ).
    "     call business logic for a table of possible values
    "     lt_select_list = ???
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    "   apply result
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `MATNR`
                                   value = <ls_selection>-MATNR ).
            concatenate 'Description from MAKT:'
                        <ls_selection>-MAKTX
                        into <ls_selection>-MAKTX separated by space.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `MAKTX`
                                   value = <ls_selection>-MAKTX ).
          endif.
      endcase.
    endmethod.

  • Erro na geração da NFe - Devolução de Transferência em Trânsito

    Bom dia a todos.
    Estou tentando fazer o cenário de devolução de transferência entre filiais quando o produto ainda estiver em trânsito. Utilizei como referência para todas as etapas o documento encontrado aqui no próprio fórum Stock Transfer Order (STO) with Full or Partial Return of Transit Stock - Localization Latin America - SCN Wiki
    O meu problema está ocorrendo na hora de registrar a entrada da devolução pois o sistema não preenche a nota fiscal de referência.
    Os passos executados foram os seguintes:
    - Criação do pedido de transferência (ME21N)
    - Geração da remessa (VL10B)
    - Executar saída de mercadorias (VL02N)
    Neste momento o sistema fez tudo certo.
    Enquanto o produto ainda estava em trânsito, iniciei o processo de devolução com os seguintes passo:
    - Criação do pedido de transferência (cópia do pedido original porém marcando o campo ITEM DE DEVOLUÇÃO)
    - Geração da remessa (VL10B). Após a geração da remessa coloquei o mesmo código de impostos que estava na remessa original
    - Executar entrada de mercadorias (VL02N)
    O erro ocorre na entrada de mercadorias. Neste ponto o sistema apresenta a mensagem de erro abaixo:
    Entrar nº de referência da nota fiscal
    Mensagem 8B 259
    Para que a nota seja aprovada na SEFAZ, a categoria de NFe que utilizei está configura como 6. Restit.
    Alguém já passou por isso ou tem alguma idéia que possa ajudar?
    Obrigado,

    Chegou a olhar a nota...
    2133551 - Full/Partial return of STO gets rejected by SEFAZ (NF-e without reference or wrong CFOP <-> finNFe)

  • NFe 10 Escrituração XML CTe - Vários Documentos de Custos de Frete para a P.O.

    Bom dia,
    Tenho um cenário de escrituração do XML de CTe versão 2.0 para fretes Outbound CT-e para saídas de NF-e com LES (CTEOUTLE), onde geramos um Pedido de Compra por dia para cada fornecedor de transportes e todos os custos de fretes gerados naquele dia são entrados neste pedido; Quando recebemos o CTe que está atribuído a este Pedido de Compra o sistema não consegue identificar qual é o custo de frete referente a este CTe devido existirem vários custos neste Pedido. No processo tenho que gerar um Pedido de Compra por dia para cada parceiro de transporte.
    Mensagem GRC: Existem vários documentos de custos; automatização não é possível Nº da declaração J1B_NFE565
    Nº mensagem /XNFE/APPB2BSTEPS011
    Alguém sabe como atribuir corretamente o custo para funcionar a automação?
    Outro ponto que tenho neste processo de Simular Fatura, é se consigo determinar automaticamente o Código Imposto e CFOP automaticamente?

    Oi Danilo,
    Estou com o mesmo problema que você.
    Você teve que implementar alguma BADI para trazer o documento correto?
    Poderia dar detalhes?
    Grato
    Lucas

  • NF item type não definido após implementar xml 3.1

    Após aplicarmos as notas do xml 3.1 mais as notas do FCI o nf item type ficou em branco para uma nota de entrada de exportação.
    Com isso o CFOP também não foi definido automaticamente por se tratar de um campo chave na tabela de CFOP.
    Alguém teve este problema e conseguiu alguma solução ?
    Obrigado
    Marcos.

    thread fechada para edição,
    não é mais possível editar este item '5' como resolvido no post original.
    Marquei como 'Helpful Answer' para os demais
    utilizarem como referência ao item '5) ICMS - ID em branco'
    Obrigado Tiago !

  • 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

  • How to Get Cursor Position in a Table

    Hi Experts,
    I have a table, with input fields. I have a button to add as many rows as I want. For the second column I have
    a OVS. Now assume I have added 3 rows and I want to edit the first row again. So I click the first row and click
    on the OVS selector, and finally when I select a value in the OVS it comes to the Third row, that is the row
    with the Lead Selection. How do I get it to come in the first row?

    Hi Murli,
                 If I understand your requirement correctly, you have table which has OVS for one field. If this problem is only because of leadselection you can disable the lead selection by setting selectionMode property of the table to none. Try it out once.
    But I guess the problem might be different, you can try  like this.
    Create a child node for the table node with Cardinality 1...1 Singleton     false
    Create the attribute and impliment OVS and bind this to your second column of the table.
    Regards,
    Siva

  • How-to map multiple explicit search help values to context attributes?

    Hi,
    I have a custom explicit Search Help with multiple attributes set as export and uses search help exit for data retrieval. I have set this Search Help for one of the context attribute that is binded to one of the input fields on view.
    Now, is it possible to dynamically map other export attributes from this Search Help to other Context attributes?
    I know this works for Input helps that are directly derived from check tables but not sure how to do it for explicit Search Helps.
    Can anyone please confirm and let me if this is possible? If yes, then can you please share an example or describe how to do it?
    Thanks and Regards,

    Hi Srinivas,
    Check this ..Search help can be dynamically assigned to a field.
    data lo_nd_info type if_wd_context_node_info.
    lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
    EXPORTING
    name = 'ATTR1'                  " Your attribute Name
    value_help_mode = '121'    " Valid value help mode
    value_help = 'Z187442'.      " Search help name
    The various possible values that you can pass to value_help_mode are as shown below.
    deactivated 101
    automatic 111
    ddic 121
    ovs 131
    Also refer this..
    Re: How to put dynamic search help in web dynpro ABAP.
    Cheers,
    Kris.

  • Data enhancement, external definition

    hi all
    i m new 4 sap xi
    i want some examples of data enhencement nd external definition?
    nd also i have there definitions?
    ..thanks all

    Hi,
    External Defination is use to import the created data type. In SAP XI we can import
    XSD, WSDL and DTD.
    Example: Below is the created XSD, just save it to your desktop test<b>.xsd</b> and import in IR using the External Defination.
    Go to IR>SWCV>namespace>Interface objects>External Defination.
    Note: by default the category is WSDL, select the xsd for this
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="ProductSKU">
              <xs:complexType>
                   <xs:sequence minOccurs="0">
                        <xs:element ref="header" minOccurs="0"/>
                        <xs:element ref="product" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="header">
              <xs:complexType>
                   <xs:sequence minOccurs="0">
                        <xs:element ref="creatorClientId" minOccurs="0"/>
                        <xs:element ref="migrationEnvironment" minOccurs="0"/>
                        <xs:element ref="origCreatorClientId" minOccurs="0"/>
                        <xs:element ref="replyRequested" minOccurs="0"/>
                        <xs:element ref="apiVersion" minOccurs="0"/>
                        <xs:element ref="infoMsgs" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="creatorClientId" type="xs:string"/>
         <xs:element name="migrationEnvironment" type="xs:string"/>
         <xs:element name="origCreatorClientId" type="xs:string"/>
         <xs:element name="replyRequested" type="xs:boolean"/>
         <xs:element name="apiVersion" type="xs:string"/>
         <xs:element name="infoMsgs">
              <xs:complexType>
                   <xs:sequence minOccurs="0">
                        <xs:element ref="level" minOccurs="0"/>
                        <xs:element ref="sysMsgClass" minOccurs="0"/>
                        <xs:element ref="sysMsgNum" minOccurs="0"/>
                        <xs:element ref="sysMsgText" minOccurs="0"/>
                        <xs:element ref="sysMsgType" minOccurs="0"/>
                        <xs:element ref="systemCode" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="level" type="xs:string"/>
         <xs:element name="sysMsgClass" type="xs:string"/>
         <xs:element name="sysMsgNum" type="xs:string"/>
         <xs:element name="sysMsgText" type="xs:string"/>
         <xs:element name="sysMsgType" type="xs:string"/>
         <xs:element name="systemCode" type="xs:string"/>
         <xs:element name="product">
              <xs:complexType>
                   <xs:sequence minOccurs="0">
                        <xs:element ref="audit" minOccurs="0"/>
                        <xs:element ref="pKey" minOccurs="0"/>
                        <xs:element ref="isPackage" minOccurs="0"/>
                        <xs:element ref="nameCode" minOccurs="0"/>
                        <xs:element ref="basePrice" minOccurs="0"/>
                        <xs:element ref="channelCode" minOccurs="0"/>
                        <xs:element ref="skuNum" minOccurs="0"/>
                        <xs:element ref="isSaleable" minOccurs="0"/>
                        <xs:element ref="sapDescription" minOccurs="0"/>
                        <xs:element ref="version" minOccurs="0"/>
                        <xs:element ref="statusCode" minOccurs="0"/>
                        <xs:element ref="typeCode" minOccurs="0"/>
                        <xs:element ref="mediaCode" minOccurs="0"/>
                        <xs:element ref="platformCode" minOccurs="0"/>
                        <xs:element ref="languageCode" minOccurs="0"/>
                        <xs:element ref="fulfillMethodCode" minOccurs="0"/>
                        <xs:element ref="licenseCode" minOccurs="0"/>
                        <xs:element ref="licenseSeats" minOccurs="0"/>
                        <xs:element ref="snGenType" minOccurs="0"/>
                        <xs:element ref="snLegacyPrefix" minOccurs="0"/>
                        <xs:element ref="taxCode" minOccurs="0"/>
                        <xs:element ref="quantity" minOccurs="0"/>
                        <xs:element ref="isOrderable" minOccurs="0"/>
                        <xs:element ref="enigmaProtocol" minOccurs="0"/>
                        <xs:element ref="enigmaProductId" minOccurs="0"/>
                        <xs:element ref="enigmaProductCode" minOccurs="0"/>
                        <xs:element ref="enigmaInstallerCode" minOccurs="0"/>
                        <xs:element ref="enigmaSecurityCode" minOccurs="0"/>
                        <xs:element ref="enigmaSupportCode" minOccurs="0"/>
                        <xs:element ref="isForReserialization" minOccurs="0"/>
                        <xs:element ref="plantCode" minOccurs="0"/>
                        <xs:element ref="sapCategoryCode" minOccurs="0"/>
                        <xs:element ref="sapMaterialTypeCode" minOccurs="0"/>
                        <xs:element ref="isWebSellable" minOccurs="0"/>
                        <xs:element ref="childCount" minOccurs="0"/>
                        <xs:element ref="expireDate" minOccurs="0"/>
                        <xs:element ref="guid" minOccurs="0"/>
                        <xs:element ref="child" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="versionName" minOccurs="0"/>
                        <xs:element ref="enigmaPackingLicense" minOccurs="0"/>
                        <xs:element ref="isInProduction" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="audit">
              <xs:complexType>
                   <xs:sequence minOccurs="0">
                        <xs:element ref="createDate" minOccurs="0"/>
                        <xs:element ref="createSystemCode" minOccurs="0"/>
                        <xs:element ref="createUserId" minOccurs="0"/>
                        <xs:element ref="updateDate" minOccurs="0"/>
                        <xs:element ref="updateUserId" minOccurs="0"/>
                        <xs:element ref="updateSystemCode" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="createDate" type="xs:string"/>
         <xs:element name="createSystemCode" type="xs:string"/>
         <xs:element name="createUserId" type="xs:string"/>
         <xs:element name="updateDate" type="xs:string"/>
         <xs:element name="updateUserId" type="xs:string"/>
         <xs:element name="updateSystemCode" type="xs:string"/>
         <xs:element name="pKey" type="xs:string"/>
         <xs:element name="isPackage" type="xs:boolean"/>
         <xs:element name="nameCode" type="xs:string"/>
         <xs:element name="basePrice" type="xs:string"/>
         <xs:element name="channelCode" type="xs:string"/>
         <xs:element name="skuNum" type="xs:string"/>
         <xs:element name="isSaleable" type="xs:boolean"/>
         <xs:element name="sapDescription" type="xs:string"/>
         <xs:element name="version" type="xs:string"/>
         <xs:element name="statusCode" type="xs:string"/>
         <xs:element name="typeCode" type="xs:string"/>
         <xs:element name="mediaCode" type="xs:string"/>
         <xs:element name="platformCode" type="xs:string"/>
         <xs:element name="languageCode" type="xs:string"/>
         <xs:element name="fulfillMethodCode" type="xs:string"/>
         <xs:element name="licenseCode" type="xs:string"/>
         <xs:element name="licenseSeats" type="xs:string"/>
         <xs:element name="snGenType" type="xs:string"/>
         <xs:element name="snLegacyPrefix" type="xs:string"/>
         <xs:element name="taxCode" type="xs:string"/>
         <xs:element name="quantity" type="xs:string"/>
         <xs:element name="isOrderable" type="xs:boolean"/>
         <xs:element name="enigmaProtocol" type="xs:string"/>
         <xs:element name="enigmaProductId" type="xs:string"/>
         <xs:element name="enigmaProductCode" type="xs:string"/>
         <xs:element name="enigmaInstallerCode" type="xs:string"/>
         <xs:element name="enigmaSecurityCode" type="xs:string"/>
         <xs:element name="enigmaSupportCode" type="xs:string"/>
         <xs:element name="isForReserialization" type="xs:boolean"/>
         <xs:element name="plantCode" type="xs:string"/>
         <xs:element name="sapCategoryCode" type="xs:string"/>
         <xs:element name="sapMaterialTypeCode" type="xs:string"/>
         <xs:element name="isWebSellable" type="xs:boolean"/>
         <xs:element name="childCount" type="xs:string"/>
         <xs:element name="expireDate" type="xs:string"/>
         <xs:element name="guid" type="xs:string"/>
         <xs:element name="child">
              <xs:complexType>
                   <xs:sequence minOccurs="0">
                        <xs:element ref="childSku" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="childSku" type="xs:string"/>
         <xs:element name="versionName" type="xs:string"/>
         <xs:element name="enigmaPackingLicense" type="xs:string"/>
         <xs:element name="isInProduction" type="xs:boolean"/>
    </xs:schema>
    Thanks
    Farooq.
    <b>*Rewards Points if you find it useful*</b>

  • DEVOLUÇÃO DE EXPORTAÇÃO - CFOP 3201 - GRC VALIDA DADOS DI.

    Boa tarde a todos!
    Estamos em um projeto de NFE XML 2.00 e nos deparamos com o seguinte erro:
    Ao emitirmos um NF-e de devolução da mercadoria que se encontrava no Porto (devolução de exportação - CFOP 3201), a validação do monitor GRC informa que é necessário constar os dados de importação, apesar deste processo não se tratar de importação. Os seguintes logs de validação são gerados:
    Erro de validação: campo Código do fabricante estrangeiro no sistema. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-CFABRICANTE, ID campo I028)
    Erro de validação: campo Nº da adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NADICAO, ID campo I026)
    Erro de validação: campo Nº sequencial do artigo na adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NSEQADIC, ID campo I027)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-CEXPORTADOR, ID campo I024)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDESEMB, ID campo I023)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDI, ID campo I020)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-NDI, ID campo I019)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-UFDESEMB, ID campo I022)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-XLOCDESEMB, ID campo I021)
    Estamos no SAPK-10015INSLLNFE e as seguintes notas relacionadas a validação estão aplicadas:
    1493980     Validation for field xJust in cancel and skipping messages
    1499921     Problem with validation after implementing SP15
    1500046     Upgrade validation rule for field ID for version 2.00
    1500742     Adjust validation for field NADICAO and NSEQADIC layout 2.00
    1502217     Extend validation rules for , layout 2
    1504379     Adjust validation for field X_CLISTSERV
    1511291     Update allowed values for field E1_CPAIS for validation
    1511577     Update validation rules for field VUNCOM_V20
    1520861     Update validation rules for OIL_CPRODANP and OIL_UFCONS
    Não encontrei nenhuma nota SAP recente para o componente SLL-NFE que seja relacionada a este problema.
    Desde já agradeço pela ajuda.
    Sds / Renato Penido.

    Boa tarde, Fernando,
    Obrigado pela pronta resposta.
    Debugamos a BADI e descobrimos que os dados de importação estão sendo gravado "em branco", gerando o erro de validação no GRC, tal qual dito por você.
    Aprimoramos a lógica da BADI para que a tag de importação não seja preenchida indevidamente para as notas de devolução do porto e as notas foram aprovadas.
    Muito obrigado,
    Renato Penido.

  • Nota de serviços sem CFOP

    PessoALL
    É possível entrar com nota fiscal referente a serviços  sem CFOP , para lançar notas , visto que essas notas não estão no escopo do Sped. Estou testando com o modelo de NF em branco mas mesmo assim o programa enxerga alguns registros e pede o CFOP na validação. CFOP este que não existe.
    Ao passarmos o arquivo do Sped no validador, o validador reclama estas notas que não possuem CFOP. Além disso, estas notas não deveriam ser buscadas pelo programa visto que as notas de serviço não estão no escopo do Sped Fiscal

    Bom dia Letícia,
    Poderia abrir um chamado em SLL-NFE, exemplificando o caso complementar que você mencionou para que o desenvolvimento providencie correção.
    Desde já agradeço.
    Atenciosamente, Fernando Da Ró

  • CFOP aparecendo na Nota Fiscal de Serviço

    Pessoal, bom dia!
    Estamos num projeto de implementação da NFe 3.10  e atualização de Support Package e deparamos com a seguinte situação:
    No lançamento de uma nota fiscal de serviço, com um IVA de serviço, o campos cfop, utilização do material e origem do material estão aparecendo no item da nota fiscal, mas não deveriam.
    No ambiente de Produção, NFe 2.0, corretamente esses mesmos campos não aparecem no item da nota fiscal.
    O mais estranho é que mesmo que eu altere o status desses campos no controle de tela, no detalhe do item eles ficam ocultos, mas na linha do item da nota fiscal eles continuam aparecendo.
    Alguém pode dar uma dica?
    Desde já agradeço.

    Nao, a solucao SAP NFE é para nota fiscal de mercadorias modelo 55 (SEFAZ, modelo nacional), que substitui os modelos de nF 1/1A.
    Há uma proposta de padrao nacional que, infelizmente, só a prefeitura de BH está seguindo...
    Caso haja um acordo entre um numero razoavel das principais prefeituras do Brasil, a SAP irá avaliar a possibilidade de incluir essa solucao, senao não há como provermos uma solucao especifica para cada cidade.
    Att,
    Henrique.

  • NFe - Rej: 660 CFOP de Combustível não informado grp combustível da NF-e

    Pessoal,
    Bom dia.
    Estou com uma nota rejeitada pelo motivo 660.
    Verifiquei que este motivo de rejeição foi liberado na NT 2012/003.
    Foi utilizado o CFOP 6.659 no processo de transferência entre centros e como não foram enviados os dados da TAG (L1 - Detalhamento Específico de Combustíveis)  a NFe foi rejeitada.
    Verifiquei a nota de overview da NFe e ela menciona a aplicação da nota de 1766127 (SP 12), porém já estamos com este SP.
    Para enviar os campos pretendo utilizar a BADI de NFe porém gostaria de saber se alguém passou por este erro e se tratou da mesma fora.
    Encontrei algumas outras notas do lado do ECC que mencionam a criação de novos campos no cadastro mestre de material e um deles seria o cProdANP (Código de produto da ANP), diante disso gostaria de saber se alguém aplicou estas notas e o valor foi levado pelo standard ou continuou tratando via BADI.
    Seguem as notas que encontrei que mencionam o campo:
    1882947  NF-e: Storing Additional Data - Corrections for NF Writer
    1883752  Fill new master data fields into NF document (CNAE, CRT, ..)
    1860362  NF-e: Storing Additional Data - outbound NF-e & Reports
    1859126  NF-e: Storing Additional Data - Enhancement of NF Writer
    1860433 - NF-e: Storing Additional Data for DANFE & Reporting
    1877404 - NF-e: Enhancements NF Writer screen controls
    Desde já agradeço.
    Atenciosamente
    Cristina

    Boa tarde Cristina,
    Não sei se você já resolveu o problema, mas para poder aprovar a nota fiscal sem o erro 660 sendo retornado pela SEFAZ eu modifiquei os campos OIL_CPRODANP e OIL_UFCONS da estrutura do OUT_ITEM (Tipo J1B_NF_XML_BADI_ITEM) no item.
    BADI
    Estrutura
    Att,
    Fábio Caselato

Maybe you are looking for

  • Crystal Reporter Integration addon 2.0.07 slow down

    Hi Guru's, When i upgraded to Crystal Report Viewer Add On to version 2.0.07, I encountered slow down accessing Crystal Reports Administration and generation of report. We also encountered lots of error. Is there any new Crystal Reporter Integration

  • Path Selection between 10 gig fiber and microwave

    Hello everyone, my network is running OSPF as an IGP, i have a 10 gig Ethernet  fiber connected between two sites and a microwave link as a redundant connection. since ospf metric is cost ( or bandwidth ), the 10 gig ethernet connection is always pre

  • WLC 2504 with LAG

    Hi all. I`m configuring new 2504. I updated it to 7.4.100.60 and enabled LAG. I want to configure interfaces "ap-mgmt" - for AP management. (Cisco Controller) >config interface create ap-mgmt 69 (Cisco Controller) >config interface address dynamic-in

  • MBA 11" gray screen, requires hard restart

    I've read the threads on MBA problems, and mine seems different. No kernel panic. No flicker. I have it plugged into an external Samsung monitor, no probs. And suddenly (typically during idle periods), it goes gray. Unplugging from monitor does no go

  • SubContracting Melting Order

    Hi, Business Process- Ex- Created a New Model Car, this design have a particular time limit to achive the target. If the design not able to succeed inthe market with in the given time period we will melt this design. SAP- Design is the FG material Nu