35 lines
870 B
C#
35 lines
870 B
C#
|
|
using MSXML2;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
|
|||
|
|
namespace NX.ERP.U8.Store
|
|||
|
|
{
|
|||
|
|
public class MaterialAppVoucher : VoucherBase
|
|||
|
|
{
|
|||
|
|
public MaterialAppVoucher() : base("64", "U8API/MaterialAppVouchs")
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public string AddVoucher(object param)
|
|||
|
|
{
|
|||
|
|
VoucherParameter voucherParameter = new VoucherParameter
|
|||
|
|
{
|
|||
|
|
VoucherType = this.VoucherID,
|
|||
|
|
DomHead = new DOMDocumentClass(),
|
|||
|
|
DomBody = new DOMDocumentClass()
|
|||
|
|
};
|
|||
|
|
DOMDocument domHead = voucherParameter.DomHead;
|
|||
|
|
DOMDocument domBody = voucherParameter.DomBody;
|
|||
|
|
voucherParameter.DomHead.loadXML(HeadTemplate);
|
|||
|
|
voucherParameter.DomBody.loadXML(BodyTemplate);
|
|||
|
|
return "";
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|