This commit is contained in:
admin
2020-12-18 16:35:46 +08:00
parent 600fd27b76
commit 9881320eda
5 changed files with 126 additions and 109 deletions

View File

@@ -9,54 +9,54 @@ namespace U8AppMain.Purchase
public class entry
{
public string vendorcode { get; set; }
//public string vendorcode { get; set; }
public string inventorycode { get; set; }
public int quantity { get; set; }
public decimal quantity { get; set; }
public decimal price { get; set; }
//public decimal price { get; set; }
public decimal taxrate { get; set; }
//public decimal taxrate { get; set; }
public decimal taxprice { get; set; }
//public decimal taxprice { get; set; }
public decimal money { get; set; }
//public decimal money { get; set; }
public decimal tax { get; set; }
public decimal sum { get; set; }
//public decimal tax { get; set; }
//public decimal sum { get; set; }
public string requiredate { get; set; }
public string arrivedate { get; set; }
public string item_class { get; set; }
//public string item_class { get; set; }
public string item_code { get; set; }
//public string item_code { get; set; }
public decimal btaxcost { get; set; }
//public decimal btaxcost { get; set; }
public decimal num { get; set; }
//public decimal num { get; set; }
public string unitid { get; set; }
//public string unitid { get; set; }
public string deptcodeexec { get; set; }
public string personcodeexec { get; set; }
//public string deptcodeexec { get; set; }
//public string personcodeexec { get; set; }
public string currency_name { get; set; }
public string currency_name { get; set; } = "人民币";
public decimal currency_rate { get; set; }
public decimal currency_rate { get; set; } = 1;
public string originalprice { get; set; }
public string originalmoney { get; set; }
//public string originalprice { get; set; }
//public string originalmoney { get; set; }
public string originaltax { get; set; }
//public string originaltax { get; set; }
public string originalsum { get; set; }
//public string originalsum { get; set; }
public string ivouchrowno { get; set; }
//public string ivouchrowno { get; set; }
// <vendorcode />
//<inventorycode>107001</inventorycode>
//<quantity>456</quantity>

View File

@@ -14,28 +14,28 @@ namespace U8AppMain.Purchase
public string personcode { get; set; }
public string purchasetypecode { get; set; }
public string businesstype { get; set; }
public string businesstype { get; set; } = "普通采购";
public string maker { get; set; }
public string define1 { get; set; }
public string define2 { get; set; }
public string define3 { get; set; }
public string define4 { get; set; }
public string define5 { get; set; }
public string define6 { get; set; }
public string define7 { get; set; }
public string define8 { get; set; }
public string define9 { get; set; }
public string define10 { get; set; }
public string define11{ get; set; }
//public string define1 { get; set; }
//public string define2 { get; set; }
//public string define3 { get; set; }
//public string define4 { get; set; }
//public string define5 { get; set; }
//public string define6 { get; set; }
//public string define7 { get; set; }
//public string define8 { get; set; }
//public string define9 { get; set; }
//public string define10 { get; set; }
//public string define11{ get; set; }
public string define12 { get; set; }
public string define13 { get; set; }
public string define14 { get; set; }
public string define15 { get; set; }
public string define16 { get; set; }
public string memory { get; set; }
//public string define12 { get; set; }
//public string define13 { get; set; }
//public string define14 { get; set; }
//public string define15 { get; set; }
//public string define16 { get; set; }
//public string memory { get; set; }
// <code>CGQGD2132131</code>
//<date>2020-12-17</date>

View File

@@ -8,41 +8,33 @@ namespace U8AppMain.Purchase
{
public class ufinterface
{
//roottag="purchaseapp" billtype="" docid="123" receiver="u8" sender="003"
// proc="add" codeexchanged="N" exportneedexch="N" version="2.0"
[System.Xml.Serialization.XmlAttribute]
public string roottag { get; set; }
public string roottag { get; set; } = "purchaseapp";
[System.Xml.Serialization.XmlAttribute]
public string billtype { get; set; }
public string billtype { get; set; } = "";
[System.Xml.Serialization.XmlAttribute]
public string docid { get; set; }
public string docid { get; set; } = "123";
[System.Xml.Serialization.XmlAttribute]
public string receiver { get; set; }
public string receiver { get; set; } = "u8";
[System.Xml.Serialization.XmlAttribute]
public string sender { get; set; }
public string sender { get; set; } = "003";
[System.Xml.Serialization.XmlAttribute]
public string proc { get; set; }
public string proc { get; set; } = "add";
[System.Xml.Serialization.XmlAttribute]
public string codeexchanged { get; set; }
public string codeexchanged { get; set; } = "N";
[System.Xml.Serialization.XmlAttribute]
public string exportneedexch { get; set; }
public string exportneedexch { get; set; } = "N";
[System.Xml.Serialization.XmlAttribute]
public string version { get; set; }
public string version { get; set; } = "2.0";
//roottag="purchaseapp"
// billtype=""
// docid="123"
// receiver="u8"
// sender="003"
// proc="add"
// codeexchanged="N"
// exportneedexch="N"
// version="2.0"
public PurchaseEnity purchaseapp { get; set; } = new PurchaseEnity();
public PurchaseEnity purchaseapp { get; set; } = new PurchaseEnity();