None.
Name | Description | Type | Additional information |
---|---|---|---|
DraftMeta | DraftMetaModel |
None. |
|
CreatedBy | integer |
None. |
|
Id | integer |
None. |
|
No | string |
None. |
|
CustId | integer |
None. |
|
Sales | integer |
None. |
|
Date | date |
None. |
|
DeliveryDate | date |
None. |
|
BType | BillType |
None. |
|
DiscRate | decimal number |
None. |
|
DiscAmount | decimal number |
None. |
|
Amount | decimal number |
None. |
|
EditRecvAddr | boolean |
None. |
|
Recvr | string |
None. |
|
RecvMobile | string |
None. |
|
RecvAddress | string |
None. |
|
AcId | integer |
None. |
|
AmountFirst | decimal number |
None. |
|
Note | string |
None. |
|
DoId | integer |
None. |
|
AccountingItemId | integer |
None. |
|
DepartmentId | integer |
None. |
|
SettlePeriodId | integer |
None. |
|
SettlePeriodDate | date |
None. |
|
AutoGenerate | boolean |
None. |
|
PayInfoItems | Collection of PayEditModel |
None. |
|
Items | Collection of SellOrderEntryEditModel |
None. |
|
ForcePassCredit | boolean |
None. |
|
NeedJudgePrice | boolean |
None. |
|
RelatedPoId | integer |
None. |
|
RelatedPoNo | string |
None. |
|
BillOrigin | BillOriginEnum |
None. |
|
ChangeReason | string |
None. |
{ "DraftMeta": { "IsAutoSave": true, "AttachIds": [ 1, 2 ] }, "CreatedBy": 1, "Id": 2, "No": "sample string 3", "CustId": 4, "Sales": 5, "Date": "2025-05-12 14:31:08", "DeliveryDate": "2025-05-12 14:31:08", "BType": 1010, "DiscRate": 8.0, "DiscAmount": 9.0, "Amount": 10.0, "EditRecvAddr": true, "Recvr": "sample string 12", "RecvMobile": "sample string 13", "RecvAddress": "sample string 14", "AcId": 15, "AmountFirst": 16.0, "Note": "sample string 17", "DoId": 18, "AccountingItemId": 19, "DepartmentId": 20, "SettlePeriodId": 21, "SettlePeriodDate": "2025-05-12 14:31:08", "AutoGenerate": true, "PayInfoItems": [ { "AcId": 1, "Amount": 2.0, "PayMethod": 3, "RefNo": "sample string 4" }, { "AcId": 1, "Amount": 2.0, "PayMethod": 3, "RefNo": "sample string 4" } ], "Items": [ { "Id": 1, "SoId": 2, "CatId": 3, "ProdId": 4, "ApId": 5, "WhId": 6, "WlId": 7, "UnitId": 8, "QTY": 9.0, "Price": 10.0, "PriceTax": 11.0, "PriceDis": 12.0, "DiscRate": 13.0, "DiscAmount": 14.0, "DiscAllocation": 15.0, "Amount": 16.0, "TaxRate": 17.0, "Tax": 18.0, "AmountTax": 19.0, "IsClosed": true, "Note": "sample string 21", "StrValue1": "sample string 22", "StrValue2": "sample string 23", "StrValue3": "sample string 24", "StrValue4": "sample string 25", "StrValue5": "sample string 26", "StrValue6": "sample string 27", "StrValue7": "sample string 28", "StrValue8": "sample string 29", "PoId": 30, "PoNo": "sample string 31", "PoeId": 32, "WhsId": 33, "WhsNo": "sample string 34", "WhseId": 35 }, { "Id": 1, "SoId": 2, "CatId": 3, "ProdId": 4, "ApId": 5, "WhId": 6, "WlId": 7, "UnitId": 8, "QTY": 9.0, "Price": 10.0, "PriceTax": 11.0, "PriceDis": 12.0, "DiscRate": 13.0, "DiscAmount": 14.0, "DiscAllocation": 15.0, "Amount": 16.0, "TaxRate": 17.0, "Tax": 18.0, "AmountTax": 19.0, "IsClosed": true, "Note": "sample string 21", "StrValue1": "sample string 22", "StrValue2": "sample string 23", "StrValue3": "sample string 24", "StrValue4": "sample string 25", "StrValue5": "sample string 26", "StrValue6": "sample string 27", "StrValue7": "sample string 28", "StrValue8": "sample string 29", "PoId": 30, "PoNo": "sample string 31", "PoeId": 32, "WhsId": 33, "WhsNo": "sample string 34", "WhseId": 35 } ], "ForcePassCredit": true, "NeedJudgePrice": true, "RelatedPoId": 26, "RelatedPoNo": "sample string 27", "BillOrigin": 0, "ChangeReason": "sample string 28" }
<SellOrderDraftEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models"> <AcId>15</AcId> <AccountingItemId>19</AccountingItemId> <Amount>10</Amount> <AmountFirst>16</AmountFirst> <AutoGenerate>true</AutoGenerate> <BType>Purchase</BType> <BillOrigin>Other</BillOrigin> <ChangeReason>sample string 28</ChangeReason> <CustId>4</CustId> <Date>2025-05-12T14:31:08.774197+08:00</Date> <DeliveryDate>2025-05-12T14:31:08.774197+08:00</DeliveryDate> <DepartmentId>20</DepartmentId> <DiscAmount>9</DiscAmount> <DiscRate>8</DiscRate> <DoId>18</DoId> <EditRecvAddr>true</EditRecvAddr> <ForcePassCredit>true</ForcePassCredit> <Id>2</Id> <Items> <SellOrderEntryEditModel> <Amount>16</Amount> <AmountTax>19</AmountTax> <ApId>5</ApId> <CatId>3</CatId> <DiscAllocation>15</DiscAllocation> <DiscAmount>14</DiscAmount> <DiscRate>13</DiscRate> <Id>1</Id> <IsClosed>true</IsClosed> <Note>sample string 21</Note> <PoId>30</PoId> <PoNo>sample string 31</PoNo> <PoeId>32</PoeId> <Price>10</Price> <PriceDis>12</PriceDis> <PriceTax>11</PriceTax> <ProdId>4</ProdId> <QTY>9</QTY> <SoId>2</SoId> <StrValue1>sample string 22</StrValue1> <StrValue2>sample string 23</StrValue2> <StrValue3>sample string 24</StrValue3> <StrValue4>sample string 25</StrValue4> <StrValue5>sample string 26</StrValue5> <StrValue6>sample string 27</StrValue6> <StrValue7>sample string 28</StrValue7> <StrValue8>sample string 29</StrValue8> <Tax>18</Tax> <TaxRate>17</TaxRate> <UnitId>8</UnitId> <WhId>6</WhId> <WhsId>33</WhsId> <WhsNo>sample string 34</WhsNo> <WhseId>35</WhseId> <WlId>7</WlId> </SellOrderEntryEditModel> <SellOrderEntryEditModel> <Amount>16</Amount> <AmountTax>19</AmountTax> <ApId>5</ApId> <CatId>3</CatId> <DiscAllocation>15</DiscAllocation> <DiscAmount>14</DiscAmount> <DiscRate>13</DiscRate> <Id>1</Id> <IsClosed>true</IsClosed> <Note>sample string 21</Note> <PoId>30</PoId> <PoNo>sample string 31</PoNo> <PoeId>32</PoeId> <Price>10</Price> <PriceDis>12</PriceDis> <PriceTax>11</PriceTax> <ProdId>4</ProdId> <QTY>9</QTY> <SoId>2</SoId> <StrValue1>sample string 22</StrValue1> <StrValue2>sample string 23</StrValue2> <StrValue3>sample string 24</StrValue3> <StrValue4>sample string 25</StrValue4> <StrValue5>sample string 26</StrValue5> <StrValue6>sample string 27</StrValue6> <StrValue7>sample string 28</StrValue7> <StrValue8>sample string 29</StrValue8> <Tax>18</Tax> <TaxRate>17</TaxRate> <UnitId>8</UnitId> <WhId>6</WhId> <WhsId>33</WhsId> <WhsNo>sample string 34</WhsNo> <WhseId>35</WhseId> <WlId>7</WlId> </SellOrderEntryEditModel> </Items> <NeedJudgePrice>true</NeedJudgePrice> <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: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> </PayInfoItems> <RecvAddress>sample string 14</RecvAddress> <RecvMobile>sample string 13</RecvMobile> <Recvr>sample string 12</Recvr> <RelatedPoId>26</RelatedPoId> <RelatedPoNo>sample string 27</RelatedPoNo> <Sales>5</Sales> <SettlePeriodDate>2025-05-12T14:31:08.774197+08:00</SettlePeriodDate> <SettlePeriodId>21</SettlePeriodId> <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> </SellOrderDraftEditModel>
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>