DocumentNumberplanGetAll
Z Net47 2.0
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”) |
|||
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika) | |||
Linia 42: | Linia 42: | ||
<TypeID>2</TypeID> <!-- wybrane z: DocumentTypeGetAll --> | <TypeID>2</TypeID> <!-- wybrane z: DocumentTypeGetAll --> | ||
<Default>true</Default> <!-- czy ma byc domyslnie wybierany --> | <Default>true</Default> <!-- czy ma byc domyslnie wybierany --> | ||
+ | <NextNumber>04/UMOWA/2012</NextNumber> | ||
</Numberplan> | </Numberplan> | ||
<Numberplan> | <Numberplan> | ||
<ID>5</ID> | <ID>5</ID> | ||
− | <Template>%N/ | + | <Template>%N/Aneks/%Y</Template> |
− | + | <PeriodID>3</PeriodID> | |
− | + | <TypeID>6</TypeID> | |
− | + | <Default>true</Default> | |
− | + | <NextNumber>16/Aneks/2012</NextNumber> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <PeriodID>3</PeriodID | + | |
− | <TypeID> | + | |
− | <Default>true</Default> < | + | |
</Numberplan> | </Numberplan> | ||
</DocumentNumberplanGetAll> | </DocumentNumberplanGetAll> |
Aktualna wersja na dzień 14:49, 22 sie 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Term >Short</ Term > < Request > < Type >DocumentNumberplanGetAll</ Type > < DocumentNumberplanGetAll > < SortName >id</ SortName > < SortType >ASC</ SortType > </ DocumentNumberplanGetAll > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >DocumentNumberplanGetAll</ Type > < DocumentNumberplanGetAll > < Numberplan > < ID >5</ ID > < Template >%N/UMOWA/%Y</ Template > <!-- Zmienne zostaly zaporzyczone z systemu LMS, w celu zachowania kompatybilnosci. %N - liczba dziesiętna określająca numer dokumentu %[1-9]N - j.w. ale z zerami wiodącymi, np. '%4N' dla liczby 12 zwróci '0012' %Y - rok jako liczba dziesiętna z wiekiem włącznie %y - rok jako liczba dziesiętna bez uwzględnienia wieku (00 do 99) %m - miesiąc jako liczba dziesiętna (01 do 12) %b - skrótowa nazwa miesiąca zgodnie z lokalizacją %C - ID wystawiającego dokument --> < PeriodID >3</ PeriodID > <!-- wybierane z: DocumentNumberplanPeriodMapGetAll --> < TypeID >2</ TypeID > <!-- wybrane z: DocumentTypeGetAll --> < Default >true</ Default > <!-- czy ma byc domyslnie wybierany --> < NextNumber >04/UMOWA/2012</ NextNumber > </ Numberplan > < Numberplan > < ID >5</ ID > < Template >%N/Aneks/%Y</ Template > < PeriodID >3</ PeriodID > < TypeID >6</ TypeID > < Default >true</ Default > < NextNumber >16/Aneks/2012</ NextNumber > </ Numberplan > </ DocumentNumberplanGetAll > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Błędny typ sortowania</ Error > </ Request > </ Net47 > //BEGINEND// |