!单据同步功能调用方法
!!%second%业务类型名称
SyncBill
!!%second%功能说明
同步ISV的单据数据到KIS账务平台。
!!'''Recordset数据集参数'''
|| class=table-of-content
||!参数名称 ||!参数类型||!参数说明||!是否必填||!值域
||FDate||Date||业务日期||是|| ||
||FTypeID||string||单据类型ID||是|| ||
||FID||string||ISV中单据编号||是|| ||
||FCustID||string||ISV中客户ID||否|| ||
||FSupplyID||string||ISV中供应商ID||否|| ||
||FDeptID||string ||ISV中部门ID||否|| ||
||FSalesmanID||string ||ISV中业务员ID||否|| ||
||FRowIndex||Integer||ISV中行号||是|| ||
|FSettleTypeID||string||ISV中结算方式编码||否|| ||
||FCurrencyNumber||string||原币代码||否|| ||
||FExchangeRate||Double||汇率||否|| ||
||FAmount_NoTax||Double||不含税金额(本位币)||否|| ||
||FAmount_NoTax_For||Double||不含税金额(原币)||否|| ||
||FTax||Double||税额(本位币)||否|| ||
||FTax_For||Double||税额(原币)||否|| ||
||FExpense||Double||费用(本位币)||否|| ||
||FExpense_For||Double||费用(原币)||否|| ||
||FDisAmount||Double||折扣额(本位币)||否|| ||
||FDisAmount_For||Double||折扣额(原币)||否|| ||
||FExplanation||string||摘要||否|| ||
||FCustomAmount[]||Double||10个自定义金额(本位币)||否|| ||
||FCustomAmount_For[]||Double||10个自定义金额(原币)||否|| ||
||FCustomQty[]||Double||5个自定义数量||否|| ||
|FCustomText[]||string||5个自定义文本||否|| ||
||FCustomItemID[]||string||0种自定义核算项目各自所属数据的ISV编码||否|| ||
!!%second%发送请求示例
Post Url:http://120.132.144.214/Webapi/Router/
'''post数据:'''
EID=22002
&Method=kis.APP001804.acctplatform.AcctController.DealAcctPlatForm
&Timestamp=2014-12-09 09:35:29
&Ver=1.0
&Sign=E9140828882E39CD92E0F3BC64C69A35
&State=TIcoIdlRhh89PU4o
&IsEncrypt=N
&CustData={
"ProductID":"S1S013S001",
"AccountDB":"KISOEM_Sample",
"UserID":"",
"PassWord":"",
"CurrentPage":0,
"ItemsOfPage":0,
"Data":{
"DBServerIP":"",
"Action":"SyncBill",
"Sql":"",
"Recordset":[
{
"FDate":"2014-03-01",
"FTypeID":"0001",
"FID":"C0001",
"FRowIndex":"1",
"FCustID":"",
"FSupplyID":"",
"FDeptID":"",
"FSalesmanID":"",
"FSettleTypeID":"",
"FCurrencyNumber":"JPY",
"FExchangeRate":"19.73",
"FAmount_NoTax":"39460",
"FAmount_NoTax_For":"2000",
"FTax":"50",
"FTax_For":"340",
"FExpense":"30",
"FExpense_For":"591.9",
"FDisAmount":"100",
"FDisAmount_For":"1973",
"FExplanation":"xx",
"FCustomAmount":[
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"FCustomAmount_For":[
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"FCustomQty":[
"",
"",
"",
"",
""
],
"FCustomText":[
"",
"",
"",
"",
""
],
"FCustomItemID":[
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
{
"FDate":"2014-03-02",
"FTypeID":"0001",
"FID":"C0002",
"FRowIndex":"1",
"FCustID":"",
"FSupplyID":"",
"FDeptID":"",
"FSalesmanID":"",
"FSettleTypeID":"",
"FCurrencyNumber":"JPY",
"FExchangeRate":"19.73",
"FAmount_NoTax":"19730",
"FAmount_NoTax_For":"1000",
"FTax":"3",
"FTax_For":"170",
"FExpense":"70",
"FExpense_For":"1381.1",
"FDisAmount":"30",
"FDisAmount_For":"591.9",
"FExplanation":"yy",
"FCustomAmount":[
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"FCustomAmount_For":[
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"FCustomQty":[
"",
"",
"",
"",
""
],
"FCustomText":[
"",
"",
"",
"",
""
],
"FCustomItemID":[
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
]
}
]
}
}
!!%second%返回数据示例
'''示例1'''
{
"Result": 200,
"ErrMsg": "",
"DataJson": {
"Result": "200",
"ErrMsg": "",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": ""
}
}
%strong%'''示例2'''
{
"Result": 200,
"ErrMsg": "关于路由的出错信息",
"DataJson": {
"Result": "200",
"ErrMsg": "",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": null
}
}
%strong%'''示例3'''
{
"Result": 200,
"ErrMsg": "",
"DataJson": {
"Result": "202",
"ErrMsg": "关于业务处理的出错信息",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": null
}
}