Replicare:Replicare factura client cap si poz

From docs
Revision as of 11:53, 2 November 2020 by Gheorghe Minca (talk | contribs)
Jump to: navigation, search

Xml cu explicatii

* Elementele marcate cu acest semn sunt obligatorii. Unele elemente sunt obligatorii intr-un anumit context. Urmariti explicatiile.

<root>
 <docvanzari>
  <nrcrt/> * - daca xml-ul contine mai multe documente acest element este obligatoriu. Valoarea se incrementeaza pentru fiecare document.
  <!--identificare companie-->
  <codfirma/> * - cod firma din nomenclatorul de puncte de lucru al companiei
  <coddivizie/> * - cod divizie din nomenclatorul de divizii
  <modverificarepartener/> - daca se completeaza cu valoare 1 si codul fiscal este completat in xml nu se cauta dupa denumire
  <clientid/> * - clientul se determina in urmatoarea ordine a elementelor din xml: clientid, cui, codclient, client
  <client/> * - denumirea clientului
  <cui/> * - codul fiscal al clientului
  <codclient/>  * - codul clientului din nomenclatorul de clienti
  <insereazapartener/> * -  daca se completeaza cu valoare 1 si nu se determina partenerul dupa criteriile mentionate, se insereaza partenerul in nomenclator
  <atributfiscal/>
  <tipclient/>
  <tippartener/>
  <regcomclient/>
  <codtaraclient/>
  <codjudetclient/>
  <localitateclient/>
  <stradaclient/>
  <nrstradaclient/>
  <codpostalclient/>
  <denumirejudetclient/>
  <insereazalocalitateclient/>
  <insereazajudetclient/>
  <validare/>
  <alocarenumar/>
  <modselectieplaja/>
  <serie/>
  <numarfactura/>
  <numarintern/>
  <docid/>
  <idexternimport/>
  <data/>
  <datascadenta/>
  <tipdocid/>
  <tipdoc/>
  <retur/>
  <cuchitanta/>
  <numarchitanta/>
  <datachitanta/>
  <codvaluta/>
  <cursvalutar/>
  <prelucratreplicare/>
  <prelucrat/>
  <modreplic/>
  <capdocid/>
  <proiectid/>
  <taskid/>
  <ignoravalmaxchitante/>
  <tipfacturadupataraclient/>
  <codvalutapartenerextern/>
  <folosestecursdatafactura/>
  <numarcontract/>
  <nuverificavalabilitatecontract/>
  <dataraportare/>
  <tiplivrare/>
  <tiplivraredincontract/>
  <reintroducerepeidexternimport/>
  <observatii/>
  <faraimportconta/>
  <ignoraeroareimportcontabilitate/>
  <contareclient/>
  <actualizareinfopartener/>
  <contbancarclient/>
  <bancacontbancarclient/>
  <valutacontbancarclient/>
  <contbancarclientimplicit/>
  <contactadaugare/>
  <actualizareinfocontact/>
  <contactnume/>
  <contactprenume/>
  <contactemail/>
  <contactemail2/>
  <contacttelefon/>
  <contacttelefon2/>
  <contactadresa/>
  <contactobservatii/>
  <contactcodtara/>
  <contactcodjudet/>
  <contactlocalitate/>
  <contactdenumirejudet/>
  <contactinsereazalocalitate/>
  <contactinsereazajudet/>
  <contacttitlu/>
  <contactfunctia/>
  <contactcod/>
  <contactimplicit/>
  <pozitii>
   <linie>
    <codprodus/>
    <codprodusfabricant/>
    <produsid/>
    <produs/>
    <produsafisare/>
    <cant/>
    <pret/>
    <pretvaluta/>
    <pretamanunt/>
    <pretcost/>
    <cotatva/>
    <um/>
    <gestiuneid/>
    <codgestiune/>
    <curs/>
    <ajustarecurs/>
    <explicatie/>
    <ccid/>
    <codcentrucost/>
    <abid/>
    <codarticolbuget/>
    <blid/>
    <codliniebusiness/>
    <denumireliniebusiness/>
    <insereazaliniebusiness/>
    <ordine/>
    <valoareredusafaratva/>
    <valoareredusatva/>
    <insereazaprodus/>
    <tipitemprodus/>
    <umprodus/>
    <tipprodus/>
    <grupaprodus/>
    <categorieprodus/>
    <subcategorieprodus/>
    <contareprodus/>
    <asocierecontareprodus/>
    <asocierecontareprodusexistent/>
    <idexternimport/>
    <datastart/>
    <dataend/>
    <cuibeneficiar/>
    <proiectid/>
    <taskid/>
    <furnizorid/>
    <intrpozid/>
    <dataexpirare/>
    <datafabricare/>
    <serieintrare/>
    <lotintrare/>
   </linie>
  </pozitii>
  <incasari>
   <linieincasare>
    <docidincasare/>
    <tipdocidincasare/>
    <dataincasare/>
    <numarincasare/>
    <explicatieincasare/>
    <contcontabilincasareid/>
    <sumaincasata/>
    <incasarecuvaloarezero/>
   </linieincasare>
  </incasari>
  <moduriplata>
   <liniemodplata>
    <modplata/>
    <suma/>
   </liniemodplata>
  </moduriplata>
 </docvanzari>
</root>

Xml


<root>
 <docvanzari>
  <nrcrt/>
  <codfirma/>
  <coddivizie/>
  <modverificarepartener/>
  <clientid/>
  <client/>
  <cui/>
  <codclient/>
  <insereazapartener/>
  <atributfiscal/>
  <tipclient/>
  <tippartener/>
  <regcomclient/>
  <codtaraclient/>
  <codjudetclient/>
  <localitateclient/>
  <stradaclient/>
  <nrstradaclient/>
  <codpostalclient/>
  <denumirejudetclient/>
  <insereazalocalitateclient/>
  <insereazajudetclient/>
  <validare/>
  <alocarenumar/>
  <modselectieplaja/>
  <serie/>
  <numarfactura/>
  <numarintern/>
  <docid/>
  <idexternimport/>
  <data/>
  <datascadenta/>
  <tipdocid/>
  <tipdoc/>
  <retur/>
  <cuchitanta/>
  <numarchitanta/>
  <datachitanta/>
  <codvaluta/>
  <cursvalutar/>
  <prelucratreplicare/>
  <prelucrat/>
  <modreplic/>
  <capdocid/>
  <proiectid/>
  <taskid/>
  <ignoravalmaxchitante/>
  <tipfacturadupataraclient/>
  <codvalutapartenerextern/>
  <folosestecursdatafactura/>
  <numarcontract/>
  <nuverificavalabilitatecontract/>
  <dataraportare/>
  <tiplivrare/>
  <tiplivraredincontract/>
  <reintroducerepeidexternimport/>
  <observatii/>
  <faraimportconta/>
  <ignoraeroareimportcontabilitate/>
  <contareclient/>
  <actualizareinfopartener/>
  <contbancarclient/>
  <bancacontbancarclient/>
  <valutacontbancarclient/>
  <contbancarclientimplicit/>
  <contactadaugare/>
  <actualizareinfocontact/>
  <contactnume/>
  <contactprenume/>
  <contactemail/>
  <contactemail2/>
  <contacttelefon/>
  <contacttelefon2/>
  <contactadresa/>
  <contactobservatii/>
  <contactcodtara/>
  <contactcodjudet/>
  <contactlocalitate/>
  <contactdenumirejudet/>
  <contactinsereazalocalitate/>
  <contactinsereazajudet/>
  <contacttitlu/>
  <contactfunctia/>
  <contactcod/>
  <contactimplicit/>
  <pozitii>
   <linie>
    <codprodus/>
    <codprodusfabricant/>
    <produsid/>
    <produs/>
    <produsafisare/>
    <cant/>
    <pret/>
    <pretvaluta/>
    <pretamanunt/>
    <pretcost/>
    <cotatva/>
    <um/>
    <gestiuneid/>
    <codgestiune/>
    <curs/>
    <ajustarecurs/>
    <explicatie/>
    <ccid/>
    <codcentrucost/>
    <abid/>
    <codarticolbuget/>
    <blid/>
    <codliniebusiness/>
    <denumireliniebusiness/>
    <insereazaliniebusiness/>
    <ordine/>
    <valoareredusafaratva/>
    <valoareredusatva/>
    <insereazaprodus/>
    <tipitemprodus/>
    <umprodus/>
    <tipprodus/>
    <grupaprodus/>
    <categorieprodus/>
    <subcategorieprodus/>
    <contareprodus/>
    <asocierecontareprodus/>
    <asocierecontareprodusexistent/>
    <idexternimport/>
    <datastart/>
    <dataend/>
    <cuibeneficiar/>
    <proiectid/>
    <taskid/>
    <furnizorid/>
    <intrpozid/>
    <dataexpirare/>
    <datafabricare/>
    <serieintrare/>
    <lotintrare/>
   </linie>
  </pozitii>
  <incasari>
   <linieincasare>
    <docidincasare/>
    <tipdocidincasare/>
    <dataincasare/>
    <numarincasare/>
    <explicatieincasare/>
    <contcontabilincasareid/>
    <sumaincasata/>
    <incasarecuvaloarezero/>
   </linieincasare>
  </incasari>
  <moduriplata>
   <liniemodplata>
    <modplata/>
    <suma/>
   </liniemodplata>
  </moduriplata>
 </docvanzari>
</root>