You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.2 KiB
67 lines
2.2 KiB
[
|
|
{
|
|
//salSalesOrder
|
|
"name": "MainSalesOrder",
|
|
"rows": [
|
|
{
|
|
"BillNo": "Z001", //合約單號
|
|
"BillDate": 20210420, //簽約日期
|
|
"TypeId": "SO", //
|
|
"FOrgId": "1000",
|
|
"OrgId": "1000",
|
|
"ModeId": "T", // T汰改 M新梯
|
|
"BizPartnerId": "M0225", //創建人ID
|
|
"CurrId": "TWD",
|
|
"CurrOAmount": 1,
|
|
"CurrLAmount": 1,
|
|
"PersonId": "M0225", //業務人員
|
|
"DueToId": "512", //業務部門
|
|
"TradeConditionId": "",
|
|
"TaxId": "ST005",
|
|
"CreditorCompId": "1000",
|
|
"CreditorOrgId": "1000",
|
|
"CreditorCurrOAmount": 1,
|
|
"CreditorCurrLAmount": 1,
|
|
"CompId": "1000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
// salSalesOrderDetail
|
|
"name": "SubOrder",
|
|
"rows": [
|
|
{
|
|
"SupplyCompId": "1001",
|
|
"SupplyOrgId": "1000",
|
|
"TaxId": "ST005",
|
|
"RequirementDate": 20210420, //出貨日期
|
|
"ConsignmentDate": 20210420, //發貨日期
|
|
"DispatchCompId": "1001",
|
|
"DispatchOrgId": "1000",
|
|
"BillNo": "Z001", //合約號
|
|
"RowCode": 1, //全部筆數排列
|
|
"ItemType": 0,
|
|
"MaterialId": "Z001", //作番號
|
|
"SUnitId": "SET",
|
|
"SQuantity": 1, //交易數量
|
|
"SPrice": 1 //交易價格
|
|
}
|
|
]
|
|
},
|
|
{
|
|
//salOrderStagePay
|
|
"name": "salOrderStagePay",
|
|
"rows": [
|
|
{
|
|
"BillNo": "",
|
|
"RowCode": "",
|
|
"RowNo": "",
|
|
"PayStage": "ST003", //收款階段
|
|
"PlanPercentage": "Z001", //計劃收款比例(%)
|
|
"PlanPayAmt": 1, //計劃收款金額
|
|
"PlanPayDate": 1, //計劃收款日期 1.第一筆都是簽約日
|
|
"UnWriteOffOAmount": 1 //未核銷金額
|
|
}
|
|
]
|
|
}
|
|
]
|