Difference between revisions of "Replicari sincrone"

From docs
Jump to: navigation, search
Line 83: Line 83:
 
:Tip
 
:Tip
 
:TipAsset
 
:TipAsset
 +
 +
===sssss===
 +
 +
<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>sartorom</Domain>
 +
            <User>usr_replic_sartorom</User>
 +
            <Password>7440a88c9c3a46a39230b40a0aa6b47c</Password>
 +
            <Unit>SARTOROMD</Unit>
 +
            <Div>SARTOROM</Div>
 +
            <Tip>Comanda</Tip>
 +
            <XmlData>
 +
&lt;orders&gt;
 +
    &lt;order orderid=&quot;32423&quot; orderdate=&quot;2020-12-17&quot; operation=&quot;ADD&quot; doctypename=&quot;Online&quot; payment_method=&quot;Card&quot; payment_days=&quot;&quot; currency=&quot;&quot; clientid=&quot;32363&quot; client_name=&quot;&quot; client_surname=&quot;&quot; client_givenname=&quot;&quot; client_cui=&quot;&quot; client_address=&quot;&quot; client_tradeno=&quot;&quot; client_country = &quot;&quot; client_country_code=&quot;&quot; client_county=&quot;&quot; client_county_code=&quot;&quot; client_city=&quot;&quot; client_type=&quot;&quot; delivery_date=&quot;&quot; order_status=&quot;De facturat&quot;&gt;
 +
        &lt;delivery_info delivery_address=&quot;adresa&quot; delivery_street=&quot;&quot; delivery_street_no=&quot;&quot; delivery_block =&quot;&quot; delivery_floor=&quot;&quot; delivery_apartment=&quot;&quot; delivery_country = &quot;&quot; delivery_country_code=&quot;&quot; delivery_county=&quot;&quot; delivery_county_code=&quot;&quot; delivery_city=&quot;&quot; delivery_carrier=&quot;&quot;/&gt;
 +
        &lt;delivery_contact dely_contact_code=&quot;&quot; dely_contact_name=&quot;&quot; dely_contact_surname=&quot;&quot; dely_contact_email=&quot;&quot; dely_contact_phone =&quot;&quot; dely_contact_mobile=&quot;&quot; dely_contact_title=&quot;&quot; dely_contact_position=&quot;&quot; dely_address=&quot;&quot; dely_street=&quot;&quot; dely_street_no=&quot;&quot; dely_block =&quot;&quot; dely_floor=&quot;&quot; dely_apartment=&quot;&quot; dely_country = &quot;&quot; dely_country_code=&quot;&quot; dely_county=&quot;&quot; dely_county_code=&quot;&quot; dely_city=&quot;&quot;/&gt;
 +
        &lt;client_info client_code=&quot;&quot; client_type=&quot;&quot; client_portofolio=&quot;&quot; client_agent=&quot;&quot; client_collaboration=&quot;&quot; client_segment =&quot;&quot; client_price_catalog=&quot;&quot;/&gt;
 +
        &lt;contact_info contact_code=&quot;&quot; contact_name=&quot;&quot; contact_surname=&quot;&quot; contact_email=&quot;&quot; contact_phone =&quot;&quot; contact_mobile=&quot;&quot; contact_title=&quot;&quot; contact_position=&quot;&quot;/&gt;
 +
        &lt;order_notes/&gt;
 +
        &lt;payment_card transactionid=&quot;&quot; authorizationcode=&quot;&quot; rrncode=&quot;&quot; cardcode=&quot;&quot; holdername=&quot;&quot; paymentnotes=&quot;&quot;/&gt;
 +
        &lt;items&gt;
 +
            &lt;item itemid=&quot;77721&quot; item_name=&quot;AGITATOR GRANOMAT&quot; item_code=&quot;3261 8606&quot; item_vat=&quot;&quot; item_um=&quot;buc&quot; quantity=&quot;4&quot; price=&quot;10&quot; finalprice=&quot;10&quot; currency=&quot;RON&quot; item_notes=&quot;test&quot; item_notes2=&quot;site&quot; inventory_code=&quot;&quot;/&gt;
 +
            &lt;item itemid=&quot;76878&quot; item_name=&quot;CELULA GRANOMAT&quot; item_code=&quot;2195 0150&quot; item_vat=&quot;&quot; item_um=&quot;buc&quot; quantity=&quot;1&quot; price=&quot;23&quot; finalprice=&quot;23&quot; currency=&quot;RON&quot; item_notes=&quot;test2&quot; item_notes2=&quot;site2&quot; inventory_code=&quot;&quot;/&gt;
 +
        &lt;/items&gt;
 +
    &lt;/order&gt;
 +
&lt;/orders&gt;
 +
    </XmlData>
 +
            <XmlExtraParams>
 +
            </XmlExtraParams>
 +
        </PutData>
 +
    </soap:Body>
 +
</soap:Envelope>
 +
</nowiki>

Revision as of 22:59, 17 December 2020


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

sssss

<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>sartorom</Domain>
            <User>usr_replic_sartorom</User>
            <Password>7440a88c9c3a46a39230b40a0aa6b47c</Password>
            <Unit>SARTOROMD</Unit>
            <Div>SARTOROM</Div>
            <Tip>Comanda</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>