Difference between revisions of "Replicari sincrone"
Line 176: | Line 176: | ||
<XmlExtraParams> | <XmlExtraParams> | ||
<root> | <root> | ||
− | <header>PravaliaBio</header> | + | <header><code>PravaliaBio</code></header> |
<stocuriproduse> | <stocuriproduse> | ||
<inclusivfarastoc>1</inclusivfarastoc> | <inclusivfarastoc>1</inclusivfarastoc> |
Revision as of 14:10, 4 January 2021
- Administrare
- Interfațare
- Sincrona
- Interfațare
Contents
Filtre
- Replicare
Coloane
- Replicare
- Flux
- din fluxurile predefinite de selectare a datelor
- Encoding
Operatii globale
- Adaugare replicare
- adaugare replicare noua
- 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
- Furnizor
- Judet
- Localitate
- NumarFactIes
- PlanuriMentenanta
- Producator
- SerieIesire
- Tara
- Telefon
- Tip
- TipAsset
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=""/> <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>
Returneaza
- Ok
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>codul site-ului setat in Pluriva ERP</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>PravaliaBio</code></header> <stocuriproduse> <inclusivfarastoc>1</inclusivfarastoc> </stocuriproduse> </root> </XmlExtraParams> </GetData> </soap:Body> </soap:Envelope>
Returneaza
- CantNereceptionata
- CodBare
- CodProdus
- DenumireProdus
- ProdusId
- Stoc