Difference between revisions of "Replicari sincrone"

From docs
Jump to: navigation, search
Line 84: Line 84:
 
:TipAsset
 
:TipAsset
  
===sssss===
+
===Flux:Comanda->TipRequest:PutData===
  
 
  <nowiki>
 
  <nowiki>

Revision as of 23:05, 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

Flux:Comanda->TipRequest:PutData

<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>
<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>
    </XmlData>
            <XmlExtraParams>
            </XmlExtraParams>
        </PutData>
    </soap:Body>
</soap:Envelope>