StorageItemAdd
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 5 wersji utworzonych przez 2 użytkowników) | |||
Linia 6: | Linia 6: | ||
<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> | ||
<Priority>0</Priority> | <Priority>0</Priority> | ||
+ | <Module>Storage</Module> | ||
<Request> | <Request> | ||
<Type>StorageItemAdd</Type> | <Type>StorageItemAdd</Type> | ||
<StorageItemAdd> | <StorageItemAdd> | ||
− | < | + | <SupplierID>4</SupplierID><!-- id pobrany z StorageDostawcyGetAll --> |
− | <ItemMapID> | + | <StorageID>2</StorageID><!-- id pobrany z StorageGetAll --> |
− | <Quantity>2.0</Quantity> | + | <DocumentTypeID>8</DocumentTypeID> |
− | <TaxID>4</TaxID> | + | <DocumentNumber>10/PZ/23/2012</DocumentNumber> |
− | <UnitID> | + | <DateOfPurchase>2012-08-01 00:00:00</DateOfPurchase> |
+ | <ItemGroup> | ||
+ | <ItemMapID>1</ItemMapID><!-- id pobrany z StorageTowarySlownikGetAll --> | ||
+ | <Quantity>2.0</Quantity><!-- ilość --> | ||
+ | <TaxID>4</TaxID><!-- id pobrany z FinanceTaxMapGetAll --> | ||
+ | <UnitID>6</UnitID><!-- id pobrany z StorageMiaryGetAll --> | ||
<Item> | <Item> | ||
<Attribute> | <Attribute> | ||
− | <AttributeID>1</AttributeID> | + | <AttributeID>1</AttributeID><!-- id pobrany z StorageCechyGetAll --> |
<Value>00:01:88:44:33:11</Value> | <Value>00:01:88:44:33:11</Value> | ||
</Attribute> | </Attribute> | ||
Linia 46: | Linia 52: | ||
<Value>350.00</Value> | <Value>350.00</Value> | ||
</Attribute> | </Attribute> | ||
− | </ | + | </ItemGroup> |
− | < | + | <ItemGroup> |
− | <ItemMapID> | + | <ItemMapID>2</ItemMapID> |
<Quantity>8.3</Quantity> | <Quantity>8.3</Quantity> | ||
<TaxID>4</TaxID> | <TaxID>4</TaxID> | ||
Linia 64: | Linia 70: | ||
<Value>350.00</Value> | <Value>350.00</Value> | ||
</Attribute> | </Attribute> | ||
− | </ | + | </ItemGroup> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</StorageItemAdd> | </StorageItemAdd> | ||
</Request> | </Request> |
Aktualna wersja na dzień 13:00, 16 lut 2018
Zapytanie:
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Storage</ Module > < Request > < Type >StorageItemAdd</ Type > < StorageItemAdd > < SupplierID >4</ SupplierID > <!-- id pobrany z StorageDostawcyGetAll --> < StorageID >2</ StorageID > <!-- id pobrany z StorageGetAll --> < DocumentTypeID >8</ DocumentTypeID > < DocumentNumber >10/PZ/23/2012</ DocumentNumber > < DateOfPurchase >2012-08-01 00:00:00</ DateOfPurchase > < ItemGroup > < ItemMapID >1</ ItemMapID > <!-- id pobrany z StorageTowarySlownikGetAll --> < Quantity >2.0</ Quantity > <!-- ilość --> < TaxID >4</ TaxID > <!-- id pobrany z FinanceTaxMapGetAll --> < UnitID >6</ UnitID > <!-- id pobrany z StorageMiaryGetAll --> < Item > < Attribute > < AttributeID >1</ AttributeID > <!-- id pobrany z StorageCechyGetAll --> < Value >00:01:88:44:33:11</ Value > </ Attribute > < Attribute > < AttributeID >2</ AttributeID > < Value >00GEA564684GASGAE</ Value > </ Attribute > </ Item > < Item > < Attribute > < AttributeID >1</ AttributeID > < Value >00:01:88:44:33:11</ Value > </ Attribute > < Attribute > < AttributeID >2</ AttributeID > < Value >00GEA564684GASGAE</ Value > </ Attribute > </ Item > < Attribute > < AttributeID >3</ AttributeID > < Value >2012-10-01</ Value > </ Attribute > < Attribute > < AttributeID >5</ AttributeID > < Value >320.00</ Value > </ Attribute > < Attribute > < AttributeID >6</ AttributeID > < Value >350.00</ Value > </ Attribute > </ ItemGroup > < ItemGroup > < ItemMapID >2</ ItemMapID > < Quantity >8.3</ Quantity > < TaxID >4</ TaxID > < UnitID >8</ UnitID > < Attribute > < AttributeID >3</ AttributeID > < Value >2012-10-01</ Value > </ Attribute > < Attribute > < AttributeID >5</ AttributeID > < Value >320.00</ Value > </ Attribute > < Attribute > < AttributeID >6</ AttributeID > < Value >350.00</ Value > </ Attribute > </ ItemGroup > </ StorageItemAdd > </ 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 37 38 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >StorageItemAdd</ Type > < StorageItemAdd > < Item > < ID >2</ ID > < StorageID >4</ StorageID > < ItemMapID >10</ ItemMapID > < GroupName >Przewody</ GroupName > < ItemMapName >h155</ ItemMapName > < Unit >m</ Unit > <!-- godz, kg, litr, m, mkw, opak, szt --> < Quantity >4.5</ Quantity > < DocumentID >41</ DocumentID > < MAC ></ MAC > < Serial ></ Serial > < SupplierID >4</ SupplierID > < CreateDate >2012-04-07 11:11:11</ CreateDate > </ Item > < Item > < ID >2</ ID > < StorageID >4</ StorageID > < ItemMapID >10</ ItemMapID > < GroupName >Przewody</ GroupName > < ItemMapName >h155</ ItemMapName > < Unit >m</ Unit > <!-- godz, kg, litr, m, mkw, opak, szt --> < Quantity >4.5</ Quantity > < DocumentID >41</ DocumentID > < MAC ></ MAC > < Serial ></ Serial > < SupplierID >4</ SupplierID > < CreateDate >2012-04-07 11:11:11</ CreateDate > </ Item > </ StorageItemAdd > </ 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 >Brak uprawnień</ Error > </ Request > </ Net47 > //BEGINEND// |