None.
Name | Description | Type | Additional information |
---|---|---|---|
Items | Collection of RequestItem |
None. |
{ "Items": [ { "ApId": 1, "ProdId": 2, "WhId": 3, "Qty": 4.0 }, { "ApId": 1, "ProdId": 2, "WhId": 3, "Qty": 4.0 } ] }
<CreatePoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.PurchaseOrder"> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Warehousing"> <d2p1:RequestItem> <d2p1:_x003C_ApId_x003E_k__BackingField>1</d2p1:_x003C_ApId_x003E_k__BackingField> <d2p1:_x003C_ProdId_x003E_k__BackingField>2</d2p1:_x003C_ProdId_x003E_k__BackingField> <d2p1:_x003C_Qty_x003E_k__BackingField>4</d2p1:_x003C_Qty_x003E_k__BackingField> <d2p1:_x003C_WhId_x003E_k__BackingField>3</d2p1:_x003C_WhId_x003E_k__BackingField> </d2p1:RequestItem> <d2p1:RequestItem> <d2p1:_x003C_ApId_x003E_k__BackingField>1</d2p1:_x003C_ApId_x003E_k__BackingField> <d2p1:_x003C_ProdId_x003E_k__BackingField>2</d2p1:_x003C_ProdId_x003E_k__BackingField> <d2p1:_x003C_Qty_x003E_k__BackingField>4</d2p1:_x003C_Qty_x003E_k__BackingField> <d2p1:_x003C_WhId_x003E_k__BackingField>3</d2p1:_x003C_WhId_x003E_k__BackingField> </d2p1:RequestItem> </Items> </CreatePoRequest>
Sample not available.
Name | Description | Type | Additional information |
---|---|---|---|
AsId | integer |
None. |
|
Id | integer |
None. |
|
No | string |
None. |
|
BType | BillType |
None. |
|
Date | date |
None. |
|
DateFmt | string |
None. |
|
VendId | integer |
None. |
|
VendTaxRate | decimal number |
None. |
|
VendName | string |
None. |
|
Purchaser | integer |
None. |
|
PurchaserName | string |
None. |
|
DiscRate | decimal number |
None. |
|
DiscAmount | decimal number |
None. |
|
Amount | decimal number |
None. |
|
QTY | decimal number |
None. |
|
AcId | integer |
None. |
|
AmountFirst | decimal number |
None. |
|
PrintCount | integer |
None. |
|
Note | string |
None. |
|
CreatedByName | string |
None. |
|
CreatedDate | date |
None. |
|
ModifiedByName | string |
None. |
|
ModifiedDate | date |
None. |
|
DeliveryDate | date |
None. |
|
WhsStatus | BillStatus |
None. |
|
Checked | boolean |
None. |
|
AcName | string |
None. |
|
CheckedByName | string |
None. |
|
CheckedDate | date |
None. |
|
IsClosed | boolean |
None. |
|
IsLocked | boolean |
None. |
|
RelaBills | Collection of IdNoPair |
None. |
|
CanCreateRelaBills | boolean |
None. |
|
AccountingItemId | integer |
None. |
|
AccountingItemName | string |
None. |
|
DepartmentId | integer |
None. |
|
DepartmentName | string |
None. |
|
SettlePeriodId | integer |
None. |
|
SettlePeriodName | string |
None. |
|
SettlePeriodType | integer |
None. |
|
SettlePeriodValue | integer |
None. |
|
SettlePeriodDate | date |
None. |
|
SettlePeriodDateFmt | string |
None. |
|
InvoiceType | integer |
None. |
|
InvoiceTypeName | string |
None. |
|
PayInfoItems | Collection of PayModel |
None. |
|
Items | Collection of PurchaseOrderEntryModel |
None. |
{ "AsId": 1, "Id": 2, "No": "sample string 3", "BType": 1010, "Date": "2024-11-25 02:28:23", "DateFmt": "2024-11-25", "VendId": 5, "VendTaxRate": 6.0, "VendName": "sample string 7", "Purchaser": 8, "PurchaserName": "sample string 9", "DiscRate": 10.0, "DiscAmount": 11.0, "Amount": 12.0, "QTY": 13.0, "AcId": 14, "AmountFirst": 15.0, "PrintCount": 16, "Note": "sample string 17", "CreatedByName": "sample string 18", "CreatedDate": "2024-11-25 02:28:23", "ModifiedByName": "sample string 20", "ModifiedDate": "2024-11-25 02:28:23", "DeliveryDate": "2024-11-25 02:28:23", "WhsStatus": 1010, "Checked": true, "AcName": "sample string 24", "CheckedByName": "sample string 25", "CheckedDate": "2024-11-25 02:28:23", "IsClosed": true, "IsLocked": true, "RelaBills": [ { "Id": 1, "No": "sample string 2", "BType": 1010 }, { "Id": 1, "No": "sample string 2", "BType": 1010 } ], "CanCreateRelaBills": true, "AccountingItemId": 30, "AccountingItemName": "sample string 31", "DepartmentId": 32, "DepartmentName": "sample string 33", "SettlePeriodId": 34, "SettlePeriodName": "sample string 35", "SettlePeriodType": 36, "SettlePeriodValue": 37, "SettlePeriodDate": "2024-11-25 02:28:23", "SettlePeriodDateFmt": "2024-11-25", "InvoiceType": 39, "InvoiceTypeName": "sample string 40", "PayInfoItems": [ { "Id": 1, "AcId": 2, "AcName": "sample string 3", "Amount": 4.0, "PayMethod": 5, "PayMethodName": "sample string 6", "RefNo": "sample string 7" }, { "Id": 1, "AcId": 2, "AcName": "sample string 3", "Amount": 4.0, "PayMethod": 5, "PayMethodName": "sample string 6", "RefNo": "sample string 7" } ], "Items": [ { "AsId": 1, "Id": 2, "PoId": 3, "ProdId": 4, "ProdName": "sample string 5", "UseMultiUnits": true, "UseAp": true, "ProdNo": "sample string 8", "Spec": "sample string 9", "ApId": 10, "ApName": "sample string 11", "CatName": "sample string 12", "Brand": "sample string 13", "ProdLocation": "sample string 14", "WhId": 15, "WhName": "sample string 16", "UnitId": 17, "ProdTaxRate": 1.0, "UnitName": "sample string 18", "Rate": 19.0, "QTY": 20.0, "Price": 21.0, "PriceTax": 22.0, "DiscRate": 23.0, "DiscAmount": 24.0, "DiscAllocation": 25.0, "Amount": 26.0, "TaxRate": 27.0, "Tax": 28.0, "AmountTax": 29.0, "Note": "sample string 30", "WhsQTY": 31.0, "PoNo": "sample string 32", "BType": 1010, "PoDate": "2024-11-25 02:28:23", "VendId": 34, "Image": "sample string 35", "StrValue1": "sample string 36", "StrValue2": "sample string 37", "StrValue3": "sample string 38", "StrValue4": "sample string 39", "StrValue5": "sample string 40", "StrValue6": "sample string 41", "StrValue7": "sample string 42", "StrValue8": "sample string 43", "SoId": 44, "SoNo": "sample string 45", "SoeId": 46, "SerialEnabled": true, "BatchEnabled": true, "LifeTimeEnabled": true }, { "AsId": 1, "Id": 2, "PoId": 3, "ProdId": 4, "ProdName": "sample string 5", "UseMultiUnits": true, "UseAp": true, "ProdNo": "sample string 8", "Spec": "sample string 9", "ApId": 10, "ApName": "sample string 11", "CatName": "sample string 12", "Brand": "sample string 13", "ProdLocation": "sample string 14", "WhId": 15, "WhName": "sample string 16", "UnitId": 17, "ProdTaxRate": 1.0, "UnitName": "sample string 18", "Rate": 19.0, "QTY": 20.0, "Price": 21.0, "PriceTax": 22.0, "DiscRate": 23.0, "DiscAmount": 24.0, "DiscAllocation": 25.0, "Amount": 26.0, "TaxRate": 27.0, "Tax": 28.0, "AmountTax": 29.0, "Note": "sample string 30", "WhsQTY": 31.0, "PoNo": "sample string 32", "BType": 1010, "PoDate": "2024-11-25 02:28:23", "VendId": 34, "Image": "sample string 35", "StrValue1": "sample string 36", "StrValue2": "sample string 37", "StrValue3": "sample string 38", "StrValue4": "sample string 39", "StrValue5": "sample string 40", "StrValue6": "sample string 41", "StrValue7": "sample string 42", "StrValue8": "sample string 43", "SoId": 44, "SoNo": "sample string 45", "SoeId": 46, "SerialEnabled": true, "BatchEnabled": true, "LifeTimeEnabled": true } ] }
<PurchaseOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models"> <AcId>14</AcId> <AcName>sample string 24</AcName> <AccountingItemId>30</AccountingItemId> <AccountingItemName>sample string 31</AccountingItemName> <Amount>12</Amount> <AmountFirst>15</AmountFirst> <AsId>1</AsId> <BType>Purchase</BType> <CanCreateRelaBills>true</CanCreateRelaBills> <Checked>true</Checked> <CheckedByName>sample string 25</CheckedByName> <CheckedDate>2024-11-25T02:28:23.344713+08:00</CheckedDate> <CreatedByName>sample string 18</CreatedByName> <CreatedDate>2024-11-25T02:28:23.344713+08:00</CreatedDate> <Date>2024-11-25T02:28:23.344713+08:00</Date> <DeliveryDate>2024-11-25T02:28:23.344713+08:00</DeliveryDate> <DepartmentId>32</DepartmentId> <DepartmentName>sample string 33</DepartmentName> <DiscAmount>11</DiscAmount> <DiscRate>10</DiscRate> <Id>2</Id> <InvoiceType>39</InvoiceType> <InvoiceTypeName>sample string 40</InvoiceTypeName> <IsClosed>true</IsClosed> <IsLocked>true</IsLocked> <Items> <PurchaseOrderEntryModel> <Amount>26</Amount> <AmountTax>29</AmountTax> <ApId>10</ApId> <ApName>sample string 11</ApName> <AsId>1</AsId> <BType>Purchase</BType> <BatchEnabled>true</BatchEnabled> <Brand>sample string 13</Brand> <CatName>sample string 12</CatName> <DiscAllocation>25</DiscAllocation> <DiscAmount>24</DiscAmount> <DiscRate>23</DiscRate> <Id>2</Id> <Image>sample string 35</Image> <LifeTimeEnabled>true</LifeTimeEnabled> <Note>sample string 30</Note> <PoDate>2024-11-25T02:28:23.344713+08:00</PoDate> <PoId>3</PoId> <PoNo>sample string 32</PoNo> <Price>21</Price> <PriceTax>22</PriceTax> <ProdId>4</ProdId> <ProdLocation>sample string 14</ProdLocation> <ProdName>sample string 5</ProdName> <ProdNo>sample string 8</ProdNo> <ProdTaxRate>1</ProdTaxRate> <QTY>20</QTY> <Rate>19</Rate> <SerialEnabled>true</SerialEnabled> <SoId>44</SoId> <SoNo>sample string 45</SoNo> <SoeId>46</SoeId> <Spec>sample string 9</Spec> <StrValue1>sample string 36</StrValue1> <StrValue2>sample string 37</StrValue2> <StrValue3>sample string 38</StrValue3> <StrValue4>sample string 39</StrValue4> <StrValue5>sample string 40</StrValue5> <StrValue6>sample string 41</StrValue6> <StrValue7>sample string 42</StrValue7> <StrValue8>sample string 43</StrValue8> <Tax>28</Tax> <TaxRate>27</TaxRate> <UnitId>17</UnitId> <UnitName>sample string 18</UnitName> <UseAp>true</UseAp> <UseMultiUnits>true</UseMultiUnits> <VendId>34</VendId> <WhId>15</WhId> <WhName>sample string 16</WhName> <WhsQTY>31</WhsQTY> </PurchaseOrderEntryModel> <PurchaseOrderEntryModel> <Amount>26</Amount> <AmountTax>29</AmountTax> <ApId>10</ApId> <ApName>sample string 11</ApName> <AsId>1</AsId> <BType>Purchase</BType> <BatchEnabled>true</BatchEnabled> <Brand>sample string 13</Brand> <CatName>sample string 12</CatName> <DiscAllocation>25</DiscAllocation> <DiscAmount>24</DiscAmount> <DiscRate>23</DiscRate> <Id>2</Id> <Image>sample string 35</Image> <LifeTimeEnabled>true</LifeTimeEnabled> <Note>sample string 30</Note> <PoDate>2024-11-25T02:28:23.344713+08:00</PoDate> <PoId>3</PoId> <PoNo>sample string 32</PoNo> <Price>21</Price> <PriceTax>22</PriceTax> <ProdId>4</ProdId> <ProdLocation>sample string 14</ProdLocation> <ProdName>sample string 5</ProdName> <ProdNo>sample string 8</ProdNo> <ProdTaxRate>1</ProdTaxRate> <QTY>20</QTY> <Rate>19</Rate> <SerialEnabled>true</SerialEnabled> <SoId>44</SoId> <SoNo>sample string 45</SoNo> <SoeId>46</SoeId> <Spec>sample string 9</Spec> <StrValue1>sample string 36</StrValue1> <StrValue2>sample string 37</StrValue2> <StrValue3>sample string 38</StrValue3> <StrValue4>sample string 39</StrValue4> <StrValue5>sample string 40</StrValue5> <StrValue6>sample string 41</StrValue6> <StrValue7>sample string 42</StrValue7> <StrValue8>sample string 43</StrValue8> <Tax>28</Tax> <TaxRate>27</TaxRate> <UnitId>17</UnitId> <UnitName>sample string 18</UnitName> <UseAp>true</UseAp> <UseMultiUnits>true</UseMultiUnits> <VendId>34</VendId> <WhId>15</WhId> <WhName>sample string 16</WhName> <WhsQTY>31</WhsQTY> </PurchaseOrderEntryModel> </Items> <ModifiedByName>sample string 20</ModifiedByName> <ModifiedDate>2024-11-25T02:28:23.344713+08:00</ModifiedDate> <No>sample string 3</No> <Note>sample string 17</Note> <PayInfoItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models"> <d2p1:PayModel> <d2p1:AcId>2</d2p1:AcId> <d2p1:AcName>sample string 3</d2p1:AcName> <d2p1:Amount>4</d2p1:Amount> <d2p1:Id>1</d2p1:Id> <d2p1:PayMethod>5</d2p1:PayMethod> <d2p1:PayMethodName>sample string 6</d2p1:PayMethodName> <d2p1:RefNo>sample string 7</d2p1:RefNo> </d2p1:PayModel> <d2p1:PayModel> <d2p1:AcId>2</d2p1:AcId> <d2p1:AcName>sample string 3</d2p1:AcName> <d2p1:Amount>4</d2p1:Amount> <d2p1:Id>1</d2p1:Id> <d2p1:PayMethod>5</d2p1:PayMethod> <d2p1:PayMethodName>sample string 6</d2p1:PayMethodName> <d2p1:RefNo>sample string 7</d2p1:RefNo> </d2p1:PayModel> </PayInfoItems> <PrintCount>16</PrintCount> <Purchaser>8</Purchaser> <PurchaserName>sample string 9</PurchaserName> <QTY>13</QTY> <RelaBills xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi"> <d2p1:IdNoPair> <d2p1:_x003C_BType_x003E_k__BackingField>Purchase</d2p1:_x003C_BType_x003E_k__BackingField> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_No_x003E_k__BackingField>sample string 2</d2p1:_x003C_No_x003E_k__BackingField> </d2p1:IdNoPair> <d2p1:IdNoPair> <d2p1:_x003C_BType_x003E_k__BackingField>Purchase</d2p1:_x003C_BType_x003E_k__BackingField> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_No_x003E_k__BackingField>sample string 2</d2p1:_x003C_No_x003E_k__BackingField> </d2p1:IdNoPair> </RelaBills> <SettlePeriodDate>2024-11-25T02:28:23.344713+08:00</SettlePeriodDate> <SettlePeriodId>34</SettlePeriodId> <SettlePeriodName>sample string 35</SettlePeriodName> <SettlePeriodType>36</SettlePeriodType> <SettlePeriodValue>37</SettlePeriodValue> <VendId>5</VendId> <VendName>sample string 7</VendName> <VendTaxRate>6</VendTaxRate> <WhsStatus>None</WhsStatus> </PurchaseOrderModel>