U811.1接口EAI系列之五--材料出库--VB语言
主要业务有:09其他出库单 11:材料出库单 32:销售出库单
主要业务代码:
'材料出库生成XML
Public Function xml_storeout(ds_head As MSHFlexGrid, ds_detail As MSHFlexGrid, as_proc As String) As Boolean
xml_storeout = True
Dim ls_xml As String
Dim ls_data As String '增加文件头相关信息
ls_xml = "<?xml version=""1.0"" encoding=""UTF-8""?>" + vbCrLf ls_xml = ls_xml & "<ufinterface sender=""" & U8_XTM & """ receiver=""u8"" roottag=""storeout"" docid="""" proc=""" & as_proc & """ renewproofno = ""Y"" codeexchanged=""N"" exportneedexch=""N"" display="""" family="""" timestamp="""">" + vbCrLf '增加文件中数据项信息 header
ls_xml = ls_xml & "<storeout>" + vbCrLf
ls_xml = ls_xml & "<header>" + vbCrLf
ls_data = ""
ls_xml = ls_xml & "<receiveflag>" & ls_data & "</receiveflag>" + vbCrLf '收发标志 入库单-收 1,出库单-发 0
ls_data = ""
ls_xml = ls_xml & "<vouchtype>" & ls_data & "</vouchtype>" + vbCrLf '单据类型 09:其他出库单 11:材料出库单 32:销售出库单
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<businesstype>" & ls_data & "</businesstype>" + vbCrLf '业务类型
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<source>" & ls_data & "</source>" + vbCrLf '单据来源 采购、销售、库存、存货
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<businesscode>" & ls_data & "</businesscode>" + vbCrLf '对应业务单号
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<warehousecode>" & ls_data & "</warehousecode>" + vbCrLf '仓库编码
ls_data = Format(Trim(ds_head.TextMatrix(, )), "0000-00-00")
ls_xml = ls_xml & "<date>" & ls_data & "</date>" + vbCrLf '单据日期
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<code>" & ls_data & "</code>" + vbCrLf '单据号
ls_data = Trim(ds_head.TextMatrix(, )) '根据出库类别基本档案表
ls_xml = ls_xml & "<receivecode>" & ls_data & "</receivecode>" + vbCrLf '收发类别编码
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<departmentcode>" & ls_data & "</departmentcode>" + vbCrLf '部门编码
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<personcode>" & ls_data & "</personcode>" + vbCrLf '职员编码 业务员
ls_data = ""
ls_xml = ls_xml & "<purchasetypecode>" & ls_data & "</purchasetypecode>" + vbCrLf '采购类型编码 采购入库用
ls_data = ""
ls_xml = ls_xml & "<saletypecode>" & ls_data & "</saletypecode>" + vbCrLf '销售类型编码 销售出库用
ls_data = ""
ls_xml = ls_xml & "<customercode>" & ls_data & "</customercode>" + vbCrLf '客户编码 销售出库单、其他出库单用
ls_data = ""
ls_xml = ls_xml & "<customerccode>" & ls_data & "</customerccode>" + vbCrLf '客户分类
ls_data = ""
ls_xml = ls_xml & "<cacauthcode>" & ls_data & "</cacauthcode>" + vbCrLf '不清楚做什么用的
ls_data = ""
ls_xml = ls_xml & "<vendorcode>" & ls_data & "</vendorcode>" + vbCrLf '供应商编码 采购入库单、其他入库单用
ls_data = ""
ls_xml = ls_xml & "<ordercode>" & ls_data & "</ordercode>" + vbCrLf '订单号
ls_data = ""
ls_xml = ls_xml & "<quantity>" & ls_data & "</quantity>" + vbCrLf '产量
ls_data = ""
ls_xml = ls_xml & "<arrivecode>" & ls_data & "</arrivecode>" + vbCrLf '到货单号 采购入库单用
ls_data = ""
ls_xml = ls_xml & "<billcode>" & ls_data & "</billcode>" + vbCrLf '发票号 采购入库单、销售出库单用
ls_data = ""
ls_xml = ls_xml & "<consignmentcode>" & ls_data & "</consignmentcode>" + vbCrLf '发货单号 销售出库单用
ls_data = ""
ls_xml = ls_xml & "<arrivedate>" & ls_data & "</arrivedate>" + vbCrLf '到货日期
ls_data = ""
ls_xml = ls_xml & "<checkcode>" & ls_data & "</checkcode>" + vbCrLf '检验单号
ls_data = ""
ls_xml = ls_xml & "<checkdate>" & ls_data & "</checkdate>" + vbCrLf '检验日期
ls_data = ""
ls_xml = ls_xml & "<checkperson>" & ls_data & "</checkperson>" + vbCrLf '检验员 编码
ls_data = ""
ls_xml = ls_xml & "<templatenumber>" & ls_data & "</templatenumber>" + vbCrLf '模版号
ls_data = ""
ls_xml = ls_xml & "<serial>" & ls_data & "</serial>" + vbCrLf '生产批号 产成品入库单、材料出库单用
ls_data = "demo"
ls_xml = ls_xml & "<handler>" & ls_data & "</handler>" + vbCrLf '经手人 编码
ls_data = ""
ls_xml = ls_xml & "<memory>" & ls_data & "</memory>" + vbCrLf '备注
ls_data = Trim(ds_head.TextMatrix(, ))
ls_xml = ls_xml & "<maker>" & ls_data & "</maker>" + vbCrLf '制单人
ls_data = ""
ls_xml = ls_xml & "<chandler>" & ls_data & "</chandler>" + vbCrLf '审核人
ls_data = ""
ls_xml = ls_xml & "<define1>" & ls_data & "</define1>" + vbCrLf '自定义字段1
ls_data = ""
ls_xml = ls_xml & "<define2>" & ls_data & "</define2>" + vbCrLf '自定义字段2
ls_data = ""
ls_xml = ls_xml & "<define3>" & ls_data & "</define3>" + vbCrLf '自定义字段3
ls_data = ""
ls_xml = ls_xml & "<define4>" & ls_data & "</define4>" + vbCrLf '自定义字段4
ls_data = ""
ls_xml = ls_xml & "<define5>" & ls_data & "</define5>" + vbCrLf '自定义字段5
ls_data = ""
ls_xml = ls_xml & "<define6>" & ls_data & "</define6>" + vbCrLf '自定义字段6
ls_data = ""
ls_xml = ls_xml & "<define7>" & ls_data & "</define7>" + vbCrLf '自定义字段7
ls_data = ""
ls_xml = ls_xml & "<define8>" & ls_data & "</define8>" + vbCrLf '自定义字段8
ls_data = ""
ls_xml = ls_xml & "<define9>" & ls_data & "</define9>" + vbCrLf '自定义字段9
ls_data = ""
ls_xml = ls_xml & "<define10>" & ls_data & "</define10>" + vbCrLf '自定义字段10
ls_data = ""
ls_xml = ls_xml & "<define11>" & ls_data & "</define11>" + vbCrLf '自定义字段11
ls_data = ""
ls_xml = ls_xml & "<define12>" & ls_data & "</define12>" + vbCrLf '自定义字段12
ls_data = ""
ls_xml = ls_xml & "<define13>" & ls_data & "</define13>" + vbCrLf '自定义字段13
ls_data = ""
ls_xml = ls_xml & "<define14>" & ls_data & "</define14>" + vbCrLf '自定义字段14
ls_data = ""
ls_xml = ls_xml & "<define15>" & ls_data & "</define15>" + vbCrLf '自定义字段15
ls_data = ""
ls_xml = ls_xml & "<define16>" & ls_data & "</define16>" + vbCrLf '自定义字段16
ls_data = ""
ls_xml = ls_xml & "<auditdate>" & ls_data & "</auditdate>" + vbCrLf '审核日期
ls_data = ""
ls_xml = ls_xml & "<taxrate>" & ls_data & "</taxrate>" + vbCrLf '税率
ls_data = ""
ls_xml = ls_xml & "<exchname>" & ls_data & "</exchname>" + vbCrLf '币种名称
ls_data = ""
ls_xml = ls_xml & "<exchrate>" & ls_data & "</exchrate>" + vbCrLf '汇率
ls_data = ""
ls_xml = ls_xml & "<discounttaxtype>" & ls_data & "</discounttaxtype>" + vbCrLf '扣税类别
ls_data = ""
ls_xml = ls_xml & "<contact>" & ls_data & "</contact>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<phone>" & ls_data & "</phone>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<mobile>" & ls_data & "</mobile>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<address>" & ls_data & "</address>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<conphone>" & ls_data & "</conphone>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<conmobile>" & ls_data & "</conmobile>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<deliverunit>" & ls_data & "</deliverunit>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<contactname>" & ls_data & "</contactname>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<officephone>" & ls_data & "</officephone>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<mobilephone>" & ls_data & "</mobilephone>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<psnophone>" & ls_data & "</psnophone>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<psnmobilephone>" & ls_data & "</psnmobilephone>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<shipaddress>" & ls_data & "</shipaddress>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<addcode>" & ls_data & "</addcode>" + vbCrLf '不清楚XML中含义
ls_data = ""
ls_xml = ls_xml & "<iscomplement>" & ls_data & "</iscomplement>" + vbCrLf '补料标志
ls_xml = ls_xml & "</header>" + vbCrLf 'body
ls_xml = ls_xml & "<body>" + vbCrLf
For i = To ds_detail.rows -
ls_xml = ls_xml & "<entry>" + vbCrLf
ls_data = ""
ls_xml = ls_xml & "<barcode>" & ls_data & "</barcode>" + vbCrLf '条形码
ls_data = Trim(ds_detail.TextMatrix(i, ))
ls_xml = ls_xml & "<inventorycode>" & ls_data & "</inventorycode>" + vbCrLf '存货编码
ls_data = ""
ls_xml = ls_xml & "<free1>" & ls_data & "</free1>" + vbCrLf '自由项1
ls_data = ""
ls_xml = ls_xml & "<free2>" & ls_data & "</free2>" + vbCrLf '自由项2
ls_data = ""
ls_xml = ls_xml & "<free3>" & ls_data & "</free3>" + vbCrLf '自由项3
ls_data = ""
ls_xml = ls_xml & "<free4>" & ls_data & "</free4>" + vbCrLf '自由项4
ls_data = ""
ls_xml = ls_xml & "<free5>" & ls_data & "</free5>" + vbCrLf '自由项5
ls_data = ""
ls_xml = ls_xml & "<free6>" & ls_data & "</free6>" + vbCrLf '自由项6
ls_data = ""
ls_xml = ls_xml & "<free7>" & ls_data & "</free7>" + vbCrLf '自由项7
ls_data = ""
ls_xml = ls_xml & "<free8>" & ls_data & "</free8>" + vbCrLf '自由项8
ls_data = ""
ls_xml = ls_xml & "<free9>" & ls_data & "</free9>" + vbCrLf '自由项9
ls_data = ""
ls_xml = ls_xml & "<free10>" & ls_data & "</free10>" + vbCrLf '自由项10
ls_data = ""
ls_xml = ls_xml & "<shouldquantity>" & ls_data & "</shouldquantity>" + vbCrLf '应收(发)数量
ls_data = ""
ls_xml = ls_xml & "<shouldnumber>" & ls_data & "</shouldnumber>" + vbCrLf '应收(发)件数
ls_data = Trim(ds_detail.TextMatrix(i, ))
ls_xml = ls_xml & "<quantity>" & ls_data & "</quantity>" + vbCrLf '数量(主记量数量) 应收(发)数量和数量不能同时为空。
ls_data = Trim(ds_detail.TextMatrix(i, ))
ls_xml = ls_xml & "<cmassunitname>" & ls_data & "</cmassunitname>" + vbCrLf '主记量单位名称
ls_data = ""
ls_xml = ls_xml & "<assitantunit>" & ls_data & "</assitantunit>" + vbCrLf '辅记量单位
ls_data = ""
ls_xml = ls_xml & "<assitantunitname>" & ls_data & "</assitantunitname>" + vbCrLf '辅记量单位名称
ls_data = ""
ls_xml = ls_xml & "<irate>" & ls_data & "</irate>" + vbCrLf '换算率?
ls_data = ""
ls_xml = ls_xml & "<number>" & ls_data & "</number>" + vbCrLf '件数
ls_data = ""
ls_xml = ls_xml & "<price>" & ls_data & "</price>" + vbCrLf '单价
ls_data = ""
ls_xml = ls_xml & "<cost>" & ls_data & "</cost>" + vbCrLf '金额
ls_data = ""
ls_xml = ls_xml & "<plancost>" & ls_data & "</plancost>" + vbCrLf '计划单价?
ls_data = ""
ls_xml = ls_xml & "<planprice>" & ls_data & "</planprice>" + vbCrLf '计划金额?
ls_data = ""
ls_xml = ls_xml & "<serial>" & ls_data & "</serial>" + vbCrLf '批号
ls_data = ""
ls_xml = ls_xml & "<makedate>" & ls_data & "</makedate>" + vbCrLf '生产日期
ls_data = ""
ls_xml = ls_xml & "<validdate>" & ls_data & "</validdate>" + vbCrLf '失效日期)
ls_data = ""
ls_xml = ls_xml & "<transitionid>" & ls_data & "</transitionid>" + vbCrLf '调拨单子表ID号
ls_data = ""
ls_xml = ls_xml & "<subbillcode>" & ls_data & "</subbillcode>" + vbCrLf '发票子表ID号
ls_data = ""
ls_xml = ls_xml & "<subpurchaseid>" & ls_data & "</subpurchaseid>" + vbCrLf '采购订单子表ID号
ls_data = Trim(ds_detail.TextMatrix(i, ))
ls_xml = ls_xml & "<position>" & ls_data & "</position>" + vbCrLf '货位
ls_data = ""
ls_xml = ls_xml & "<itemclasscode>" & ls_data & "</itemclasscode>" + vbCrLf '项目大类编码
ls_data = ""
ls_xml = ls_xml & "<itemclassname>" & ls_data & "</itemclassname>" + vbCrLf '项目大类名称
ls_data = Trim(ds_detail.TextMatrix(i, ))
ls_xml = ls_xml & "<itemcode>" & ls_data & "</itemcode>" + vbCrLf '项目编码
ls_data = ""
ls_xml = ls_xml & "<itemname>" & ls_data & "</itemname>" + vbCrLf '项目名称
ls_data = ""
ls_xml = ls_xml & "<define22>" & ls_data & "</define22>" + vbCrLf '表体自定义项22
ls_data = ""
ls_xml = ls_xml & "<define23>" & ls_data & "</define23>" + vbCrLf '表体自定义项23
ls_data = ""
ls_xml = ls_xml & "<define24>" & ls_data & "</define24>" + vbCrLf '表体自定义项24
ls_data = ""
ls_xml = ls_xml & "<define25>" & ls_data & "</define25>" + vbCrLf '表体自定义项25
ls_data = ""
ls_xml = ls_xml & "<define26>" & ls_data & "</define26>" + vbCrLf '表体自定义项26
ls_data = ""
ls_xml = ls_xml & "<define27>" & ls_data & "</define27>" + vbCrLf '表体自定义项27
ls_data = ""
ls_xml = ls_xml & "<define28>" & ls_data & "</define28>" + vbCrLf '表体自定义项28
ls_data = ""
ls_xml = ls_xml & "<define29>" & ls_data & "</define29>" + vbCrLf '表体自定义项29
ls_data = ""
ls_xml = ls_xml & "<define30>" & ls_data & "</define30>" + vbCrLf '表体自定义项30
ls_data = ""
ls_xml = ls_xml & "<define31>" & ls_data & "</define31>" + vbCrLf '表体自定义项31
ls_data = ""
ls_xml = ls_xml & "<define32>" & ls_data & "</define32>" + vbCrLf '表体自定义项32
ls_data = ""
ls_xml = ls_xml & "<define33>" & ls_data & "</define33>" + vbCrLf '表体自定义项33
ls_data = ""
ls_xml = ls_xml & "<define34>" & ls_data & "</define34>" + vbCrLf '表体自定义项34
ls_data = ""
ls_xml = ls_xml & "<define35>" & ls_data & "</define35>" + vbCrLf '表体自定义项35
ls_data = ""
ls_xml = ls_xml & "<define36>" & ls_data & "</define36>" + vbCrLf '表体自定义项36
ls_data = ""
ls_xml = ls_xml & "<define37>" & ls_data & "</define37>" + vbCrLf '表体自定义项37
ls_data = ""
ls_xml = ls_xml & "<subconsignmentid>" & ls_data & "</subconsignmentid>" + vbCrLf '发货单子表ID
ls_data = ""
ls_xml = ls_xml & "<delegateconsignmentid>" & ls_data & "</delegateconsignmentid>" + vbCrLf '委托代销发货单子表
ls_data = ""
ls_xml = ls_xml & "<subproducingid>" & ls_data & "</subproducingid>" + vbCrLf '生产订单子表ID
ls_data = ""
ls_xml = ls_xml & "<subcheckid>" & ls_data & "</subcheckid>" + vbCrLf '检验单子表ID
ls_data = ""
ls_xml = ls_xml & "<cRejectCode>" & ls_data & "</cRejectCode>" + vbCrLf '不良品处理单号
ls_data = ""
ls_xml = ls_xml & "<iRejectIds>" & ls_data & "</iRejectIds>" + vbCrLf '不良品处理单ID
ls_data = ""
ls_xml = ls_xml & "<cCheckPersonCode>" & ls_data & "</cCheckPersonCode>" + vbCrLf '检验员
ls_data = ""
ls_xml = ls_xml & "<dCheckDate>" & ls_data & "</dCheckDate>" + vbCrLf '检验日期
ls_data = ""
ls_xml = ls_xml & "<cCheckCode>" & ls_data & "</cCheckCode>" + vbCrLf '检验单号
ls_data = ""
ls_xml = ls_xml & "<iMassDate>" & ls_data & "</iMassDate>" + vbCrLf '保质期天数
ls_data = ""
ls_xml = ls_xml & "<ioritaxcost>" & ls_data & "</ioritaxcost>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<ioricost>" & ls_data & "</ioricost>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<iorimoney>" & ls_data & "</iorimoney>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<ioritaxprice>" & ls_data & "</ioritaxprice>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<iorisum>" & ls_data & "</iorisum>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<taxrate>" & ls_data & "</taxrate>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<taxprice>" & ls_data & "</taxprice>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<isum>" & ls_data & "</isum>" + vbCrLf '不清楚XML中具体含义
ls_data = ""
ls_xml = ls_xml & "<massunit>" & ls_data & "</massunit>" + vbCrLf '保质期单位
ls_data = ""
ls_xml = ls_xml & "<vmivencode>" & ls_data & "</vmivencode>" + vbCrLf '代管商编码
ls_data = ""
ls_xml = ls_xml & "<whpersoncode>" & ls_data & "</whpersoncode>" + vbCrLf '库管员编码
ls_data = ""
ls_xml = ls_xml & "<whpersonname>" & ls_data & "</whpersonname>" + vbCrLf '库管员名称
ls_data = ""
ls_xml = ls_xml & "<batchproperty1>" & ls_data & "</batchproperty1>" + vbCrLf '属性1
ls_data = ""
ls_xml = ls_xml & "<batchproperty2>" & ls_data & "</batchproperty2>" + vbCrLf '属性2
ls_data = ""
ls_xml = ls_xml & "<batchproperty3>" & ls_data & "</batchproperty3>" + vbCrLf '属性3
ls_data = ""
ls_xml = ls_xml & "<batchproperty4>" & ls_data & "</batchproperty4>" + vbCrLf '属性4
ls_data = ""
ls_xml = ls_xml & "<batchproperty5>" & ls_data & "</batchproperty5>" + vbCrLf '属性5
ls_data = ""
ls_xml = ls_xml & "<batchproperty6>" & ls_data & "</batchproperty6>" + vbCrLf '属性6
ls_data = ""
ls_xml = ls_xml & "<batchproperty7>" & ls_data & "</batchproperty7>" + vbCrLf '属性7
ls_data = ""
ls_xml = ls_xml & "<batchproperty8>" & ls_data & "</batchproperty8>" + vbCrLf '属性8
ls_data = ""
ls_xml = ls_xml & "<batchproperty9>" & ls_data & "</batchproperty9>" + vbCrLf '属性9
ls_data = ""
ls_xml = ls_xml & "<batchproperty10>" & ls_data & "</batchproperty10>" + vbCrLf '属性10
ls_data = ""
ls_xml = ls_xml & "<iexpiratdatecalcu>" & ls_data & "</iexpiratdatecalcu>" + vbCrLf '有效期推算方式
ls_data = ""
ls_xml = ls_xml & "<dexpirationdate>" & ls_data & "</dexpirationdate>" + vbCrLf '有效期计算项
ls_data = ""
ls_xml = ls_xml & "<cexpirationdate>" & ls_data & "</cexpirationdate>" + vbCrLf '有效期至
ls_data = ""
ls_xml = ls_xml & "<memory>" & ls_data & "</memory>" + vbCrLf '备注
ls_xml = ls_xml & "</entry>" + vbCrLf
Next i
ls_xml = ls_xml & "</body>" + vbCrLf '增加文件尾相关信息
ls_xml = ls_xml & "</storeout>" + vbCrLf
ls_xml = ls_xml & "</ufinterface>" + vbCrLf
' Dim xml_document As New DOMDocument
' xml_document.loadXML (ls_xml)
' fn2 = App.Path & "\u8_code2.xml"
' xml_document.save (fn2)
Dim ls_temp As String '接收返回消息,如果成功,返回U8中出库单号,如果失败,返回错误信息
If SendToEAI(ls_xml, ls_temp) Then '成功
MsgBox "上传成功" & ls_temp
Else '失败
MsgBox ls_temp
xml_storeout = False
End If
End Function
作者:王春天 2013-11-03
地址:http://www.cnblogs.com/spring_wang/p/3404620.html
U811.1接口EAI系列之五--材料出库--VB语言的更多相关文章
- U811.1接口EAI系列之六--物料上传--VB语言
1. 业务系统同步U811.1存货档案通用方法. 2.具体代码处理如下: 作者:王春天 2013-11-06 地址:http://www.cnblogs.com/spring_wang/p/34098 ...
- U811.1接口EAI系列之三--采购订单生成--VB语言
采购订单业务,下面是具体代码与参数说明: 下面调用的通用方法在: http://www.cnblogs.com/spring_wang/p/3393147.html 作者:王春天 2013-10-31 ...
- U811.1接口EAI系列之二--生成销售出库单调用U8的EAI通用处理方法--PowerBuilder语言
1.销售系统销售出库,更新U811.1材料库存的EAI的XML生成. 2.主要根据U8配置会生成出库单和同时是否更新库存量,还是更新现存量等等. 3.具体参考代码如下: 作者:王春天 2013-11- ...
- U811.1接口EAI系列之一-通用访问EAI方法--统一调用EAI公共方法--VB语言
1.现在做的项目是关于业务系统与U811.1的接口项目. 2.那么就需要调整通过EAI调用生成U8业务单据. 3.下面就一个通用的向U8-EAI传递XML的通用方法 4.肯定有人会问怎么还用VB调用呢 ...
- U811.1接口EAI系列之二-BOM构成-委外BOM构成--VB语言
1.下面代码实现了VB6.0中调用U8EAI-BOM构成服务,以下代码均为项目实际代码,可直接复制应用. 2.在u811.1版本中委外BOM构成与正常的BOM构成是同系列表,不单独存储. 3.是以存货 ...
- U811.1接口EAI系列之一--通用把XML传送给EAI处理方法--PowerBuilder语言
1.前面配置参考:http://www.cnblogs.com/spring_wang/p/3393147.html 2.pb通用调EAI方法代码如下: //===================== ...
- U811.1接口EAI系列之四--委外订单生成--VB语言
委外订单主细表.子个构成需求.具体代码与参数说明. 下面调用的通用方法在: http://www.cnblogs.com/spring_wang/p/3393147.html 作者:王春天 2013- ...
- 单元测试系列之五:Mock工具之Mockito实战
更多原创测试技术文章同步更新到微信公众号 :三国测,敬请扫码关注个人的微信号,感谢! 原文链接:http://www.cnblogs.com/zishi/p/6780719.html 在实际项目中写单 ...
- 给Ajax一个漂亮的嫁衣——Ajax系列之五(下)之序列化和反序列化
给Ajax一个漂亮的嫁衣——Ajax系列之五(下)之序列化和反序列化 标签: ajaxdictionaryjsonobject服务器function 2012-07-25 18:41 2242人阅读 ...
随机推荐
- Python学习笔记_03:简单操作MongoDB数据库
目录 1. 插入文档 2. 查询文档 3. 更新文档 4. 删除文档 1. 插入文档 # -*- coding: UTF-8 -*- import datetime from pymongo im ...
- 算法笔记_219:泊松分酒(Java)
目录 1 问题描述 2 解决方案 1 问题描述 泊松是法国数学家.物理学家和力学家.他一生致力科学事业,成果颇多.有许多著名的公式定理以他的名字命名,比如概率论中著名的泊松分布. 有一次闲暇时,他 ...
- Cocos开发小游戏如何实现微信排行榜
当游戏开发进入尾声,要引入微信数据的时候,需要了解和微信相关的接口了. 关系数据链 开放数据域 相关接口如下: wx.getFriendCloudStorage() 获取当前用户也玩该小游戏的好友的用 ...
- 比较typeof与instanceof?
相同点:JavaScript 中 typeof 和 instanceof 常用来判断一个变量是否为空,或者是什么类型的. typeof的定义和用法:返回值是一个字符串,用来说明变量的数据类型. 细节: ...
- ReactNative踩坑日志——代码执行方式(面向对象)
在ReactNative中,是以面向对象的方式执行代码的.处于同一{}內的代码以对象的形式执行,也就是说,程序虽然会自上而下执行代码,但是它会保证当前整个代码块內的语句执行完毕才执行下一代码块. 举个 ...
- 玩转Bootstrap
一:bootstrap基本模版 <!DOCTYPE html> <html lang="en"> <head> <meta charset ...
- 〖Linux〗多个JDK版本之间快速切换
由于工作的需要,经常要切换JDK版本比如我HOME目录下有三个JDK版本: ~/apt/jdk1..0_34 # JDK6 ~/apt/jdk1..0_67 # JDK7 ~/apt/jdk1..0_ ...
- 【Linux】文件权限
Linux的每一个文件都跟多种类型相关联.在这些权限中,我们通常需要和三类权限打交道(用户.用户组以及其他实体). 1.文件权限查看ls –l Linux:/qinys # ls -l total 6 ...
- V-rep学习笔记:机器人路径规划1
Motion Planning Library V-REP 从3.3.0开始,使用运动规划库OMPL作为插件,通过调用API的方式代替以前的方法进行运动规划(The old path/motion ...
- V-rep学习笔记:vrep中的实用工具
在V-REP的模型浏览器中可以找到一个工具文件夹tools,点开后会在下面一栏中显示许多方框图,将这些方框拖到场景模型中可以实现一些特定的功能,方便建模或其它操作. Center of mass vi ...