Difference between revisions of "Replicari sincrone"

From docs
Jump to: navigation, search
(Flux:Nomenclator->TipRequest:GetData->Configurare:Anulare_documente_intrare)
 
(7 intermediate revisions by 3 users not shown)
Line 83: Line 83:
 
:Tip
 
:Tip
 
:TipAsset
 
:TipAsset
 
===Flux:Comanda->TipRequest:PutData===
 
 
Request SOAP:
 
 
<nowiki>
 
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 
<soap:Body>
 
<PutData xmlns="http://tempuri.org/">
 
<Domain>domeniu</Domain>
 
<User>userul de replicare</User>
 
<Password>parola userului de replicare</Password>
 
<Unit>codul punctului de lucru al firme</Unit>
 
<Div>codul diviziei firmei</Div>
 
<Tip>denumirea replicarii</Tip>
 
<XmlData>
 
<orders>
 
<order orderid="32423" orderdate="2020-12-17" operation="ADD" doctypename="Online" payment_method="Card" payment_days="" currency="" clientid="32363" client_name="" client_surname="" client_givenname="" client_cui="" client_address="" client_tradeno="" client_country = "" client_country_code="" client_county="" client_county_code="" client_city="" client_type="" delivery_date="" order_status="De facturat">
 
<delivery_info delivery_address="adresa" delivery_street="" delivery_street_no="" delivery_block ="" delivery_floor="" delivery_apartment="" delivery_country = "" delivery_country_code="" delivery_county="" delivery_county_code="" delivery_city="" delivery_carrier=""/>
 
<delivery_contact dely_contact_code="" dely_contact_name="" dely_contact_surname="" dely_contact_email="" dely_contact_phone ="" dely_contact_mobile="" dely_contact_title="" dely_contact_position="" dely_address="" dely_street="" dely_street_no="" dely_block ="" dely_floor="" dely_apartment="" dely_country = "" dely_country_code="" dely_county="" dely_county_code="" dely_city=""/>
 
<client_info client_code="" client_type="" client_portofolio="" client_agent="" client_collaboration="" client_segment ="" client_price_catalog=""/>
 
<contact_info contact_code="" contact_name="" contact_surname="" contact_email="" contact_phone ="" contact_mobile="" contact_title="" contact_position=""/>
 
<order_notes/>
 
<payment_card transactionid="" authorizationcode="" rrncode="" cardcode="" holdername="" paymentnotes=""/>
 
<items>
 
<item itemid="77721" item_name="AGITATOR GRANOMAT" item_code="3261 8606" item_vat="" item_um="buc" quantity="4" price="10" finalprice="10" currency="RON" item_notes="test" item_notes2="site" inventory_code=""/>
 
<item itemid="76878" item_name="CELULA GRANOMAT" item_code="2195 0150" item_vat="" item_um="buc" quantity="1" price="23" finalprice="23" currency="RON" item_notes="test2" item_notes2="site2" inventory_code=""/>
 
</items>
 
</order>
 
</orders>
 
</XmlData>
 
<XmlExtraParams>
 
</XmlExtraParams>
 
</PutData>
 
</soap:Body>
 
</soap:Envelope>
 
</nowiki>
 
 
Returneaza
 
 
:Ok
 
  
 
===Flux:Nomenclator->TipRequest:GetData->Configurare:Stare_comanda===
 
===Flux:Nomenclator->TipRequest:GetData->Configurare:Stare_comanda===
 
  
 
Request SOAP:
 
Request SOAP:
Line 291: Line 249:
 
===Flux:Nomenclator->TipRequest:GetData->Configurare:Oferta_client===
 
===Flux:Nomenclator->TipRequest:GetData->Configurare:Oferta_client===
  
 +
<nowiki>
 
<?xml version="1.0" encoding="utf-8"?>
 
<?xml version="1.0" encoding="utf-8"?>
 
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
Line 318: Line 277:
 
   </soap:Body>
 
   </soap:Body>
 
</soap:Envelope>
 
</soap:Envelope>
 +
</nowiki>
 +
 +
Returneaza
 +
 +
:Client
 +
:ClientId
 +
:DateOffer
 +
:DenumireProdusAfisare
 +
:DocumenteAtasate
 +
:item_name
 +
:itemid
 +
:NumberOffer
 +
:ParentPozOfferId
 +
:PozOfferId
 +
:PretValutaRedus
 +
:Quantity
 +
:TaskId
 +
 +
===Flux:Nomenclator->TipRequest:GetData->Configurare:Documente_comanda===
 +
 +
<nowiki>
 +
<?xml version="1.0" encoding="utf-8"?>
 +
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 +
  <soap:Body>
 +
    <GetData xmlns="http://tempuri.org/">
 +
    <Domain>domeniu</Domain>
 +
    <User>userul de replicare</User>
 +
    <Password>parola userului de replicare</Password>
 +
    <Unit>codul punctului de lucru al firme</Unit>
 +
    <Div>codul diviziei firmei</Div>
 +
    <Tip>denumirea replicarii</Tip>
 +
      <XmlExtraParams>
 +
        &lt;root&gt;
 +
        &lt;header&gt;
 +
        &lt;code&gt;codul site-ului&lt;/code&gt;
 +
        &lt;/header&gt;
 +
        &lt;documentecomanda&gt;
 +
        &lt;order&gt;
 +
        &lt;orderid&gt;id-ul comenzii (id-ul intern din Pluriva ERP)&lt;/orderid&gt;
 +
        &lt;orderdate&gt;data comenzii&lt;/orderdate&gt;
 +
        &lt;/order&gt;
 +
        &lt;/documentecomanda&gt;
 +
        &lt;/root&gt;
 +
        </XmlExtraParams>
 +
    </GetData>
 +
  </soap:Body>
 +
</soap:Envelope>
 +
</nowiki>
 +
 +
Returneaza
 +
 +
PDF-ul atasat facturii in legatura cu comanda.
 +
 +
===Flux:Nomenclator->TipRequest:PutData->Configurare:Adaugare_taskuri===
 +
 +
<nowiki>
 +
<?xml version="1.0" encoding="utf-8"?>
 +
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 +
  <soap:Body>
 +
    <GetData xmlns="http://tempuri.org/">
 +
    <Domain>domeniu</Domain>
 +
    <User>userul de replicare</User>
 +
    <Password>parola userului de replicare</Password>
 +
    <Unit>codul punctului de lucru al firme</Unit>
 +
    <Div>codul diviziei firmei</Div>
 +
    <Tip>denumirea replicarii</Tip>
 +
    <XmlExtraParams>
 +
        &lt;tasks&gt;
 +
                &lt;task
 +
                    id=&quot;id-ul task-ului&quot;
 +
                    task_type=&quot;tipul task-ului&quot;
 +
                    task_status=&quot;starea in care intra task-ul primit din site&quot;
 +
                    task_name=&quot;subiectul task-ului&quot;
 +
                    task_description=&quot;descrierea taskului&quot;
 +
                    task_date=&quot;data raportarii task-ului(ex: 2020-11-26)&quot;
 +
                    task_from=&quot;email-ul celui care a facut solicitarea&quot;
 +
                    project_code=&quot;codul proiectului in care se insereaza taskul&quot;
 +
                    client_code=&quot;codul clientului care se asociaza proiectului in care se insereaza taskul&quot;
 +
                    asset_code=&quot;codul assetului asociat taskului&quot;
 +
                    termentask=&quot;termenul pana la care se doreste a fi solutionat task-ul(ex: 2020-11-30)&quot;
 +
                    proiectid=&quot;id-ul proiectului din Pluriva ERP in care se insereaza taskul&quot;
 +
                    tiptaskid=&quot;id-ul tipului de task care va fi inserat&quot;
 +
                    assetid=&quot;id-ul assetului din Pluriva ERP asociat taskului&quot;
 +
                    assetids=&quot;id-urile asseturilor din Pluriva ERP asociate taskului&quot;
 +
                    /&gt;
 +
        &lt;/tasks&gt;
 +
    </XmlExtraParams>
 +
    </GetData>
 +
  </soap:Body>
 +
</soap:Envelope>
 +
</nowiki>
 +
 +
Returneaza
 +
 +
OK
 +
 +
===Flux:Comanda->TipRequest:PutData===
 +
 +
Request SOAP:
 +
 +
<nowiki>
 +
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 +
<soap:Body>
 +
<PutData xmlns="http://tempuri.org/">
 +
<Domain>domeniu</Domain>
 +
<User>userul de replicare</User>
 +
<Password>parola userului de replicare</Password>
 +
<Unit>codul punctului de lucru al firme</Unit>
 +
<Div>codul diviziei firmei</Div>
 +
<Tip>denumirea replicarii</Tip>
 +
<XmlData>
 +
<orders>
 +
<order orderid="32423" orderdate="2020-12-17" operation="ADD" doctypename="Online" payment_method="Card" payment_days="" currency="" clientid="32363" client_name="" client_surname="" client_givenname="" client_cui="" client_address="" client_tradeno="" client_country = "" client_country_code="" client_county="" client_county_code="" client_city="" client_type="" delivery_date="" order_status="De facturat">
 +
<delivery_info delivery_address="adresa" delivery_street="" delivery_street_no="" delivery_block ="" delivery_floor="" delivery_apartment="" delivery_country = "" delivery_country_code="" delivery_county="" delivery_county_code="" delivery_city="" delivery_carrier=""/>
 +
<delivery_contact dely_contact_code="" dely_contact_name="" dely_contact_surname="" dely_contact_email="" dely_contact_phone ="" dely_contact_mobile="" dely_contact_title="" dely_contact_position="" dely_address="" dely_street="" dely_street_no="" dely_block ="" dely_floor="" dely_apartment="" dely_country = "" dely_country_code="" dely_county="" dely_county_code="" dely_city=""/>
 +
<client_info client_code="" client_type="" client_portofolio="" client_agent="" client_collaboration="" client_segment ="" client_price_catalog=""/>
 +
<contact_info contact_code="" contact_name="" contact_surname="" contact_email="" contact_phone ="" contact_mobile="" contact_title="" contact_position=""/>
 +
<order_notes/>
 +
<payment_card transactionid="" authorizationcode="" rrncode="" cardcode="" holdername="" paymentnotes=""/>
 +
Pret fara tva
 +
<items>
 +
<item itemid="77721" item_name="AGITATOR GRANOMAT" item_code="3261 8606" item_vat="" item_um="buc" quantity="4" price="10" finalprice="10" currency="RON" item_notes="test" item_notes2="site" inventory_code=""/>
 +
<item itemid="76878" item_name="CELULA GRANOMAT" item_code="2195 0150" item_vat="" item_um="buc" quantity="1" price="23" finalprice="23" currency="RON" item_notes="test2" item_notes2="site2" inventory_code=""/>
 +
</items>
 +
Pret cu tva
 +
                <items>
 +
<item itemid="77721" item_name="AGITATOR GRANOMAT" item_code="3261 8606" item_vat="" item_um="buc" quantity="4" pricewithvat="11.9" finalpricewithvat="11.9" currency="RON" item_notes="test" item_notes2="site" inventory_code=""/>
 +
<item itemid="76878" item_name="CELULA GRANOMAT" item_code="2195 0150" item_vat="" item_um="buc" quantity="1" pricewithvat="27.37" finalpricewithvat="27.37" currency="RON" item_notes="test2" item_notes2="site2" inventory_code=""/>
 +
</items>
 +
</order>
 +
</orders>
 +
</XmlData>
 +
<XmlExtraParams>
 +
</XmlExtraParams>
 +
</PutData>
 +
</soap:Body>
 +
</soap:Envelope>
 +
</nowiki>
 +
 +
Returneaza
 +
 +
:OK
 +
 +
===Flux:Nomenclator->TipRequest:GetData->Configurare:Anulare_documente_intrare===
 +
 +
<nowiki>
 +
<?xml version="1.0" encoding="utf-8"?>
 +
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 +
  <soap:Body>
 +
    <GetData xmlns="http://tempuri.org/">
 +
    <Domain>domeniu</Domain>
 +
    <User>userul de replicare</User>
 +
    <Password>parola userului de replicare</Password>
 +
    <Unit>codul punctului de lucru al firme</Unit>
 +
    <Div>codul diviziei firmei</Div>
 +
    <Tip>denumirea replicarii</Tip>
 +
      <XmlExtraParams>
 +
        &lt;root&gt;
 +
&lt;document&gt;
 +
&lt;datadocument&gt;20211220&lt;/datadocument&gt;
 +
&lt;numardocument&gt;9852&lt;/numardocument&gt; 
 +
&lt;utilizator&gt;Pluriva ERP&lt;/utilizator&gt;
 +
&lt;codfiscal&gt;&lt;/codfiscal&gt;
 +
&lt;/document&gt;
 +
&lt;document&gt;
 +
&lt;datadocument&gt;20220331&lt;/datadocument&gt;
 +
&lt;numardocument&gt;9852&lt;/numardocument&gt; 
 +
&lt;utilizator&gt;Pluriva ERP&lt;/utilizator&gt;
 +
&lt;codfiscal&gt;&lt;/codfiscal&gt;
 +
&lt;/document&gt;
 +
        &lt;/root&gt;
 +
        </XmlExtraParams>
 +
    </GetData>
 +
  </soap:Body>
 +
</soap:Envelope>
 +
</nowiki>
 +
 +
Numarul documentului, data documentului si utilizatorul(o sa fie trecut ca userul care a anulat documentul) sunt obligatorii!
 +
 +
Returneaza:
 +
;Mesaj
 +
:Ok, atunci cand documentul a fost anulat
 +
:Mesaj de eroare, atunci cand nu s-a anulat documentul.
 +
;Data documentului
 +
;Numarul documentului
 +
;Utilizatorul
 +
;Codul fiscal

Latest revision as of 17:04, 31 March 2022


Replicari sincrone - Lista.png

Filtre

Replicare

Coloane

Replicare
Flux
din fluxurile predefinite de selectare a datelor
Encoding

Operatii globale

Adaugare replicare
adaugare replicare noua
Replicari sincrone - Adaugare replicare.png
Log:salveaza logul replicarii pentru debug
Indecsi replicare
Copiere replicari
Sterge toate replicarile 
sterge toate replicarile pe firma si divizia curenta

Operatii pe pozitii

Modificare
Cereri
Detalii replicare
Stergere
sterge replicarea definita

Flux:Nomenclator->TipRequest:GetData->Configurare:Asseturi

Request SOAP:

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<GetData xmlns="http://tempuri.org/">
<Domain>domeniu</Domain>
<User>userul de replicare</User>
<Password>parola userului de replicare</Password>
<Unit>codul punctului de lucru al firme</Unit>
<Div>codul diviziei firmei</Div>
<Tip>denumirea replicarii</Tip>
<XmlExtraParams>
	<root>
	<header>
	<assetcategoryid>id-ul categoriei de asseturi care va fi preluata</assetcategoryid>
	<getplanmentenanta>
		1 = se preiau planurile de mentenanta ale asseturilor
		0 = nu se preaiau planurile de mentenanta ale asseturilor
	</getplanmentenanta>
	</header>
	</root>
</XmlExtraParams>
</GetData>
</soap:Body>
</soap:Envelope>

Returneaza:

AdresaClient
Asset
ClientIdAsset
CodAsset
CodClient
CodFiscal_CNP
DataExpirareGarantie
DataFabricare
DataFactIes
DataFunctiune
DenumireClient
Descriere
Email
Furnizor
Judet
Localitate
NumarFactIes
PlanuriMentenanta
Producator
SerieIesire
Tara
Telefon
Tip
TipAsset

Flux:Nomenclator->TipRequest:GetData->Configurare:Stare_comanda

Request SOAP:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetData xmlns="http://tempuri.org/">
<Domain>domeniu</Domain>
<User>userul de replicare</User>
<Password>parola userului de replicare</Password>
<Unit>codul punctului de lucru al firme</Unit>
<Div>codul diviziei firmei</Div>
<Tip>denumirea replicarii</Tip>
<XmlExtraParams>
	<root> 
	<header><code>codul site-ului setat in Pluriva ERP</code></header> 
	<statuscomanda> 
	<orderid>id-ul din site al comenzii</orderid> 
	<orderdate>data comenzii</orderdate> 
	</statuscomanda>
	</root>
</XmlExtraParams>
</GetData>
</soap:Body>
</soap:Envelope>

Returneaza

Starea comenzii din Pluriva ERP

Flux:Nomenclator->TipRequest:GetData->Configurare:Stoc_produse

Request SOAP:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetData xmlns="http://tempuri.org/">
<Domain>domeniu</Domain>
<User>userul de replicare</User>
<Password>parola userului de replicare</Password>
<Unit>codul punctului de lucru al firme</Unit>
<Div>codul diviziei firmei</Div>
<Tip>denumirea replicarii</Tip>
<XmlExtraParams>
	<root>
	<header><code>Codul site-ului</code></header>
	<stocuriproduse>
	<inclusivfarastoc>1</inclusivfarastoc>
	</stocuriproduse>
	</root>
</XmlExtraParams>
</GetData>
</soap:Body>
</soap:Envelope>

Returneaza

CantNereceptionata
CodBare
CodProdus
DenumireProdus
ProdusId
Stoc

Flux:Nomenclator->TipRequest:GetData->Configurare:Contracte_clienti

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetData xmlns="http://tempuri.org/">
    <Domain>domeniu</Domain>
    <User>userul de replicare</User>
    <Password>parola userului de replicare</Password>
    <Unit>codul punctului de lucru al firme</Unit>
    <Div>codul diviziei firmei</Div>
    <Tip>denumirea replicarii</Tip>
      <XmlExtraParams>
    <root>
    <header>
    <valabileladata>data la care sa fie valabile contractele</valabileladata>
    <includepozitii>
        1 daca doriti sa obtineti si pozitiile contractului
        0 altfel
    </includepozitii>
    <getatasamente>
        1 daca doriti sa obtineti atasamentul unui contract
        0 altfel 
    </getatasamente>
    </header>
    </root>
        </XmlExtraParams>
    </GetData>
  </soap:Body>
</soap:Envelope>


Returneaza

Agent
Asset
AtributFiscal
attr1
attr2
Attr3
BeneficiarReal
Client
CodTaraClient
CodValuta
ContactClient
ContBancarClient
ContBancarCompanie
CUI
DataAnulare
DataContract
DataContractClient
DataIntroducere
DataMembruDeLa
DataMembruPanaLa
DataModificare
DataReziliere
DataSemnare
DataTrimitere
DataValidare
Descriere
DocumenteAtasate
ExplicatiiUltimaStare
Nefacturabil
NPE
NrZileGratie
NrZilePreaviz
NumarContract
NumarContractClient
Observatii
Observatii2
Observatii3
PozitiiContract
ProcentDobanda
ProcentPenalizare
Proiect
RegulaDecont
ResponsabilContract
ResponsabilContract2
StareContract
TaraClient
Task
TermenPlata
TipContract
TipDoc
TipLivrare
TipPartener
ValabilDeLa
ValabilPanaLa
ValoareContract
ValoareContractCuTva
ValoareTvaContract

Flux:Nomenclator->TipRequest:GetData->Configurare:Oferta_client

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetData xmlns="http://tempuri.org/">
    <Domain>domeniu</Domain>
    <User>userul de replicare</User>
    <Password>parola userului de replicare</Password>
    <Unit>codul punctului de lucru al firme</Unit>
    <Div>codul diviziei firmei</Div>
    <Tip>denumirea replicarii</Tip>
      <XmlExtraParams>
        <root>
        <dateclient>
        <clientid>id-ul clientului pentru care doriti sa obtineti oferta</clientid>
        <dela>incarcati ofertele care au data incepand cu data trecuta in acest camp</dela>
        <cui>cui-ul clientului pentru care doriti sa obtineti oferta</cui>
        <denumireclient>denumirea clientului pentru care doriti sa obtineti oferta</denumireclient>
        <getatasamente>
            1 pentru atasamentul pdf al ofertei
            0 alfetl
        </getatasamente>
        </dateclient>
        </root>
        </XmlExtraParams>
    </GetData>
  </soap:Body>
</soap:Envelope>

Returneaza

Client
ClientId
DateOffer
DenumireProdusAfisare
DocumenteAtasate
item_name
itemid
NumberOffer
ParentPozOfferId
PozOfferId
PretValutaRedus
Quantity
TaskId

Flux:Nomenclator->TipRequest:GetData->Configurare:Documente_comanda

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetData xmlns="http://tempuri.org/">
    <Domain>domeniu</Domain>
    <User>userul de replicare</User>
    <Password>parola userului de replicare</Password>
    <Unit>codul punctului de lucru al firme</Unit>
    <Div>codul diviziei firmei</Div>
    <Tip>denumirea replicarii</Tip>
      <XmlExtraParams>
        <root>
        <header>
        <code>codul site-ului</code>
        </header>
        <documentecomanda>
        <order>
        <orderid>id-ul comenzii (id-ul intern din Pluriva ERP)</orderid>
        <orderdate>data comenzii</orderdate>
        </order>
        </documentecomanda>
        </root>
        </XmlExtraParams>
    </GetData>
  </soap:Body>
</soap:Envelope>

Returneaza

PDF-ul atasat facturii in legatura cu comanda.

Flux:Nomenclator->TipRequest:PutData->Configurare:Adaugare_taskuri

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetData xmlns="http://tempuri.org/">
    <Domain>domeniu</Domain>
    <User>userul de replicare</User>
    <Password>parola userului de replicare</Password>
    <Unit>codul punctului de lucru al firme</Unit>
    <Div>codul diviziei firmei</Div>
    <Tip>denumirea replicarii</Tip>
    <XmlExtraParams>
        <tasks>
                <task
                    id="id-ul task-ului"
                    task_type="tipul task-ului"
                    task_status="starea in care intra task-ul primit din site"
                    task_name="subiectul task-ului"
                    task_description="descrierea taskului"
                    task_date="data raportarii task-ului(ex: 2020-11-26)"
                    task_from="email-ul celui care a facut solicitarea"
                    project_code="codul proiectului in care se insereaza taskul"
                    client_code="codul clientului care se asociaza proiectului in care se insereaza taskul"
                    asset_code="codul assetului asociat taskului" 
                    termentask="termenul pana la care se doreste a fi solutionat task-ul(ex: 2020-11-30)"
                    proiectid="id-ul proiectului din Pluriva ERP in care se insereaza taskul"
                    tiptaskid="id-ul tipului de task care va fi inserat"
                    assetid="id-ul assetului din Pluriva ERP asociat taskului" 
                    assetids="id-urile asseturilor din Pluriva ERP asociate taskului"
                    />
        </tasks>
    </XmlExtraParams>
    </GetData>
  </soap:Body>
</soap:Envelope>

Returneaza

OK

Flux:Comanda->TipRequest:PutData

Request SOAP:

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PutData xmlns="http://tempuri.org/">
<Domain>domeniu</Domain>
<User>userul de replicare</User>
<Password>parola userului de replicare</Password>
<Unit>codul punctului de lucru al firme</Unit>
<Div>codul diviziei firmei</Div>
<Tip>denumirea replicarii</Tip>
<XmlData>
	<orders>
		<order orderid="32423" orderdate="2020-12-17" operation="ADD" doctypename="Online" payment_method="Card" payment_days="" currency="" clientid="32363" client_name="" client_surname="" client_givenname="" client_cui="" client_address="" client_tradeno="" client_country = "" client_country_code="" client_county="" client_county_code="" client_city="" client_type="" delivery_date="" order_status="De facturat">
			<delivery_info delivery_address="adresa" delivery_street="" delivery_street_no="" delivery_block ="" delivery_floor="" delivery_apartment="" delivery_country = "" delivery_country_code="" delivery_county="" delivery_county_code="" delivery_city="" delivery_carrier=""/>
			<delivery_contact dely_contact_code="" dely_contact_name="" dely_contact_surname="" dely_contact_email="" dely_contact_phone ="" dely_contact_mobile="" dely_contact_title="" dely_contact_position="" dely_address="" dely_street="" dely_street_no="" dely_block ="" dely_floor="" dely_apartment="" dely_country = "" dely_country_code="" dely_county="" dely_county_code="" dely_city=""/>
			<client_info client_code="" client_type="" client_portofolio="" client_agent="" client_collaboration="" client_segment ="" client_price_catalog=""/>
			<contact_info contact_code="" contact_name="" contact_surname="" contact_email="" contact_phone ="" contact_mobile="" contact_title="" contact_position=""/>
			<order_notes/>
			<payment_card transactionid="" authorizationcode="" rrncode="" cardcode="" holdername="" paymentnotes=""/>
Pret fara tva			
<items>
				<item itemid="77721" item_name="AGITATOR GRANOMAT" item_code="3261 8606" item_vat="" item_um="buc" quantity="4" price="10" finalprice="10" currency="RON" item_notes="test" item_notes2="site" inventory_code=""/>
				<item itemid="76878" item_name="CELULA GRANOMAT" item_code="2195 0150" item_vat="" item_um="buc" quantity="1" price="23" finalprice="23" currency="RON" item_notes="test2" item_notes2="site2" inventory_code=""/>
			</items>
Pret cu tva
	                 <items>
				<item itemid="77721" item_name="AGITATOR GRANOMAT" item_code="3261 8606" item_vat="" item_um="buc" quantity="4" pricewithvat="11.9" finalpricewithvat="11.9" currency="RON" item_notes="test" item_notes2="site" inventory_code=""/>
				<item itemid="76878" item_name="CELULA GRANOMAT" item_code="2195 0150" item_vat="" item_um="buc" quantity="1" pricewithvat="27.37" finalpricewithvat="27.37" currency="RON" item_notes="test2" item_notes2="site2" inventory_code=""/>
			</items>
		</order>
	</orders>
</XmlData>
<XmlExtraParams>
</XmlExtraParams>
</PutData>
</soap:Body>
</soap:Envelope>

Returneaza

OK

Flux:Nomenclator->TipRequest:GetData->Configurare:Anulare_documente_intrare

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetData xmlns="http://tempuri.org/">
    <Domain>domeniu</Domain>
    <User>userul de replicare</User>
    <Password>parola userului de replicare</Password>
    <Unit>codul punctului de lucru al firme</Unit>
    <Div>codul diviziei firmei</Div>
    <Tip>denumirea replicarii</Tip>
      <XmlExtraParams>
        <root>
	<document>
		<datadocument>20211220</datadocument>
		<numardocument>9852</numardocument>  
		<utilizator>Pluriva ERP</utilizator> 
		<codfiscal></codfiscal> 
	</document>
	<document>
		<datadocument>20220331</datadocument>
		<numardocument>9852</numardocument>  
		<utilizator>Pluriva ERP</utilizator>
		<codfiscal></codfiscal> 
	</document>
        </root>
        </XmlExtraParams>
    </GetData>
  </soap:Body>
</soap:Envelope>


Numarul documentului, data documentului si utilizatorul(o sa fie trecut ca userul care a anulat documentul) sunt obligatorii!

Returneaza:

Mesaj
Ok, atunci cand documentul a fost anulat
Mesaj de eroare, atunci cand nu s-a anulat documentul.
Data documentului
Numarul documentului
Utilizatorul
Codul fiscal