Site.SyncBill的历史版本

隐藏细微更改 - 以实际显示效果显示

2016年-12月-13日219.133.170.172 -
将 13 行由:
||FTypeID||string||单据类型ID,即行业模板工具中定义单据类型时的单据【类型编码】||是|| ||
更新为以下内容:
||FTypeID||string||单据类型ID,即行业模板工具中定义单据类型时的单据【'''类型编码'''】||是|| ||
2016年-12月-13日219.133.170.172 -
将 7 行由:
同步ISV的单据数据到KIS账务平台。
更新为以下内容:
同步ISV(即行业软件系统)的单据数据到KIS账务平台。
2016年-12月-13日219.133.170.172 -
将 13 行由:
||FTypeID||string||单据类型ID,即行业模板工具中定义单据类型时的【单据类型编码】||是|| ||
更新为以下内容:
||FTypeID||string||单据类型ID,即行业模板工具中定义单据类型时的单据【类型编码】||是|| ||
2016年-12月-13日219.133.170.172 -
将 13 行由:
||FTypeID||string||单据类型ID||是|| ||
更新为以下内容:
||FTypeID||string||单据类型ID,即行业模板工具中定义单据类型时的【单据类型编码】||是|| ||
2016年-11月-29日219.133.170.172 -
将 36 行由:
||FCustomItemID[]||string||0种自定义核算项目各自所属数据的ISV编码||否|| ||
更新为以下内容:
||FCustomItemID[]||string||10种自定义核算项目各自所属数据的ISV编码||否|| ||
2016年-06月-20日219.133.170.76 -
改为:
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={
更新为以下内容:
Post Url:https://kisgz.kingdee.com/Kisopenapi/router/

'''Post数据:'''

eid=1884366\\
&netid=1884366317841\\
&client_id=1402576015\\
&method=kis.APP004088.acctplatform.AcctController.DealAcctPlatForm\\
&timestamp=2016-06-20 11:22:34\\
&ver=2.0\\
&access_token=2BB6EC5194303633356B5ACE509D1BA0\\
&state=dmYZagdU8kwC8yLr\\
&custdata
={
删除了 70-73 行中的以下内容
   "UserID":"",
    "PassWord":"",
    "CurrentPage":0,
    "ItemsOfPage":0,
删除了第 71 行的以下内容:
       "DBServerIP":"",
删除了第 72 行的以下内容:
       "Sql":"",
将 74 行由:
                       {
更新为以下内容:
             {
2016年-04月-14日127.0.0.1 -
在 37-52 行中增加以下内容:

!!%second%说明
'''1.怎样传10种自定义核算项目'''

(a)10种自定义核算项目是可选项,即可以不传;当需要传数据时,也不用都传,即传其中几种也可。

(b)10种自定义核算项目的排开次序需与单据类型定义中的次序一致。单据类型定义可在行业工具中找到。

举例,有一种单据类型定义如下图所示时

%width=600px%%height=500px%Attach:method1.png%center%
1.对这种单据,其FCustomItemID最多只需传第一、二项的值,其它项不要传,否则会被告知所传数据在单据类型定义中并无定义。

2.当FCustomItemID的数据为["WL001","CK008"]时,按照单据类型的定义,亦即同步单据的自定义核算项目包括:ISV编码为WL001的物料和ISV编码为CK008的仓库。

3.当FCustomItemID的数据为["","CK008"]时,按照单据类型的定义,亦即同步单据的自定义核算项目仅包括:ISV编码为CK008的仓库。
2016年-04月-14日127.0.0.1 -
将 35 行由:
|FCustomText[]||string||5个自定义文本||否|| ||
更新为以下内容:
||FCustomText[]||string||5个自定义文本||否|| ||
2016年-04月-14日127.0.0.1 -
将 20 行由:
|FSettleTypeID||string||ISV中结算方式编码||否|| ||
更新为以下内容:
||FSettleTypeID||string||ISV中结算方式编码||否|| ||
2016年-04月-14日127.0.0.1 -
在 1-265 行中增加以下内容:
!单据同步功能调用方法

!!%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
    }
}