应收计划 (ArApPlan.asmx)
QueryArApPlan服务
服务说明:
返回满足条件的收款单信息 接口定义:
public ArApPlan[] QueryArApPlan(int iAisID, string strUser,
string strPassword, int iPerCount, string strFilter,
ref string strTimeStamp,
out string strMaxTimeStamp, out string strError)
参数说明:
iAisID:账套ID,通过账套查询服务获取,类型:inteager strUser:用户名称,必须为K/3中的合法用户,类型:string strPassword:用户密码,目前通过明文传递,类型:string iPerCount:查询时的每页记录条数,inteager
strFilter:过滤条件,符合Sql4.0规范,类型:string
strTimeStamp:传入起始时间辍值,默认为“0x0000000000000000”,
返回当前页的最大时间辍值,类型:string
返回信息:
QueryResult:表示数据信息的节点组,类型:数组
strTimeStamp:返回当前页的最大时间辍值,下一页查询,将此值直接传入 strMaxTimeStamp:返回所要返回记录的最大时间辍值,类型:string strError:返回错误信息,类型:string
合同(Contract.asmx)
QueryContract服务
服务说明:
返回满足条件的收款单信息 接口定义:
public Contract[] QueryContract(int iAisID, string strUser,
string strPassword, short iRP, int iPerCount, string strFilter,
ref string strTimeStamp,
out string strMaxTimeStamp, out string strError)
参数说明:
iAisID:账套ID,通过账套查询服务获取,类型:inteager strUser:用户名称,必须为K/3中的合法用户,类型:string strPassword:用户密码,目前通过明文传递,类型:string iRP:0-表示采购合同,1-表示销售合同 iPerCount:查询时的每页记录条数,inteager
strFilter:过滤条件,符合Sql4.0规范,类型:string
strTimeStamp:传入起始时间辍值,默认为“0x0000000000000000”,
返回当前页的最大时间辍值,类型:string
返回信息:
QueryResult:表示数据信息的节点组,类型:数组
strTimeStamp:返回当前页的最大时间辍值,下一页查询,将此值直接传入 strMaxTimeStamp:返回所要返回记录的最大时间辍值,类型:string strError:返回错误信息,类型:string
调用方式
通过现有工具(组件)进行访问
利用现有的Soap的客户端(如Microsoft SOAP Toolkit和基于J2EE的SOAP的类库),生成外部数据交换服务的本地的代理,就可以直接访问外部数据交换服务。
Vb方式调用demo的代码示例如下:
Http方式
可以通过任何方式,直接构造外部数据交换服务的正确的Http请求,以传递正确的地址和参数,接受外部数据交换的响应请求消息(携带K/3业务数据的消息)。
对象说明
上面提到的各种外部数据交换服务的业务对象,如Customer、K3SaleOrder等的定义跟我们的数据交换标准中的业务对象的定义一致。详细资料请参考K/3的数据交换标准。

