None.
Name | Description | Type | Additional information |
---|---|---|---|
DraftMeta | DraftMetaModel |
None. |
|
CreatedBy | integer |
None. |
|
Id | integer |
None. |
|
No | string |
None. |
|
VendId | integer |
None. |
|
Purchaser | integer |
None. |
|
Date | date |
None. |
|
DeliveryDate | date |
None. |
|
BType | BillType |
None. |
|
DiscRate | decimal number |
None. |
|
DiscAmount | decimal number |
None. |
|
Amount | decimal number |
None. |
|
PrintCount | integer |
None. |
|
AcId | integer |
None. |
|
AmountFirst | decimal number |
None. |
|
Note | string |
None. |
|
AccountingItemId | integer |
None. |
|
PayInfoItems | Collection of PayEditModel |
None. |
|
DepartmentId | integer |
None. |
|
AutoGenerate | boolean |
None. |
|
Items | Collection of PurchaseOrderEntryEditModel |
None. |
|
SettlePeriodId | integer |
None. |
|
SettlePeriodName | string |
None. |
|
SettlePeriodDate | date |
None. |
|
InvoiceType | integer |
None. |
|
InvoiceTypeName | string |
None. |
|
NeedJudgePrice | boolean |
None. |
|
BillOrigin | BillOriginEnum |
None. |
|
ChangeReason | string |
None. |
{ "DraftMeta": { "IsAutoSave": true, "AttachIds": [ 1, 2 ] }, "CreatedBy": 1, "Id": 2, "No": "sample string 3", "VendId": 4, "Purchaser": 5, "Date": "2025-04-04 20:48:21", "DeliveryDate": "2025-04-04 20:48:21", "BType": 1010, "DiscRate": 8.0, "DiscAmount": 9.0, "Amount": 10.0, "PrintCount": 11, "AcId": 12, "AmountFirst": 13.0, "Note": "sample string 14", "AccountingItemId": 15, "PayInfoItems": [ { "AcId": 1, "Amount": 2.0, "PayMethod": 3, "RefNo": "sample string 4" }, { "AcId": 1, "Amount": 2.0, "PayMethod": 3, "RefNo": "sample string 4" } ], "DepartmentId": 16, "AutoGenerate": true, "Items": [ { "Id": 1, "PoId": 2, "ProdId": 3, "ApId": 4, "WhId": 5, "UnitId": 6, "QTY": 7.0, "Price": 8.0, "PriceTax": 9.0, "PriceDis": 10.0, "DiscRate": 11.0, "DiscAmount": 12.0, "DiscAllocation": 13.0, "Amount": 14.0, "TaxRate": 15.0, "Tax": 16.0, "AmountTax": 17.0, "Note": "sample string 18", "StrValue1": "sample string 19", "StrValue2": "sample string 20", "StrValue3": "sample string 21", "StrValue4": "sample string 22", "StrValue5": "sample string 23", "StrValue6": "sample string 24", "StrValue7": "sample string 25", "StrValue8": "sample string 26", "SoId": 27, "SoNo": "sample string 28", "SoeId": 29 }, { "Id": 1, "PoId": 2, "ProdId": 3, "ApId": 4, "WhId": 5, "UnitId": 6, "QTY": 7.0, "Price": 8.0, "PriceTax": 9.0, "PriceDis": 10.0, "DiscRate": 11.0, "DiscAmount": 12.0, "DiscAllocation": 13.0, "Amount": 14.0, "TaxRate": 15.0, "Tax": 16.0, "AmountTax": 17.0, "Note": "sample string 18", "StrValue1": "sample string 19", "StrValue2": "sample string 20", "StrValue3": "sample string 21", "StrValue4": "sample string 22", "StrValue5": "sample string 23", "StrValue6": "sample string 24", "StrValue7": "sample string 25", "StrValue8": "sample string 26", "SoId": 27, "SoNo": "sample string 28", "SoeId": 29 } ], "SettlePeriodId": 18, "SettlePeriodName": "sample string 19", "SettlePeriodDate": "2025-04-04 20:48:21", "InvoiceType": 21, "InvoiceTypeName": "普通发票", "NeedJudgePrice": true, "BillOrigin": 0, "ChangeReason": "sample string 23" }
<PurchaseOrderDraftEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models"> <_x003C_AcId_x003E_k__BackingField>12</_x003C_AcId_x003E_k__BackingField> <_x003C_AccountingItemId_x003E_k__BackingField>15</_x003C_AccountingItemId_x003E_k__BackingField> <_x003C_AmountFirst_x003E_k__BackingField>13</_x003C_AmountFirst_x003E_k__BackingField> <_x003C_Amount_x003E_k__BackingField>10</_x003C_Amount_x003E_k__BackingField> <_x003C_AutoGenerate_x003E_k__BackingField>true</_x003C_AutoGenerate_x003E_k__BackingField> <_x003C_BType_x003E_k__BackingField>Purchase</_x003C_BType_x003E_k__BackingField> <_x003C_BillOrigin_x003E_k__BackingField>Other</_x003C_BillOrigin_x003E_k__BackingField> <_x003C_ChangeReason_x003E_k__BackingField>sample string 23</_x003C_ChangeReason_x003E_k__BackingField> <_x003C_Date_x003E_k__BackingField>2025-04-04T20:48:21.1575576+08:00</_x003C_Date_x003E_k__BackingField> <_x003C_DeliveryDate_x003E_k__BackingField>2025-04-04T20:48:21.1575576+08:00</_x003C_DeliveryDate_x003E_k__BackingField> <_x003C_DepartmentId_x003E_k__BackingField>16</_x003C_DepartmentId_x003E_k__BackingField> <_x003C_DiscAmount_x003E_k__BackingField>9</_x003C_DiscAmount_x003E_k__BackingField> <_x003C_DiscRate_x003E_k__BackingField>8</_x003C_DiscRate_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField> <_x003C_InvoiceType_x003E_k__BackingField>21</_x003C_InvoiceType_x003E_k__BackingField> <_x003C_Items_x003E_k__BackingField> <PurchaseOrderEntryEditModel> <Amount>14</Amount> <AmountTax>17</AmountTax> <ApId>4</ApId> <DiscAllocation>13</DiscAllocation> <DiscAmount>12</DiscAmount> <DiscRate>11</DiscRate> <Id>1</Id> <Note>sample string 18</Note> <PoId>2</PoId> <Price>8</Price> <PriceDis>10</PriceDis> <PriceTax>9</PriceTax> <ProdId>3</ProdId> <QTY>7</QTY> <SoId>27</SoId> <SoNo>sample string 28</SoNo> <SoeId>29</SoeId> <StrValue1>sample string 19</StrValue1> <StrValue2>sample string 20</StrValue2> <StrValue3>sample string 21</StrValue3> <StrValue4>sample string 22</StrValue4> <StrValue5>sample string 23</StrValue5> <StrValue6>sample string 24</StrValue6> <StrValue7>sample string 25</StrValue7> <StrValue8>sample string 26</StrValue8> <Tax>16</Tax> <TaxRate>15</TaxRate> <UnitId>6</UnitId> <WhId>5</WhId> </PurchaseOrderEntryEditModel> <PurchaseOrderEntryEditModel> <Amount>14</Amount> <AmountTax>17</AmountTax> <ApId>4</ApId> <DiscAllocation>13</DiscAllocation> <DiscAmount>12</DiscAmount> <DiscRate>11</DiscRate> <Id>1</Id> <Note>sample string 18</Note> <PoId>2</PoId> <Price>8</Price> <PriceDis>10</PriceDis> <PriceTax>9</PriceTax> <ProdId>3</ProdId> <QTY>7</QTY> <SoId>27</SoId> <SoNo>sample string 28</SoNo> <SoeId>29</SoeId> <StrValue1>sample string 19</StrValue1> <StrValue2>sample string 20</StrValue2> <StrValue3>sample string 21</StrValue3> <StrValue4>sample string 22</StrValue4> <StrValue5>sample string 23</StrValue5> <StrValue6>sample string 24</StrValue6> <StrValue7>sample string 25</StrValue7> <StrValue8>sample string 26</StrValue8> <Tax>16</Tax> <TaxRate>15</TaxRate> <UnitId>6</UnitId> <WhId>5</WhId> </PurchaseOrderEntryEditModel> </_x003C_Items_x003E_k__BackingField> <_x003C_NeedJudgePrice_x003E_k__BackingField>true</_x003C_NeedJudgePrice_x003E_k__BackingField> <_x003C_No_x003E_k__BackingField>sample string 3</_x003C_No_x003E_k__BackingField> <_x003C_Note_x003E_k__BackingField>sample string 14</_x003C_Note_x003E_k__BackingField> <_x003C_PayInfoItems_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models"> <d2p1:PayEditModel> <d2p1:AcId>1</d2p1:AcId> <d2p1:Amount>2</d2p1:Amount> <d2p1:PayMethod>3</d2p1:PayMethod> <d2p1:RefNo>sample string 4</d2p1:RefNo> </d2p1:PayEditModel> <d2p1:PayEditModel> <d2p1:AcId>1</d2p1:AcId> <d2p1:Amount>2</d2p1:Amount> <d2p1:PayMethod>3</d2p1:PayMethod> <d2p1:RefNo>sample string 4</d2p1:RefNo> </d2p1:PayEditModel> </_x003C_PayInfoItems_x003E_k__BackingField> <_x003C_PrintCount_x003E_k__BackingField>11</_x003C_PrintCount_x003E_k__BackingField> <_x003C_Purchaser_x003E_k__BackingField>5</_x003C_Purchaser_x003E_k__BackingField> <_x003C_SettlePeriodDate_x003E_k__BackingField>2025-04-04T20:48:21.1575576+08:00</_x003C_SettlePeriodDate_x003E_k__BackingField> <_x003C_SettlePeriodId_x003E_k__BackingField>18</_x003C_SettlePeriodId_x003E_k__BackingField> <_x003C_SettlePeriodName_x003E_k__BackingField>sample string 19</_x003C_SettlePeriodName_x003E_k__BackingField> <_x003C_VendId_x003E_k__BackingField>4</_x003C_VendId_x003E_k__BackingField> <CreatedBy>1</CreatedBy> <DraftMeta xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Draft"> <d2p1:AttachIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:AttachIds> <d2p1:IsAutoSave>true</d2p1:IsAutoSave> </DraftMeta> </PurchaseOrderDraftEditModel>
Sample not available.
Name | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
|
StatusCode | StatusCode |
None. |
|
ErrorData | Object |
None. |
|
BusinessCode | integer |
None. |
{ "Success": true, "Message": "sample string 2", "Data": {}, "StatusCode": 100, "ErrorData": {}, "BusinessCode": 5 }
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model"> <_x003C_BusinessCode_x003E_k__BackingField>5</_x003C_BusinessCode_x003E_k__BackingField> <_x003C_Data_x003E_k__BackingField /> <_x003C_ErrorData_x003E_k__BackingField /> <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField> <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField> <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField> </MessageModel>