User Tools

Site Tools



en:xml_direct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:xml_direct [2025/08/04 09:13] – [Hankijad] toomasen:xml_direct [2025/08/04 09:16] (current) toomas
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
- 
 ======XML Direct ====== ======XML Direct ======
 =====Introduction ===== =====Introduction =====
Line 504: Line 502:
 |content|sisu|Content| | |content|sisu|Content| |
 |param|param|Parameter| | |param|param|Parameter| |
-===Artiklid=== +===Items=== 
-  * Artikli kaardi täitmisel liides täidab valjad vastavalt reeglitele [[et:kohustuslik|]]+  * When filling out the item card, the interface fills the fields according to the rules [[en:mandatory|]]
  
 what=item what=item
-[[https://login.directo.ee/xmlcore/cap_xml_direct/xml_IN_artiklid.xsd|Skeem ]]+[[https://login.directo.ee/xmlcore/cap_xml_direct/xml_IN_artiklid.xsd|Schema ]]
  
-==Artiklid== +==Items== 
-^XML väli^SQL väli^UI väli^Selgitus^+^XML field^SQL field^UI field^Explanation^
 |session_id|x| | for internal use at Directo side, do not send this field! | |session_id|x| | for internal use at Directo side, do not send this field! |
-|code|kood|Kood| document number/ID, mandatory; It must be unique for each document and remain same if more than one transaction of the same document is necessary | +|code|kood|Code| document number/ID, mandatory; It must be unique for each document and remain same if more than one transaction of the same document is necessary | 
-|name|nimi|Nimi| | +|name|nimi|Name| | 
-|class|klass|Klass| | +|class|klass|Class| | 
-|barcode|ribakood|Ribakood| | +|barcode|ribakood|Barcode| | 
-|areacode|piirkonnakood|Päritolu| | +|areacode|piirkonnakood|Origin| | 
-|unit|yhik|Ühik| | +|unit|yhik|Unit| | 
-|salesprice|baashind|Müügihind| without VAT | +|salesprice|baashind|Sales price| without VAT | 
-|accountlocal|konto_myyk|Müük Siseriiklik| | +|accountlocal|konto_myyk|Sales Domestic| | 
-|accounteu|konto_myyk_EU|Müük EU| | +|accounteu|konto_myyk_EU|Sales EU| | 
-|accountexport|konto_myyk_eksport|Müük Eksp| | +|accountexport|konto_myyk_eksport|Sales Exp| | 
-|vatcode|KMkood|KM Siseriiklik| | +|vatcode|KMkood|VAT Domestic| | 
-|vatcodeeu|KMkood_EU|KM EU| | +|vatcodeeu|KMkood_EU|VAT EU| | 
-|vatcodeexport|KMkood_eksport|KM mitte EU| | +|vatcodeexport|KMkood_eksport|VAT non-EU| | 
-|type|tyyp|Tüüp| ALT.FROM: tr.params, cannot be updated. 0=service; 1=stock item; 2=rental item  | +|type|tyyp|Type| ALT.FROM: tr.params, cannot be updated. 0=service; 1=stock item; 2=rental item  | 
-|minlevel|minimaaltase|Min tase| | +|minlevel|minimaaltase|Min level| | 
-|shelf|riiulikood|Riiul| | +|shelf|riiulikood|Shelf| | 
-|weight|kaal|Kaal| | +|weight|kaal|Weight| | 
-|volume|maht|Maht| | +|volume|maht|Volume| | 
-|warranty|garantii|Garantii| | +|warranty|garantii|Warranty| | 
-|package1|yhikumuut1|Pakis 1| | +|package1|yhikumuut1|In package 1| | 
-|package2|yhikumuut2|Pakis 2| | +|package2|yhikumuut2|In package 2| | 
-|sntracking|SN_jalgimine|Seeria nr| cannot be updated. 0=without sn tracking; 1=serial no tracking; 2=batch no tracking | +|sntracking|SN_jalgimine|Serial no.| cannot be updated. 0=without sn tracking; 1=serial no tracking; 2=batch no tracking | 
-|cost|ostuhind|Ostuhind| | +|cost|ostuhind|Purchase price| | 
-|object|objekt|Objekt| | +|object|objekt|Object| | 
-|recipe|retsept|Retsept| | +|recipe|retsept|Recipe| | 
-|recipetorows|retsept_ridadeks|Retsept ei asetu| | +|recipetorows|retsept_ridadeks|Recipe does not apply| | 
-|alert|hoiatus|Hoiatus| | +|alert|hoiatus|Warning| | 
-|closed|suletud|Suletud| closed = 1, open = 0 | +|closed|suletud|Closed| closed = 1, open = 0 | 
-|description|pikktekst|Kirjeldus| | +|description|pikktekst|Description| | 
-|vatprice1|hind_okonline|Lisahind 1 (customizable)| with local VAT | +|vatprice1|hind_okonline|Add. price 1 (customizable)| with local VAT | 
-|vatprice2|hind_delfi|Lisahind 2 (customizable)| with local VAT | +|vatprice2|hind_delfi|Add. price 2 (customizable)| with local VAT | 
-|vatprice3|soodus_hind1|Soodushind 1 (customizable)| with local VAT | +|vatprice3|soodus_hind1|Discount price 1 (customizable)| with local VAT | 
-|vatprice4|soodus_hind2|Soodushind 2 -customizable)| with local VAT | +|vatprice4|soodus_hind2|Discount price 2 -customizable)| with local VAT | 
-|vatprice|hind_tavaline|Tavahind| ALT.FROM: salesprice + local vat | +|vatprice|hind_tavaline|Regular price| ALT.FROM: salesprice + local vat | 
-|priority|prioriteet|Prioriteet| |+|priority|prioriteet|Priority| |
 |url|url|URL| | |url|url|URL| |
-|supplier|hankija_kood|Hankija| | +|supplier|hankija_kood|Supplier| | 
-|supplieritem|hankija_artikkel|Hankartikkel| | +|supplieritem|hankija_artikkel|Suppitem| | 
-|maxlevel|maksimaaltase|Max tase| | +|maxlevel|maksimaaltase|Max level| | 
-|abc|abc|ABC klass| | +|abc|abc|ABC class| | 
-|cn8code|cn8_kood|CN8 kood| | +|cn8code|cn8_kood|CN8 code| | 
-|cnkogus|cnkogus|CN kogus| | +|cnkogus|cnkogus|CN quantity| | 
-|vatcodeeu2|KMKood_EU2|KM EU 2| | +|vatcodeeu2|KMKood_EU2|VAT EU 2| | 
-|vatcodeeu3|KMKood_EU3|KM EU 3| | +|vatcodeeu3|KMKood_EU3|VAT EU 3| | 
-|vatcodeconcern|KMKood_kontsern|KM kontsern| | +|vatcodeconcern|KMKood_kontsern|VAT concern| | 
-|accounteu2|konto_myyk_EU2|Müük EU 2| | +|accounteu2|konto_myyk_EU2|Sales EU 2| | 
-|accounteu3|konto_myyk_EU3|Müük EU 3| | +|accounteu3|konto_myyk_EU3|Sales EU 3| | 
-|accountconcern|konto_myyk_kontsern|Müük kontsern| | +|accountconcern|konto_myyk_kontsern|Sales concern| | 
-|snclass|sn_klass|SN klass| | +|snclass|sn_klass|SN class| | 
-|normarrivaltime|norm_aeg|Norm saabumisaeg| | +|normarrivaltime|norm_aeg|Normal arrival time| | 
-|replacement|asendus|Asendus| | +|replacement|asendus|Replacement| | 
-|snrule|sn_reegel|SN reegel| | +|snrule|sn_reegel|SN rule| | 
-|project|projekt|Projekt| |+|project|projekt|Project| |
 |variants|variandid|Variant| cannot be updated. 0=no; 1=yes | |variants|variandid|Variant| cannot be updated. 0=no; 1=yes |
 |autosn|auto_sn|Auto SN| | |autosn|auto_sn|Auto SN| |
-|specialprice1|kaibeta_hind1|Artikli käibeta lisahind1 (customizable)| | +|specialprice1|kaibeta_hind1|Item add. price w/o VAT 1 (customizable)| | 
-|specialprice2|kaibeta_hind2|Artikli käibeta lisahind2 (customizable)| | +|specialprice2|kaibeta_hind2|Item add. price w/o VAT 2 (customizable)| | 
-|specialprice3|kaibeta_hind3|Artikli käibeta lisahind3 (customizable)| | +|specialprice3|kaibeta_hind3|Item add. price w/o VAT 3 (customizable)| | 
-|specialprice4|kaibeta_hind4|Artikli käibeta lisahind4 (customizable)| | +|specialprice4|kaibeta_hind4|Item add. price w/o VAT 4 (customizable)| | 
-|specialprice5|kaibeta_hind5|Artikli käibeta lisahind5 (customizable)| | +|specialprice5|kaibeta_hind5|Item add. price w/o VAT 5 (customizable)| | 
-|specialprice6|kaibeta_hind6|Artikli käibeta lisahind6 (customizable)| | +|specialprice6|kaibeta_hind6|Item add. price w/o VAT 6 (customizable)| | 
-|specialprice7|kaibeta_hind7|Artikli käibeta lisahind7 (customizable)| | +|specialprice7|kaibeta_hind7|Item add. price w/o VAT 7 (customizable)| | 
-|specialprice8|kaibeta_hind8|Artikli käibeta lisahind8 (customizable)| | +|specialprice8|kaibeta_hind8|Item add. price w/o VAT 8 (customizable)| | 
-|height|korgus|Kõrgus| | +|height|korgus|Height| | 
-|width|laius|Laius| | +|width|laius|Width| | 
-|depth|sygavus|Sügavus| | +|depth|sygavus|Depth| | 
-|grossweight|kaal_bruto|Bruto kaal| | +|grossweight|kaal_bruto|Gross weight| | 
-|giftcert|kinkekaart|Kinkekaart| | +|giftcert|kinkekaart|Gift card| | 
-|manufacturer|tootja|Tootja| | +|manufacturer|tootja|Manufacturer| | 
- +== Items additional fields: == 
-== Artiklid lisaväljad: == +^XML field^SQL field^UI field^Explanation^
-^XML väli^SQL väli^UI väli^Selgitus^+
 |code|kood| | | |code|kood| | |
-|content|sisu|Sisu| | +|content|sisu|Content| | 
-|param|param|Parameeter| | +|param|param|Parameter| |
- +
-== Artiklid pakendid: == +
-^XML väli^SQL väli^UI väli^Selgitus^ +
-|class|pakendi_klass|Klass| | +
-|type|pakendi_tyyp|Tüüp| | +
-|height|korgus|Kõrgus| | +
-|width|laius|Laius| | +
-|length|pikkus|Pikkus| | +
-|volume|maht|Maht| | +
-|qty|kogus|Pak.kogus| | +
-|packageweight|pakendi_kaal|Pakendi kaal| | +
-|productweight|toote_kaal|Toote kaal| | +
-|totalweight|kaal_kokku|KOKKU kaal| | +
-|totalvolume|maht_kokku|KOKKU maht| | +
-|barcode|ribakood|Ribakood| | +
-|comment|kommentaar|Kommentaar| | +
-|shelf|riiul|Riiul| |+
  
-== Artiklid hankija artiklid: == +== Items packages: == 
-^XML väli^SQL väli^UI väli^Selgitus+^XML field^SQL field^UI field^Explanation^ 
-|supplier|hankija|Hankija| | +|class|pakendi_klass|Class| | 
-|supplieritem|hankija_artikkel|Hankartikkel| | +|type|pakendi_tyyp|Type| | 
-|name|nimi|Nimi| | +|height|korgus|Height| | 
-|price|hind|Ostuhind| | +|width|laius|Width| | 
-|normarrivaltime|norm_aeg|Norm saabumisaeg| | +|length|pikkus|Length| | 
-|object|objekt|Objekt| |+|volume|maht|Volume| | 
 +|qty|kogus|Pack. qty| | 
 +|packageweight|pakendi_kaal|Package weight| | 
 +|productweight|toote_kaal|Product weight| | 
 +|totalweight|kaal_kokku|TOTAL weight| | 
 +|totalvolume|maht_kokku|TOTAL volume| | 
 +|barcode|ribakood|Barcode| | 
 +|comment|kommentaar|Comment| | 
 +|shelf|riiul|Shelf| | 
 +== Items supplier items: == 
 +^XML field^SQL field^UI field^Explanation
 +|supplier|hankija|Supplier| | 
 +|supplieritem|hankija_artikkel|Suppitem| | 
 +|name|nimi|Name| | 
 +|price|hind|Purchase price| | 
 +|normarrivaltime|norm_aeg|Normal arrival time| | 
 +|object|objekt|Object| |
 |variant|variant|Variant| | |variant|variant|Variant| |
 |varianta|varianta|VariantA - (customizable)| | |varianta|varianta|VariantA - (customizable)| |
Line 623: Line 619:
 |variantg|variantg|VariantG - (customizable)| | |variantg|variantg|VariantG - (customizable)| |
 |varianth|varianth|VariantH - (customizable)| | |varianth|varianth|VariantH - (customizable)| |
-|salesprice|myygihind|Müügihind| without VAT|+|salesprice|myygihind|Sales price| without VAT|
 |sales|myyk|| ALT.FROM: tr.params, cannot be updated ,  sales item = 1, supplier item = 0 | |sales|myyk|| ALT.FROM: tr.params, cannot be updated ,  sales item = 1, supplier item = 0 |
- +== Items - minmax: == 
-== Artiklid - minmax: == +^XML field^SQL field^UI field^Explanation
-^XML väli^SQL väli^UI väli^Selgitus+|stock|ladu|Stock| | 
-|stock|ladu|Ladu| | +|shelf|riiul|Shelf| |
-|shelf|riiul|Riiul| |+
 |variant|variant|Variant| | |variant|variant|Variant| |
 |minlevel|min_kogus|MIN| | |minlevel|min_kogus|MIN| |
 |maxlevel|max_kogus|MAX| | |maxlevel|max_kogus|MAX| |
- +==Item transport parameters == 
-==Artikli transpordi parameetrid == +^TYPE ^CODE ^PARAMETER 1 ^PARAMETER 2 ^EXPLANATION
-^TÜÜP ^KOOD ^PARAMEETER 1 ^PARAMEETER 2 ^SELGITUS+|XML |xd_supplieritemtype |0 |ITEM |0 = supplier item; 1 = sales item 
-|XML |xd_supplieritemtype |0 |ITEM |0 = hankija artikkel; 1 = müügi artikkel +|XML |type |1 |ITEM |1 = stock item 
-|XML |type |1 |ITEM |1 = laoartikkel | +===Purchase Invoices ===
- +
- +
-===Ostuarved ===+
  
 what=purchase what=purchase
-[[https://login.directo.ee/xmlcore/cap_xml_direct/xml_IN_oarved.xsd|Skeem ]]+[[https://login.directo.ee/xmlcore/cap_xml_direct/xml_IN_oarved.xsd|Schema ]]
  
-==Päis== +==Header== 
-^XML väli^SQL väli^UI väli^Selgitus^+^XML field^SQL field^UI field^Explanation^
 |session_id|x| | for internal use at Directo side, do not send this field! | |session_id|x| | for internal use at Directo side, do not send this field! |
 |number|number|Number| document number/ID, mandatory; It must be unique for each document and remain same if more than one transaction of the same document is necessary | |number|number|Number| document number/ID, mandatory; It must be unique for each document and remain same if more than one transaction of the same document is necessary |
-|date|aeg|Arve aeg| ALT.FROM: current time | +|date|aeg|Invoice time| ALT.FROM: current time | 
-|duedate|tas_aeg|Tas. aeg| | +|duedate|tas_aeg|Due time| | 
-|sum|summa|Tasuda| sum with vat | +|sum|summa|To be paid| sum with vat | 
-|supplierinvoiceno|hankija_arve|Hankija arve| | +|supplierinvoiceno|hankija_arve|Supplier invoice| | 
-|paymentterm|tingimus|Tasting.| ALT.FROM: supplier | +|paymentterm|tingimus|Payterm.| ALT.FROM: supplier | 
-|suppliercode|hankija_kood|Hankija| |+|suppliercode|hankija_kood|Supplier| |
 |suppliername|hankija_nimi|| ALT.FROM: supplier | |suppliername|hankija_nimi|| ALT.FROM: supplier |
 |bankaccount|pangakonto| | ALT.FROM: supplier | |bankaccount|pangakonto| | ALT.FROM: supplier |
-|reference|viide|Viitenumber| ALT.FROM: supplier | +|reference|viide|Reference number| ALT.FROM: supplier | 
-|transactiontime|kande_aeg|Opaeg| | +|transactiontime|kande_aeg|Opertime| | 
-|creditaccount|kred_konto|Kredkonto| ALT.FROM: supplier > glob.settings | +|creditaccount|kred_konto|Credaccount| ALT.FROM: supplier > glob.settings | 
-|factoring|arve_tasub|Arve tasub| | +|factoring|arve_tasub|Invoice paid by| | 
-|currency|valuuta|Valuuta| ALT.FROM: glob.settings > 'EUR'+|currency|valuuta|Currency| ALT.FROM: glob.settings > 'EUR'
-|currencyrate|kurssbv1|Kurss| ALT.FROM: ECB current published rates | +|currencyrate|kurssbv1|Rate| ALT.FROM: ECB current published rates | 
-|vatzone|maa|KM Maa (peidetud väli)| local = 0, EU = 1, export = 2 ,  ALT.FROM: supplier > 0 | +|vatzone|maa|VAT Zone (hidden field)| local = 0, EU = 1, export = 2 ,  ALT.FROM: supplier > 0 | 
-|comment|kommentaar|Kommentaar| | +|comment|kommentaar|Comment| | 
-|vat|arvestatudkm|KM kokku| | +|vat|arvestatudkm|VAT total| | 
-|object|objekt|Objekt| ALT.FROM: supplier > tr.params | +|object|objekt|Object| ALT.FROM: supplier > tr.params | 
-|bankcode|pangakood|Pangakood| | +|bankcode|pangakood|Bank code| | 
-|creditpurchase|kredost|Kredost| | +|creditpurchase|kredost|Cred. purch.| | 
-|purchaseorder|ostutellimus|Ostutellimus| | +|purchaseorder|ostutellimus|Purchase order| | 
-|project|projekt|Projekt| | +|project|projekt|Project| | 
-|email|email|meil| ALT.FROM: supplier | +|email|email|e-mail| ALT.FROM: supplier | 
-|stockreceipt|sissetulek|Sissetulek| | +|stockreceipt|sissetulek|Stock receipt| | 
-|country|asumaa|Saatjariik| ALT.FROM: supplier | +|country|asumaa|Origin country| ALT.FROM: supplier | 
-|prepayment|ettemaks|Ettemaks| | +|prepayment|ettemaks|Prepayment| | 
-|status|staatus|Staatus| | +|status|staatus|Status| | 
-|type|tyyp|Tüüp| | +|type|tyyp|Type| | 
-|dividedsum|jagatav_summa|Jagatav summa| | +|dividedsum|jagatav_summa|Divisible sum| | 
-|vatdate|km_aeg|KM aeg| ALT.FROM: date > current time | +|vatdate|km_aeg|VAT time| ALT.FROM: date > current time | 
-|reclamation|reklamatsioon|Reklamatsioon| | +|reclamation|reklamatsioon|Reclamation| | 
-|reclamationcomment|rekl_selgitus|Reklselgitus| | +|reclamationcomment|rekl_selgitus|Reclexplanation| | 
-|asset|inventar|Inventar| |+|asset|inventar|Asset| |
 |datafield1|lisa_field1|| | |datafield1|lisa_field1|| |
 |datafield2|lisa_field2|| | |datafield2|lisa_field2|| |
Line 689: Line 681:
 |datafield6|lisa_field6|| | |datafield6|lisa_field6|| |
 |datafield7|lisa_field7|| | |datafield7|lisa_field7|| |
-|intcomment|sisekommentaar|Sisekommentaar| | +|intcomment|sisekommentaar|Internal comment| | 
-|supplier_class|hankija_klass|Klass| | +|supplier_class|hankija_klass|Class| | 
-|supplier_vatcountry|hankija_maa_tasu|KM-maa| local = 0, EU = 1, export = 2 ,  ALT.FROM: customer > 0 | +|supplier_vatcountry|hankija_maa_tasu|VAT-zone| local = 0, EU = 1, export = 2 ,  ALT.FROM: customer > 0 | 
-|supplier_regno|hankija_regnr1|Reg nr 1| | +|supplier_regno|hankija_regnr1|Reg no 1| | 
-|supplier_vatregno|hankija_kmregnr|Km reg nr| | +|supplier_vatregno|hankija_kmregnr|VAT reg no| | 
-|supplier_type|hankija_tyyp|Tüüp| | +|supplier_type|hankija_tyyp|Type| | 
-|confirm|kinnita|Olek| "1" - confirm document |+|confirm|kinnita|State| "1" - confirm document |
  
-==read == +==rows == 
-^XML väli^SQL väli^UI väli^Selgitus+^XML field^SQL field^UI field^Explanation
-|account|konto|Konto| | +|account|konto|Account| | 
-|object|objekt|Objekt ALT.FROM: project | +|object|objekt|Object| ALT.FROM: project | 
-|name|sisu|Sisu|  ALT.FROM: account | +|name|sisu|Content|  ALT.FROM: account | 
-|linetotalwovat|summa|Summa| | +|linetotalwovat|summa|Sum| | 
-|vatcode|kmkood|KMK|  ALT.FROM: supplier > account > object | +|vatcode|kmkood|VAT code|  ALT.FROM: supplier > account > object | 
-|project|projekt|Projekt| | +|project|projekt|Project| | 
-|customer|klient_kood|Klient| | +|customer|klient_kood|Customer| | 
-|item|artikkel|Artikkel| | +|item|artikkel|Item| | 
-|quantity|kogus|Kogus| | +|quantity|kogus|Quantity| | 
-|date1|r_aeg1|Algus| | +|date1|r_aeg1|Start| | 
-|date2|r_aeg2|Lõpp| | +|date2|r_aeg2|End| | 
-|contract|leping|Leping| | +|contract|leping|Contract| | 
-|user|kasutaja|Kasutaja| |+|user|kasutaja|User| |
 |oid|oid|OID| | |oid|oid|OID| |
 |orderrn|trn|| | |orderrn|trn|| |
-|asset|r_inventar|Inventar| | +|asset|r_inventar|Asset| | 
-|price|myygihind|Müügihind| |+|price|myygihind|Sales price| |
 |constant1|konstant1| | | |constant1|konstant1| | |
 |constant2|konstant2| | | |constant2|konstant2| | |
Line 724: Line 716:
 |text3|tekst3|| | |text3|tekst3|| |
 |text4|tekst4|| | |text4|tekst4|| |
-|intcomment|r_sisekommentaar|Sisekommentaar| | +|intcomment|r_sisekommentaar|Internal comment| | 
-|vatsum|km|KM| | +|vatsum|km|VAT| | 
-|rn|rn|Nr| |+|rn|rn|No.| |
  
-==manused == +==attachments == 
-^XML väli^SQL väli^UI väli^Selgitus^+^XML field^SQL field^UI field^Explanation^
 |name |attachment_name | | | |name |attachment_name | | |
 |description |attachment_kirjeldus | | | |description |attachment_kirjeldus | | |
-|code |kood| | for updating excisting attachments, do not send this field for new attachments |+|code |kood| | for updating existing attachments, do not send this field for new attachments |
 |sharepoint_link |cloud_preview_query| | external Sharepoint attachment link  | |sharepoint_link |cloud_preview_query| | external Sharepoint attachment link  |
 |gdrive_link |cloud_gdrive| | external Google Drive attachment link  | |gdrive_link |cloud_gdrive| | external Google Drive attachment link  |
 |ext_link|cloud_ext_link | | external attachment link, must be full external link starting with <code>http://</code>  | |ext_link|cloud_ext_link | | external attachment link, must be full external link starting with <code>http://</code>  |
- +==Purchase invoice transport parameters == 
-==Ostuarve transpordi parameetrid == +TYPE  CODE                      PARAMETER 1  ^ PARAMETER 2  ^ EXPLANATION                                                                                                      
-TÜÜP  KOOD                      PARAMEETER 1  ^ PARAMEETER 2  ^ SELGITUS                                                                                                                          +| XML   | xd_autosupplier           | 1             | PURCHASE      | Automatic creation of a related supplier if the supplier code does not exista unique reg. number is a prerequisite 
-| XML   | xd_autosupplier           | 1             | PURCHASE      | Automaatne seotud hankija loominekui hankija koodi ei eksisteeri, unikaalne regnr on eelduseks                                  +| XML   | xd_autosupplier_autocode  | 0             | PURCHASE      | When creating a related supplierthe code is created in the interface, a unique reg. number is required and system settings for supplier codes are necessary 
-| XML   | xd_autosupplier_autocode  | 0             | PURCHASE      | Seotud hankija loomisel luuakse kood liidesesunikaalne reg.number on vajalik ja hankija koodi süsteemiseadistused on vajalikud  +| XML   | xd_update                 | 0             | PURCHASE      | Allow document update if there are no related documents                                                          
-| XML   | xd_update                 | 0             | PURCHASE      | Luba dokumendi update, kui puuduvad seotud dokumendid                                                                             +| XML   | supplier_update           | 0             | PURCHASE      | Partial update of supplier data, (email, ... ) fields need to be specified in the spec                             
-| XML   | supplier_update           | 0             | PURCHASE      | Hankija andmete osaline update, (email, ... ) väljad on vaja spekis täpsustada                                                    +| XML   | xd_object                 | VEEB          | PURCHASE      | Default objectif not sent                                                                                      
-| XML   | xd_object                 | VEEB          | PURCHASE      | Vaikimisi objektkui ei saadeta                                                                                                  +| XML   | xd_confirm                | 0             | PURCHASE      | Automatic document confirmationthis can also be controlled with the XML field "confirm"   
-| XML   | xd_confirm                | 0             | PURCHASE      | Automaatne dokumendi kinnitamineseda saab ka juhtida XML väljaga "confirm"                                                      | +===Resources ===
- +
- +
-===Ressursid ===+
  
 what=resource what=resource
-[[https://login.directo.ee/xmlcore/cap_xml_direct/xml_IN_ressursid.xsd|Skeem ]]+[[https://login.directo.ee/xmlcore/cap_xml_direct/xml_IN_ressursid.xsd|Schema ]]
  
  
  
-== Päis: == +== Header: == 
-^XML väli^SQL väli^UI väli^Selgitus^+^XML field^SQL field^UI field^Explanation^
 |session_id|x| | | |session_id|x| | |
 |ext_unique_id|ext_unique_id| | | |ext_unique_id|ext_unique_id| | |
Line 776: Line 765:
 |confirm|kinnita| | | |confirm|kinnita| | |
  
-== Read: == +== Rows: == 
-^XML väli^SQL väli^UI väli^Selgitus^+^XML field^SQL field^UI field^Explanation^
 |item|artikkel| | | |item|artikkel| | |
 |quantity|kogus| | | |quantity|kogus| | |
Line 821: Line 810:
 |delete|kustuta| | | |delete|kustuta| | |
 |rn|rn| | | |rn|rn| | |
 +==== Outputs ====
  
-==== Väljundid ====+=== Items (Items) ===
  
-=== Artiklid (Items) ===+  * what=item  [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid.xsd|Schema ]] \\ Filters: class,code,type,barcode,supplier,supplieritem,closed,ts
  
-  * what=item  [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid.xsd|Skeem ]] \\ Filtridclass,code,type,barcode,supplier,supplieritem,closed,ts+== Item stock limits (Item stock limits) == 
 +  * what=itemstocklimit [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid_laolimiidid.xsd|Schema ]] \\ Filters: code,stock,ts
  
-== Artikli laolimiidid (Item stock limits) == +== Item packages (Item packages) == 
-  * what=itemstocklimit [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid_laolimiidid.xsd|Skeem ]] \\ Filtrid: code,stock,ts+  * what=itempackage [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid_pakendid.xsd|Schema ]] \\ Filters: code,ts
  
-== Artikli pakendid (Item packages) == +== Item relations (Item relations) == 
-  * what=itempackage [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid_pakendid.xsd|Skeem ]] \\ Filtrid: code,ts+  * what=itemrelitem [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid_seotud.xsd|Schema ]] \\ Filters: code,ts
  
-== Seotud artikli (Item relations) == +=== Customers (Customers) ===
-  * what=itemrelitem [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artiklid_seotud.xsd|Skeem ]] \\ Filtrid: code,ts+
  
-=== Kliendid (Customers) ===+  * what=customer [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_kliendid.xsd|Schema ]] \\ Filters: code,loyaltycard,regno,email,phone,closed,ts
  
-  * what=customer [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_kliendid.xsd|Skeem ]] \\ Filtrid: code,loyaltycard,regno,email,phone,closed,ts +=== Suppliers (Suppliers) ===
- +
-=== Hankijad (Suppliers) ===+
  
   * what=supplier   * what=supplier
-  * [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_hankijad.xsd|Skeem ]] \\ +  * [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_hankijad.xsd|Schema ]] \\ 
-  * Filtrid: code,regno,email,closed,ts +  * Filters: code,regno,email,closed,ts
- +
-=== Laoseis (Stock levels) === +
-  * what=stocklevel [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laoseis.xsd|Skeem ]] \\ +
-  * what= stocklevel_sn [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laoseis_sn.xsd|Skeem ]] \\ +
-  * what=stocklevel_variant [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laoseis_variandid.xsd|Skeem ]] \\ +
-  * Filtrid: code,stock,ts +
- +
-=== Hinnavalemi read (Price formula rows) ===+
  
-  * what=priceformularow [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_hinnavalemid.xsd|Skeem ]] \\ Filtridclass,code,ts+=== Stock levels (Stock levels) === 
 +  * what=stocklevel [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laoseis.xsd|Schema ]] \\ 
 +  * what= stocklevel_sn [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laoseis_sn.xsd|Schema ]] \\ 
 +  * what=stocklevel_variant [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laoseis_variandid.xsd|Schema ]] \\ 
 +  * Filters: code,stock,ts
  
-=== Artikli klassid (Item classes) ===+=== Price formula rows (Price formula rows) ===
  
-  * what=itemclass [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artikliklassid.xsd|Skeem ]] \\ Filtrid: code,master+  * what=priceformularow [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_hinnavalemid.xsd|Schema ]] \\ Filtersclass,code,ts
  
-=== Arved (Invoices) ===+=== Item classes (Item classes) ===
  
-  * what=invoice [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_arved.xsd|Skeem ]] \\ Filtridnumber,customercode,transactiondate,date1,date2,ts, ordernumber+  * what=itemclass [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_artikliklassid.xsd|Schema ]] \\ Filterscode,master
  
-=== Tellimused (Orders) ===+=== Invoices (Invoices) ===
  
-  * what=order [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_tellimused.xsd|Skeem ]] \\ Filtrid: number,date1,date2,ts, projekt, customerordernumber, stock, status+  * what=invoice [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_arved.xsd|Schema ]] \\ Filters: number,customercode,transactiondate,date1,date2,ts, ordernumber
  
-=== Finantskanded (Transactions) ===+=== Orders (Orders) ===
  
-  * what=transaction [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_kanded.xsd|Skeem ]] \\ Filtrid: number,date1,date2,ts+  * what=order [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_tellimused.xsd|Schema ]] \\ Filters: number,date1,date2,ts, projekt, customerordernumber, stock, status
  
-=== Laekumised (Receipts) ===+=== Financial transactions (Transactions) ===
  
-  * what=receipt [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laekumised.xsd|Skeem ]] \\ Filtrid: number,date1,date2,ts+  * what=transaction [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_kanded.xsd|Schema ]] \\ Filters: number,date1,date2,ts
  
-=== Ostuarved (Purchase) ===+=== Receipts (Receipts) ===
  
-  * what=purchase [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_oarved.xsd|Skeem ]] \\ Filtrid: number,date1,date2,supplier,confirmed,status,ts+  * what=receipt [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_laekumised.xsd|Schema ]] \\ Filters: number,date1,date2,ts
  
-=== Ressursid (Resources) === +=== Purchase Invoices (Purchase) ===
-  * what=resource [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_ressursid.xsd|Skeem ]] \\  +
-  * Filtrid: number,confirmed,ts+
  
-=== Kustutatud dokumendid (Deleted documents ) ===+  * what=purchase [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_oarved.xsd|Schema ]] \\ Filters: number,date1,date2,supplier,confirmed,status,ts
  
-  * what=delete [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_kustutamised.xsd|Skeem ]] \\ Filtrid: number,code,document,ts+=== Resources (Resources) === 
 +  * what=resource [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_ressursid.xsd|Schema ]] \\  
 +  * Filters: number,confirmed,ts
  
 +=== Deleted documents (Deleted documents ) ===
  
 +  * what=delete [[https://login.directo.ee/xmlcore/cap_xml_direct/ws_kustutamised.xsd|Schema ]] \\ Filters: number,code,document,ts
en/xml_direct.1754288020.txt.gz · Last modified: 2025/08/04 09:13 by toomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki