Example #1
0
        public String updateSupplierFields(DOXAPI.TreeItemWithDocType SupplierBinder)
        {
            string debugStep = "k10-0";

            try
            {
                SupplierBinder.Title = SupplierName;
                debugStep            = "k10-1";
                DOXFields.SetField(SupplierBinder, "Suppliers name", SupplierName);
                debugStep = "k10-2";
                DOXFields.SetField(SupplierBinder, "Address", SupplierAddress);
                debugStep = "k10-3";
                DOXFields.SetField(SupplierBinder, "Purchasing person", SupplierContact);
                debugStep = "k10-4";
                DOXFields.SetField(SupplierBinder, "Phone no", SupplierPhone);
                debugStep = "k10-5";
                DOXFields.SetField(SupplierBinder, "Email address", SupplierEmail);
                debugStep = "k10-6";
                DOXFields.SetField(SupplierBinder, "Search key", SearchKey);
                debugStep = "k10-7";
                return("");
            }
            catch (Exception ex)
            {
                return(debugStep + " " + ex.Message);
            }
        }
Example #2
0
 public DOXAPI.Binder asIDBinder()
 {
     DOXAPI.Binder b = new DOXAPI.Binder();
     b.DocType   = flexClientBinderType;
     b.Fields    = new DOXAPI.Field[1];
     b.Fields[0] = DOXFields.newField("Customer ID", flexClientBinder_customerID, FullID);
     return(b);
 }
Example #3
0
 public DOXAPI.Binder asIDBinder()
 {
     DOXAPI.Binder b = new DOXAPI.Binder();
     b.DocType   = flexSupplierBinderType;
     b.Fields    = new DOXAPI.Field[1];
     b.Fields[0] = DOXFields.newField("Supplier No", flexSupplierBinder_supplierID, SupplierNo);
     return(b);
 }
Example #4
0
        public String updateCustomerFields(DOXAPI.TreeItemWithDocType customerBinder)
        {
            string debugStep = "k10-0";

            try
            {
                customerBinder.Title = ClientName;
                debugStep            = "k10-1";
                DOXFields.SetField(customerBinder, "Name", ClientName);
                debugStep = "k10-2";
                DOXFields.SetField(customerBinder, "Address", ClientAddress);
                debugStep = "k10-3";
                DOXFields.SetField(customerBinder, "Project Manager", ProjectManager);
                debugStep = "k10-4";
                DOXFields.SetField(customerBinder, "Controller", Controller);
                debugStep = "k10-5";
                return("");
            }
            catch (Exception ex)
            {
                return(debugStep + " " + ex.Message);
            }
        }