Numbriseeriad, vaikimisi: erinevus redaktsioonide vahel
Mine navigeerimisribale
Mine otsikasti
Resümee puudub |
Resümee puudub |
||
1. rida: | 1. rida: | ||
.../api/1/SRBlock | .../api/1/SRBlock | ||
{| class="wikitable" | {| class="wikitable" | ||
|LastOrdNr | !Kood | ||
| | !'''Kirjeldus''' | ||
!Description ENG | |||
!'''''Pikkus, tüüp''''' | |||
|- | |||
|'''LastOrdNr''' | |||
|Viimane Tellimuse number | |||
|Last Sales order number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastShipNr | |'''LastShipNr''' | ||
| | |Viimane Lähetuse number | ||
|Last Delivery number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastInvNr | |'''LastInvNr''' | ||
| | |Viimane Arve number | ||
|Last Invoice number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastPurNr | |'''LastPurNr''' | ||
| | |Viimane Laosissetuleku number | ||
|Last Good Reciepts number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastPayNr | |'''LastPayNr''' | ||
| | |Viimane Laekumise number | ||
|Last Reciepts number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastTrInvNr | |'''LastTrInvNr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastIntNr | |'''LastIntNr''' | ||
| | |Viimane Viivisarve number | ||
|Last Interest invoice number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastCustCode | |'''LastCustCode''' | ||
| | |Viimane kliendikood number | ||
|Last customer code number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastTrPayNr | |'''LastTrPayNr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastQTNr | |'''LastQTNr''' | ||
| | |Viimane Pakkumise number | ||
|Last Quotation number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastTSNr | |'''LastTSNr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastTRNr | |'''LastTRNr''' | ||
| | |Viimane Kande number | ||
|Last Transaction number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastTrVINr | |'''LastTrVINr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastOPNr | |'''LastOPNr''' | ||
| | |Viimane Tasumise number | ||
|Last Payment number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastVINr | |'''LastVINr''' | ||
| | |Viimane Ostuarve number | ||
|Last Purchase invoice number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastTrOPNr | |'''LastTrOPNr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastRegDate | |'''LastRegDate''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastVECode | |'''LastVECode''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastInvDate | |'''LastInvDate''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastCOInvNr | |'''LastCOInvNr''' | ||
| | |Viimane Lepinguarve number | ||
|''Not used in Standard Books'' | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastBTNr | |'''LastBTNr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastPRCode | |'''LastPRCode''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastGuestCode | |'''LastGuestCode''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastInventoryNr | |'''LastInventoryNr''' | ||
|''Standard Booksis ei kasutata'' | |||
|''Not used in Standard Books'' | |||
| | | | ||
|- | |- | ||
|LastArtCode | |'''LastArtCode''' | ||
| | |Viimane Artiklikood | ||
|Last Item code number | |||
|''0, Value with No Decimals'' | |||
|- | |- | ||
|LastLoyaltyCardNr | |'''LastLoyaltyCardNr''' | ||
| | |Viimane Kliendikaardi | ||
|} | |Last Loyalty Card number | ||
<syntaxhighlight lang="xml"> | |''0, Value with No Decimals'' | ||
|}<syntaxhighlight lang="xml"> | |||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> | <?xml version='1.0' encoding='UTF-8' standalone='yes'?> | ||
<data> | <data> | ||
142. rida: | 199. rida: | ||
</SRBlock> | </SRBlock> | ||
</data> | </data> | ||
</syntaxhighlight> | </syntaxhighlight>Aken | ||
[[Fail:Numbriseeriad vaikimisi aken.png|tühi|pisi|447x447px]] |
Viimane redaktsioon: 24. november 2022, kell 12:19
.../api/1/SRBlock
Kood | Kirjeldus | Description ENG | Pikkus, tüüp |
---|---|---|---|
LastOrdNr | Viimane Tellimuse number | Last Sales order number | 0, Value with No Decimals |
LastShipNr | Viimane Lähetuse number | Last Delivery number | 0, Value with No Decimals |
LastInvNr | Viimane Arve number | Last Invoice number | 0, Value with No Decimals |
LastPurNr | Viimane Laosissetuleku number | Last Good Reciepts number | 0, Value with No Decimals |
LastPayNr | Viimane Laekumise number | Last Reciepts number | 0, Value with No Decimals |
LastTrInvNr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastIntNr | Viimane Viivisarve number | Last Interest invoice number | 0, Value with No Decimals |
LastCustCode | Viimane kliendikood number | Last customer code number | 0, Value with No Decimals |
LastTrPayNr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastQTNr | Viimane Pakkumise number | Last Quotation number | 0, Value with No Decimals |
LastTSNr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastTRNr | Viimane Kande number | Last Transaction number | 0, Value with No Decimals |
LastTrVINr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastOPNr | Viimane Tasumise number | Last Payment number | 0, Value with No Decimals |
LastVINr | Viimane Ostuarve number | Last Purchase invoice number | 0, Value with No Decimals |
LastTrOPNr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastRegDate | Standard Booksis ei kasutata | Not used in Standard Books | |
LastVECode | Standard Booksis ei kasutata | Not used in Standard Books | |
LastInvDate | Standard Booksis ei kasutata | Not used in Standard Books | |
LastCOInvNr | Viimane Lepinguarve number | Not used in Standard Books | 0, Value with No Decimals |
LastBTNr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastPRCode | Standard Booksis ei kasutata | Not used in Standard Books | |
LastGuestCode | Standard Booksis ei kasutata | Not used in Standard Books | |
LastInventoryNr | Standard Booksis ei kasutata | Not used in Standard Books | |
LastArtCode | Viimane Artiklikood | Last Item code number | 0, Value with No Decimals |
LastLoyaltyCardNr | Viimane Kliendikaardi | Last Loyalty Card number | 0, Value with No Decimals |
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<data>
<SRBlock>
<LastOrdNr>0</LastOrdNr>
<LastShipNr>0</LastShipNr>
<LastInvNr>0</LastInvNr>
<LastPurNr>0</LastPurNr>
<LastPayNr>0</LastPayNr>
<LastTrInvNr>0</LastTrInvNr>
<LastIntNr>0</LastIntNr>
<LastCustCode>BRANCHIDIV1</LastCustCode>
<LastTrPayNr>0</LastTrPayNr>
<x1></x1>
<LastQTNr>0</LastQTNr>
<LastTSNr>0</LastTSNr>
<LastTRNr>0</LastTRNr>
<LastTrVINr>0</LastTrVINr>
<LastOPNr>0</LastOPNr>
<LastVINr>0</LastVINr>
<LastTrOPNr>0</LastTrOPNr>
<LastRegDate>2017-11-13</LastRegDate>
<LastVECode>0</LastVECode>
<LastInvDate>2021-04-06</LastInvDate>
<LastCOInvNr>0</LastCOInvNr>
<LastBTNr>0</LastBTNr>
<LastCLInNr></LastCLInNr>
<LastCLOutNr></LastCLOutNr>
<LastPRCode>2112</LastPRCode>
<LastJobNr></LastJobNr>
<LastDaughterJobNr></LastDaughterJobNr>
<LastGuestCode>EVAMAI1</LastGuestCode>
<LastIVCashNr></LastIVCashNr>
<LastCredInvNr></LastCredInvNr>
<LastCredVINr></LastCredVINr>
<LastSiteCode></LastSiteCode>
<LastCashInvNr></LastCashInvNr>
<LastTTRNr></LastTTRNr>
<LastInventoryNr>PINK</LastInventoryNr>
<LastSalesForecast></LastSalesForecast>
<LastArtCode>MYYK8</LastArtCode>
<LastDropSHNr></LastDropSHNr>
<LastLoyaltyCardNr>1</LastLoyaltyCardNr>
<LastRestAccNr></LastRestAccNr>
<LastPONr></LastPONr>
<GuestArrivalSequence></GuestArrivalSequence>
<LastSKU></LastSKU>
<LastVATDeclCode></LastVATDeclCode>
<LastOYNr></LastOYNr>
</SRBlock>
</data>
Näited
Pärime viimase antud kliendikoodi:
https://mars.excellent.ee:4455/api/1/SRBlock?fields=LastCustCode
Vastus on ühe väljaga XML:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<data>
<SRBlock>
<LastCustCode>8500</LastCustCode>
</SRBlock>
</data>
Aken