From 8ef6019c1d5cda7b81688f35da63f02227c91b31 Mon Sep 17 00:00:00 2001 From: yehongyang Date: Wed, 24 Nov 2021 17:35:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E8=9D=B6=E5=B7=A5=E5=85=B7=E7=B1=BB?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 7 +- utils/k3cloud.go | 22 +- utils/k3cloud/base/curl.go | 10 +- utils/k3cloud/service/cust.go | 49 + utils/k3cloud/service/voucher.go | 2 +- utils/k3cloud/struct/request/search.go | 11 + .../struct/response/responseToStruct.go | 6 + utils/k3cloud/table/cust.json | 3779 +++++++++++++++++ 8 files changed, 3875 insertions(+), 11 deletions(-) create mode 100644 utils/k3cloud/service/cust.go create mode 100644 utils/k3cloud/struct/request/search.go create mode 100644 utils/k3cloud/table/cust.json diff --git a/main.go b/main.go index 8e0bd5e..24fbb78 100644 --- a/main.go +++ b/main.go @@ -9,8 +9,6 @@ import ( "leit.com/LAPP_CHEERSSON_BACKEND/db" "leit.com/LAPP_CHEERSSON_BACKEND/infra/logger" "leit.com/LAPP_CHEERSSON_BACKEND/utils" - utilService "leit.com/LAPP_CHEERSSON_BACKEND/utils/k3cloud/service" - _struct "leit.com/LAPP_CHEERSSON_BACKEND/utils/k3cloud/struct" "leit.com/LAPP_CHEERSSON_BACKEND/web/middleware/glog" "leit.com/LAPP_CHEERSSON_BACKEND/web/routes" "log" @@ -115,10 +113,9 @@ func imain() { //加载配置 conf.AppOtherParse() //加载金蝶云系统 - utils.K3configInit() + //utils.K3configInit() //测试 - var root11 _struct.Root - utilService.VoucherInit().GetVoucher(root11) + //utilService.CustInit().Search("FName,FNumber", "", "") app := iris.New() //注册中间件 //conf.PreSettring(app) diff --git a/utils/k3cloud.go b/utils/k3cloud.go index 893c2a3..8568ff0 100644 --- a/utils/k3cloud.go +++ b/utils/k3cloud.go @@ -41,7 +41,7 @@ K3cloud 登录 */ func (k3config *K3config) Login() { formParams := util.CreateLoginPostData(k3config.AcctID, k3config.Username, k3config.Password, k3config.LcID) - res := k3config.session.PostJson(k3config.CloudUrl+util.LOGIN_API, formParams) + res, _ := k3config.session.PostJson(k3config.CloudUrl+util.LOGIN_API, formParams) k3Response := response.K3LoginResponseToStruct(res) if k3Response.LoginResultType == 0 { panic(k3Response.Message) @@ -49,8 +49,26 @@ func (k3config *K3config) Login() { } /** +查询数据 +*/ +func (K3config *K3config) SearchApi(formId string, search interface{}) ([][]string, error) { + //root.Model + formParams := util.CreateBusinessPostData(formId, util.Struct2Map(search)) + res, err := K3config.GetSession().PostJson(K3config.CloudUrl+util.GETBILL_API, formParams) + if err != nil { + return nil, err + } + return response.K3ResponseToMap(res), nil + //K3config.K3Response = response.K3ResponseToStruct(res) + //if K3config.K3Response.Result.ResponseStatus.IsSuccess == false { + // return fmt.Errorf(string(res)) + //} + //return nil +} - */ +/** +返回session +*/ func (k3config *K3config) GetSession() *util.Browser { return k3config.session } diff --git a/utils/k3cloud/base/curl.go b/utils/k3cloud/base/curl.go index 62c4848..bb12ad6 100644 --- a/utils/k3cloud/base/curl.go +++ b/utils/k3cloud/base/curl.go @@ -85,21 +85,24 @@ func (self *Browser) Post(requestUrl string, params map[string]string) []byte { } //发送PostJson请求 -func (self *Browser) PostJson(requestUrl string, params map[string]interface{}) []byte { +func (self *Browser) PostJson(requestUrl string, params map[string]interface{}) ([]byte, error) { postData := self.jsonParams(params) + fmt.Println(postData) request, _ := http.NewRequest("POST", requestUrl, strings.NewReader(postData)) request.Header.Set("Content-Type", "application/json") self.setRequestCookie(request) response, err := self.client.Do(request) - fmt.Println(err) + if err != nil { + return []byte{}, err + } defer response.Body.Close() //保存响应的 cookie respCks := response.Cookies() self.cookies = append(self.cookies, respCks...) data, _ := ioutil.ReadAll(response.Body) - return data + return data, nil } //为请求设置 cookie @@ -120,6 +123,7 @@ func (self *Browser) encodeParams(params map[string]string) string { //参数 json func (self *Browser) jsonParams(params map[string]interface{}) string { + j, _ := json.Marshal(params) return string(j) } diff --git a/utils/k3cloud/service/cust.go b/utils/k3cloud/service/cust.go new file mode 100644 index 0000000..ff66783 --- /dev/null +++ b/utils/k3cloud/service/cust.go @@ -0,0 +1,49 @@ +package service + +import ( + "leit.com/LAPP_CHEERSSON_BACKEND/utils" + utils2 "leit.com/LAPP_CHEERSSON_BACKEND/utils" + request2 "leit.com/LAPP_CHEERSSON_BACKEND/utils/k3cloud/struct/request" +) + +type CustService struct { + *utils.K3config + FormID string +} + +func CustInit() *CustService { + cust := &CustService{ + K3config: utils2.K3Obj, + FormID: "CRM_CUST", + } + return cust +} + +func (_this *CustService) Search(FieldKeys, FilterString, OrderString string) [][]string { + var data [][]string + request := request2.SearchRequest{ + Formid: _this.FormID, + FieldKeys: FieldKeys, + FilterString: FilterString, + OrderString: OrderString, + TopRowCount: 0, + StartRow: 0, + Limit: 1000, + } + + for true { + response, err := _this.SearchApi(_this.FormID, request) + if err != nil { + return data + } + for _, v := range response { + data = append(data, v) + } + if len(response) == request.Limit { + request.StartRow = request.StartRow + request.Limit + } else { + break + } + } + return data +} diff --git a/utils/k3cloud/service/voucher.go b/utils/k3cloud/service/voucher.go index d4b8dac..a6d912a 100644 --- a/utils/k3cloud/service/voucher.go +++ b/utils/k3cloud/service/voucher.go @@ -25,7 +25,7 @@ func (_this *VoucherService) GetVoucher(root _struct.Root) *VoucherService { //root.Model formParams := util.CreateBusinessPostData("GL_VOUCHER", util.Struct2Map(root)) - res := _this.GetSession().PostJson(_this.CloudUrl+util.SAVE_API, formParams) + res, _ := _this.GetSession().PostJson(_this.CloudUrl+util.SAVE_API, formParams) _this.K3Response = response.K3ResponseToStruct(res) if _this.K3Response.Result.ResponseStatus.IsSuccess == false { panic(_this.K3Response.Result.ResponseStatus.Errors) diff --git a/utils/k3cloud/struct/request/search.go b/utils/k3cloud/struct/request/search.go new file mode 100644 index 0000000..f9493d2 --- /dev/null +++ b/utils/k3cloud/struct/request/search.go @@ -0,0 +1,11 @@ +package request + +type SearchRequest struct { + Formid string `json:"formid"` + FieldKeys string `json:"FieldKeys"` + FilterString string `json:"FilterString"` + OrderString string `json:"OrderString"` + TopRowCount int `json:"TopRowCount"` + StartRow int `json:"StartRow"` + Limit int `json:"Limit"` +} diff --git a/utils/k3cloud/struct/response/responseToStruct.go b/utils/k3cloud/struct/response/responseToStruct.go index cc8b940..7933087 100644 --- a/utils/k3cloud/struct/response/responseToStruct.go +++ b/utils/k3cloud/struct/response/responseToStruct.go @@ -60,3 +60,9 @@ func K3ResponseToStruct(data []byte) K3ResponseStruct { _ = json.Unmarshal(data, &response) return response } + +func K3ResponseToMap(data []byte) [][]string { + var response [][]string + _ = json.Unmarshal(data, &response) + return response +} diff --git a/utils/k3cloud/table/cust.json b/utils/k3cloud/table/cust.json new file mode 100644 index 0000000..2607f04 --- /dev/null +++ b/utils/k3cloud/table/cust.json @@ -0,0 +1,3779 @@ +{ + "Result":{ + "ResponseStatus":{ + "IsSuccess":true, + "Errors":[ + + ], + "SuccessEntitys":[ + + ], + "SuccessMessages":[ + + ], + "MsgCode":0 + }, + "NeedReturnData":{ + "Id":"CRM_CUST", + "Name":[ + { + "Key":2052, + "Value":"CRM客户" + }, + { + "Key":1033, + "Value":"CRM Customer" + }, + { + "Key":3076, + "Value":"CRM客戶" + } + ], + "Entrys":[ + { + "Id":"46866362-be63-4f26-9447-555b4f3d5f32", + "Key":"FBillHead", + "Name":[ + { + "Key":2052, + "Value":"基本信息" + }, + { + "Key":1033, + "Value":"Basic Info" + }, + { + "Key":3076, + "Value":"基本信息" + } + ], + "TableName":"T_BD_CUSTOMER", + "ParentKey":null, + "EntryName":"CRM_CUST", + "EntryPkFieldName":"FCUSTID", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FDocumentStatus", + "Name":[ + { + "Key":2052, + "Value":"单据状态" + }, + { + "Key":1033, + "Value":"Doc Status" + }, + { + "Key":3076, + "Value":"單據狀態" + } + ], + "FieldName":"FDOCUMENTSTATUS", + "PropertyName":"DocumentStatus", + "FieldType":167, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":40, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":[ + { + "Value":"Z", + "Caption":"暂存", + "Seq":0, + "Invalid":false + }, + { + "Value":"A", + "Caption":"创建", + "Seq":2, + "Invalid":false + }, + { + "Value":"B", + "Caption":"审核中", + "Seq":3, + "Invalid":false + }, + { + "Value":"C", + "Caption":"已审核", + "Seq":4, + "Invalid":false + }, + { + "Value":"D", + "Caption":"重新审核", + "Seq":5, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FForbidStatus", + "Name":[ + { + "Key":2052, + "Value":"禁用状态" + }, + { + "Key":1033, + "Value":"Disabling Status" + }, + { + "Key":3076, + "Value":"禁用狀態" + } + ], + "FieldName":"FFORBIDSTATUS", + "PropertyName":"ForbidStatus", + "FieldType":167, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":40, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":[ + { + "Value":"A", + "Caption":"否", + "Seq":1, + "Invalid":false + }, + { + "Value":"B", + "Caption":"是", + "Seq":2, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FName", + "Name":[ + { + "Key":2052, + "Value":"客户名称" + }, + { + "Key":1033, + "Value":"Customer Name" + }, + { + "Key":3076, + "Value":"客戶名稱" + } + ], + "FieldName":"FNAME", + "PropertyName":"Name", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":36, + "MustInput":1, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FNumber", + "Name":[ + { + "Key":2052, + "Value":"客户编码" + }, + { + "Key":1033, + "Value":"Customer Code" + }, + { + "Key":3076, + "Value":"客戶編碼" + } + ], + "FieldName":"FNUMBER", + "PropertyName":"Number", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDescription", + "Name":[ + { + "Key":2052, + "Value":"备注" + }, + { + "Key":1033, + "Value":"Remarks" + }, + { + "Key":3076, + "Value":"備注" + } + ], + "FieldName":"FDESCRIPTION", + "PropertyName":"Description", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":36, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCreateOrgId", + "Name":[ + { + "Key":2052, + "Value":"创建组织" + }, + { + "Key":1033, + "Value":"Creation Org." + }, + { + "Key":3076, + "Value":"創建組織" + } + ], + "FieldName":"FCREATEORGID", + "PropertyName":"CreateOrgId", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":7, + "MustInput":1, + "LookUpObjectFormId":"ORG_Organizations", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FUseOrgId", + "Name":[ + { + "Key":2052, + "Value":"使用组织" + }, + { + "Key":1033, + "Value":"Use Org." + }, + { + "Key":3076, + "Value":"使用組織" + } + ], + "FieldName":"FUSEORGID", + "PropertyName":"UseOrgId", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":7, + "MustInput":0, + "LookUpObjectFormId":"ORG_Organizations", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCreatorId", + "Name":[ + { + "Key":2052, + "Value":"创建人" + }, + { + "Key":1033, + "Value":"Created by" + }, + { + "Key":3076, + "Value":"創建人" + } + ], + "FieldName":"FCREATORID", + "PropertyName":"CreatorId", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":17, + "MustInput":0, + "LookUpObjectFormId":"SEC_User", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FModifierId", + "Name":[ + { + "Key":2052, + "Value":"修改人" + }, + { + "Key":1033, + "Value":"Edited by" + }, + { + "Key":3076, + "Value":"修改人" + } + ], + "FieldName":"FMODIFIERID", + "PropertyName":"ModifierId", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":27, + "MustInput":0, + "LookUpObjectFormId":"SEC_User", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCreateDate", + "Name":[ + { + "Key":2052, + "Value":"创建日期" + }, + { + "Key":1033, + "Value":"Created on" + }, + { + "Key":3076, + "Value":"創建日期" + } + ], + "FieldName":"FCREATEDATE", + "PropertyName":"CreateDate", + "FieldType":61, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":26, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FModifyDate", + "Name":[ + { + "Key":2052, + "Value":"修改日期" + }, + { + "Key":1033, + "Value":"Edited on" + }, + { + "Key":3076, + "Value":"修改日期" + } + ], + "FieldName":"FMODIFYDATE", + "PropertyName":"FModifyDate", + "FieldType":61, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":28, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FShortName", + "Name":[ + { + "Key":2052, + "Value":"简称" + }, + { + "Key":1033, + "Value":"Short Name" + }, + { + "Key":3076, + "Value":"簡稱" + } + ], + "FieldName":"FSHORTNAME", + "PropertyName":"ShortName", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":36, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCOUNTRY", + "Name":[ + { + "Key":2052, + "Value":"国家" + }, + { + "Key":1033, + "Value":"Country" + }, + { + "Key":3076, + "Value":"國家" + } + ], + "FieldName":"FCOUNTRY", + "PropertyName":"COUNTRY", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FPROVINCIAL", + "Name":[ + { + "Key":2052, + "Value":"地区" + }, + { + "Key":1033, + "Value":"Region" + }, + { + "Key":3076, + "Value":"地區" + } + ], + "FieldName":"FPROVINCIAL", + "PropertyName":"PROVINCIAL", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FZIP", + "Name":[ + { + "Key":2052, + "Value":"邮政编码" + }, + { + "Key":1033, + "Value":"Postal Code" + }, + { + "Key":3076, + "Value":"郵政編碼" + } + ], + "FieldName":"FZIP", + "PropertyName":"FZIP", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTEL", + "Name":[ + { + "Key":2052, + "Value":"联系电话" + }, + { + "Key":1033, + "Value":"Tel." + }, + { + "Key":3076, + "Value":"聯系電話" + } + ], + "FieldName":"FTEL", + "PropertyName":"TEL", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTAXREGISTERCODE", + "Name":[ + { + "Key":2052, + "Value":"纳税登记号" + }, + { + "Key":1033, + "Value":"Tax Registration No." + }, + { + "Key":3076, + "Value":"納稅登記號" + } + ], + "FieldName":"FTAXREGISTERCODE", + "PropertyName":"FTAXREGISTERCODE", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFAX", + "Name":[ + { + "Key":2052, + "Value":"传真" + }, + { + "Key":1033, + "Value":"Fax" + }, + { + "Key":3076, + "Value":"傳真" + } + ], + "FieldName":"FFAX", + "PropertyName":"FAX", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FGROUPCUSTID", + "Name":[ + { + "Key":2052, + "Value":"对应集团客户" + }, + { + "Key":1033, + "Value":"Corresponding Group Customer" + }, + { + "Key":3076, + "Value":"對應集團客戶" + } + ], + "FieldName":"FGROUPCUSTID", + "PropertyName":"FGROUPCUSTID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Customer", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSUPPLIERID", + "Name":[ + { + "Key":2052, + "Value":"对应供应商" + }, + { + "Key":1033, + "Value":"Corresponding Supplier" + }, + { + "Key":3076, + "Value":"對應供應商" + } + ], + "FieldName":"FSUPPLIERID", + "PropertyName":"FSUPPLIERID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Supplier", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTRADINGCURRID", + "Name":[ + { + "Key":2052, + "Value":"结算币别" + }, + { + "Key":1033, + "Value":"Settlement Currency" + }, + { + "Key":3076, + "Value":"結算幣別" + } + ], + "FieldName":"FTRADINGCURRID", + "PropertyName":"TRADINGCURRID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":1, + "LookUpObjectFormId":"BD_Currency", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSALDEPTID", + "Name":[ + { + "Key":2052, + "Value":"销售部门" + }, + { + "Key":1033, + "Value":"Sales Dept" + }, + { + "Key":3076, + "Value":"銷售部門" + } + ], + "FieldName":"FSALDEPTID", + "PropertyName":"SALDEPTID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Department", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSALGROUPID", + "Name":[ + { + "Key":2052, + "Value":"销售组" + }, + { + "Key":1033, + "Value":"Sales Group" + }, + { + "Key":3076, + "Value":"銷售組" + } + ], + "FieldName":"FSALGROUPID", + "PropertyName":"SALGROUPID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_OperatorGroup", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSELLER", + "Name":[ + { + "Key":2052, + "Value":"销售员" + }, + { + "Key":1033, + "Value":"Seller" + }, + { + "Key":3076, + "Value":"銷售員" + } + ], + "FieldName":"FSELLER", + "PropertyName":"SELLER", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Saler", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTRANSLEADTIME", + "Name":[ + { + "Key":2052, + "Value":"运输提前期" + }, + { + "Key":1033, + "Value":"Transportation Lead Time" + }, + { + "Key":3076, + "Value":"運輸提前期" + } + ], + "FieldName":"FTRANSLEADTIME", + "PropertyName":"TRANSLEADTIME", + "FieldType":56, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":3, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FPRICELISTID", + "Name":[ + { + "Key":2052, + "Value":"价目表" + }, + { + "Key":1033, + "Value":"Price Item" + }, + { + "Key":3076, + "Value":"價目表" + } + ], + "FieldName":"FPRICELISTID", + "PropertyName":"PRICELISTID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_SAL_PriceList", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDISCOUNTLISTID", + "Name":[ + { + "Key":2052, + "Value":"折扣表" + }, + { + "Key":1033, + "Value":"Discount List" + }, + { + "Key":3076, + "Value":"折扣表" + } + ], + "FieldName":"FDISCOUNTLISTID", + "PropertyName":"DISCOUNTLISTID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_SAL_DiscountList", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSETTLETYPEID", + "Name":[ + { + "Key":2052, + "Value":"结算方式" + }, + { + "Key":1033, + "Value":"Settlement Method" + }, + { + "Key":3076, + "Value":"結算方式" + } + ], + "FieldName":"FSETTLETYPEID", + "PropertyName":"SETTLETYPEID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_SETTLETYPE", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FRECEIVECURRID", + "Name":[ + { + "Key":2052, + "Value":"收款币别" + }, + { + "Key":1033, + "Value":"Collection Currency" + }, + { + "Key":3076, + "Value":"收款幣別" + } + ], + "FieldName":"FRECEIVECURRID", + "PropertyName":"RECEIVECURRID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Currency", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FRECCONDITIONID", + "Name":[ + { + "Key":2052, + "Value":"收款条件" + }, + { + "Key":1033, + "Value":"Collection Terms" + }, + { + "Key":3076, + "Value":"收款條件" + } + ], + "FieldName":"FRECCONDITIONID", + "PropertyName":"RECCONDITIONID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_RecCondition", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FISCREDITCHECK", + "Name":[ + { + "Key":2052, + "Value":"启用信用管理" + }, + { + "Key":1033, + "Value":"Enable Credit Management" + }, + { + "Key":3076, + "Value":"啟用信用管理" + } + ], + "FieldName":"FISCREDITCHECK", + "PropertyName":"FISCREDITCHECK", + "FieldType":175, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FAPPROVERID", + "Name":[ + { + "Key":2052, + "Value":"审核人" + }, + { + "Key":1033, + "Value":"Approved by" + }, + { + "Key":3076, + "Value":"審核人" + } + ], + "FieldName":"FAPPROVERID", + "PropertyName":"APPROVERID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":18, + "MustInput":0, + "LookUpObjectFormId":"SEC_User", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FAPPROVEDATE", + "Name":[ + { + "Key":2052, + "Value":"审核日期" + }, + { + "Key":1033, + "Value":"Approved on" + }, + { + "Key":3076, + "Value":"審核日期" + } + ], + "FieldName":"FAPPROVEDATE", + "PropertyName":"APPROVEDATE", + "FieldType":61, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":4, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFORBIDDERID", + "Name":[ + { + "Key":2052, + "Value":"禁用人" + }, + { + "Key":1033, + "Value":"Disabled by" + }, + { + "Key":3076, + "Value":"禁用人" + } + ], + "FieldName":"FFORBIDDERID", + "PropertyName":"FORBIDDERID", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":18, + "MustInput":0, + "LookUpObjectFormId":"SEC_User", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFORBIDDATE", + "Name":[ + { + "Key":2052, + "Value":"禁用日期" + }, + { + "Key":1033, + "Value":"Disabled on" + }, + { + "Key":3076, + "Value":"禁用日期" + } + ], + "FieldName":"FFORBIDDATE", + "PropertyName":"FORBIDDATE", + "FieldType":61, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":4, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTaxType", + "Name":[ + { + "Key":2052, + "Value":"税分类" + }, + { + "Key":1033, + "Value":"Tax Type" + }, + { + "Key":3076, + "Value":"稅分類" + } + ], + "FieldName":"FTAXTYPE", + "PropertyName":"TaxType", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCustTypeId", + "Name":[ + { + "Key":2052, + "Value":"客户类别" + }, + { + "Key":1033, + "Value":"Customer Category" + }, + { + "Key":3076, + "Value":"客戶類別" + } + ], + "FieldName":"FCUSTTYPEID", + "PropertyName":"CustTypeId", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FADDRESS", + "Name":[ + { + "Key":2052, + "Value":"通讯地址" + }, + { + "Key":1033, + "Value":"Address" + }, + { + "Key":3076, + "Value":"通訊地址" + } + ], + "FieldName":"FADDRESS", + "PropertyName":"ADDRESS", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":6, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FWEBSITE", + "Name":[ + { + "Key":2052, + "Value":"公司网址" + }, + { + "Key":1033, + "Value":"Website" + }, + { + "Key":3076, + "Value":"公司網址" + } + ], + "FieldName":"FWEBSITE", + "PropertyName":"WEBSITE", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":6, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FGroup", + "Name":[ + { + "Key":2052, + "Value":"客户分组" + }, + { + "Key":1033, + "Value":"Customer Group" + }, + { + "Key":3076, + "Value":"客戶分組" + } + ], + "FieldName":"FPRIMARYGROUP", + "PropertyName":"FGroup", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":33, + "MustInput":0, + "LookUpObjectFormId":"BOS_FORMGROUP", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":"T_BD_CUSTOMERGROUP" + }, + { + "Key":"FCompanyScale", + "Name":[ + { + "Key":2052, + "Value":"公司规模" + }, + { + "Key":1033, + "Value":"Company Size" + }, + { + "Key":3076, + "Value":"公司規模" + } + ], + "FieldName":"FCOMPANYSCALE", + "PropertyName":"CompanyScale", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCompanyClassify", + "Name":[ + { + "Key":2052, + "Value":"公司类别" + }, + { + "Key":1033, + "Value":"Company Type" + }, + { + "Key":3076, + "Value":"公司類別" + } + ], + "FieldName":"FCOMPANYCLASSIFY", + "PropertyName":"CompanyType", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCompanyNature", + "Name":[ + { + "Key":2052, + "Value":"公司性质" + }, + { + "Key":1033, + "Value":"Company Nature" + }, + { + "Key":3076, + "Value":"公司性質" + } + ], + "FieldName":"FCOMPANYNATURE", + "PropertyName":"CompanyNature", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCorrespondOrgId", + "Name":[ + { + "Key":2052, + "Value":"对应组织" + }, + { + "Key":1033, + "Value":"Corresponding Org." + }, + { + "Key":3076, + "Value":"對應組織" + } + ], + "FieldName":"FCORRESPONDORGID", + "PropertyName":"CorrespondOrgId", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":7, + "MustInput":0, + "LookUpObjectFormId":"ORG_Organizations", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FPriority", + "Name":[ + { + "Key":2052, + "Value":"客户优先级" + }, + { + "Key":1033, + "Value":"Customer Priority" + }, + { + "Key":3076, + "Value":"客戶優先級" + } + ], + "FieldName":"FPRIORITY", + "PropertyName":"Priority", + "FieldType":56, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":3, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FInvoiceType", + "Name":[ + { + "Key":2052, + "Value":"发票类型" + }, + { + "Key":1033, + "Value":"Invoice Type" + }, + { + "Key":3076, + "Value":"發票類型" + } + ], + "FieldName":"FINVOICETYPE", + "PropertyName":"InvoiceType", + "FieldType":167, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":9, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":"cbfd9dd7-3a67-45b1-83e3-7dbbe14317ab", + "Extends":[ + { + "Value":"1", + "Caption":"增值税专用发票", + "Seq":0, + "Invalid":false + }, + { + "Value":"2", + "Caption":"普通发票", + "Seq":1, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTaxRate", + "Name":[ + { + "Key":2052, + "Value":"默认税率" + }, + { + "Key":1033, + "Value":"Default Tax Rate" + }, + { + "Key":3076, + "Value":"默認稅率" + } + ], + "FieldName":"FTAXRATE", + "PropertyName":"TaxRate", + "FieldType":127, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_TaxRate", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsDefPayer", + "Name":[ + { + "Key":2052, + "Value":"默认付款方" + }, + { + "Key":1033, + "Value":"Default Payer" + }, + { + "Key":3076, + "Value":"默認付款方" + } + ], + "FieldName":"FISDEFPAYER", + "PropertyName":"IsDefPayer", + "FieldType":175, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCPAdminCode", + "Name":[ + { + "Key":2052, + "Value":"订货平台管理员" + }, + { + "Key":1033, + "Value":"Ordering Platform Administrator" + }, + { + "Key":3076, + "Value":"訂貨平台管理員" + } + ], + "FieldName":"FCPADMINCODE", + "PropertyName":"CPAdminCode", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsGroup", + "Name":[ + { + "Key":2052, + "Value":"集团客户" + }, + { + "Key":1033, + "Value":"Group Customer" + }, + { + "Key":3076, + "Value":"集團客戶" + } + ], + "FieldName":"FISGROUP", + "PropertyName":"IsGroup", + "FieldType":175, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FINVOICETITLE", + "Name":[ + { + "Key":2052, + "Value":"发票抬头" + } + ], + "FieldName":"FINVOICETITLE", + "PropertyName":"INVOICETITLE", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER_F", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FINVOICEBANKNAME", + "Name":[ + { + "Key":2052, + "Value":"开户银行" + } + ], + "FieldName":"FINVOICEBANKNAME", + "PropertyName":"INVOICEBANKNAME", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER_F", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FINVOICEBANKACCOUNT", + "Name":[ + { + "Key":2052, + "Value":"银行账号" + } + ], + "FieldName":"FINVOICEBANKACCOUNT", + "PropertyName":"INVOICEBANKACCOUNT", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER_F", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FINVOICETEL", + "Name":[ + { + "Key":2052, + "Value":"开票联系电话" + } + ], + "FieldName":"FINVOICETEL", + "PropertyName":"INVOICETEL", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER_F", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FINVOICEADDRESS", + "Name":[ + { + "Key":2052, + "Value":"开票通讯地址" + } + ], + "FieldName":"FINVOICEADDRESS", + "PropertyName":"INVOICEADDRESS", + "FieldType":231, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":6, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsTrade", + "Name":[ + { + "Key":2052, + "Value":"是否交易客户" + }, + { + "Key":1033, + "Value":"Transaction Customer" + }, + { + "Key":3076, + "Value":"是否交易客戶" + } + ], + "FieldName":"FISTRADE", + "PropertyName":"IsTrade", + "FieldType":175, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FUncheckExpectQty", + "Name":[ + { + "Key":2052, + "Value":"不校验可发量" + } + ], + "FieldName":"FUNCHECKEXPECTQTY", + "PropertyName":"UncheckExpectQty", + "FieldType":175, + "EntityKey":"FBillHead", + "TableName":"T_BD_CUSTOMER", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"HeadEntity", + "SeqFieldKey":null + }, + { + "Id":"d1325184-7591-430d-a83d-f31cc9e7f631", + "Key":"FT_BD_CUSTBANK", + "Name":[ + { + "Key":2052, + "Value":"银行信息" + }, + { + "Key":1033, + "Value":"Bank Info" + }, + { + "Key":3076, + "Value":"銀行信息" + } + ], + "TableName":"T_BD_CUSTBANK", + "ParentKey":null, + "EntryName":"BD_CUSTBANK", + "EntryPkFieldName":"FENTRYID", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FBANKCODE", + "Name":[ + { + "Key":2052, + "Value":"银行账号" + }, + { + "Key":1033, + "Value":"Bank Account" + }, + { + "Key":3076, + "Value":"銀行賬號" + } + ], + "FieldName":"FBANKCODE", + "PropertyName":"BANKCODE", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCURRENCYID", + "Name":[ + { + "Key":2052, + "Value":"币别" + }, + { + "Key":1033, + "Value":"Currency" + }, + { + "Key":3076, + "Value":"幣別" + } + ], + "FieldName":"FCURRENCYID", + "PropertyName":"CURRENCYID", + "FieldType":127, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Currency", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FACCOUNTNAME", + "Name":[ + { + "Key":2052, + "Value":"账户名称" + }, + { + "Key":1033, + "Value":"Account Name" + }, + { + "Key":3076, + "Value":"賬戶名稱" + } + ], + "FieldName":"FACCOUNTNAME", + "PropertyName":"ACCOUNTNAME", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FISDEFAULT1", + "Name":[ + { + "Key":2052, + "Value":"默认" + }, + { + "Key":1033, + "Value":"Default" + }, + { + "Key":3076, + "Value":"默認" + } + ], + "FieldName":"FISDEFAULT", + "PropertyName":"ISDEFAULT", + "FieldType":175, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCOUNTRY1", + "Name":[ + { + "Key":2052, + "Value":"开户国家" + }, + { + "Key":1033, + "Value":"Account Opening Country/Region" + }, + { + "Key":3076, + "Value":"開戶國家" + } + ], + "FieldName":"FCOUNTRY", + "PropertyName":"COUNTRY", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FOPENBANKNAME", + "Name":[ + { + "Key":2052, + "Value":"开户银行" + }, + { + "Key":1033, + "Value":"Opening Bank" + }, + { + "Key":3076, + "Value":"開戶銀行" + } + ], + "FieldName":"FOPENBANKNAME", + "PropertyName":"OPENBANKNAME", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":36, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FBankTypeRec", + "Name":[ + { + "Key":2052, + "Value":"收款银行" + }, + { + "Key":1033, + "Value":"Collection Bank" + }, + { + "Key":3076, + "Value":"收款銀行" + } + ], + "FieldName":"FBANKTYPEREC", + "PropertyName":"BankTypeRec", + "FieldType":127, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"WB_BankType", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FOpenAddressRec", + "Name":[ + { + "Key":2052, + "Value":"开户行地址" + }, + { + "Key":1033, + "Value":"Opening Bank Address" + }, + { + "Key":3076, + "Value":"開戶行地址" + } + ], + "FieldName":"FOPENADDRESSREC", + "PropertyName":"OpenAddressRec", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCNAPS", + "Name":[ + { + "Key":2052, + "Value":"联行号" + }, + { + "Key":1033, + "Value":"Inter-bank Code" + }, + { + "Key":3076, + "Value":"聯行號" + } + ], + "FieldName":"FCNAPS", + "PropertyName":"CNAPS", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTextBankDetail", + "Name":[ + { + "Key":2052, + "Value":"网点名称" + }, + { + "Key":1033, + "Value":"Select Branch Bank" + }, + { + "Key":3076, + "Value":"選擇銀行網點" + } + ], + "FieldName":"FTEXTBANKDETAIL", + "PropertyName":"FTextBankDetail", + "FieldType":231, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FBankDetail", + "Name":[ + { + "Key":2052, + "Value":"银行网点" + } + ], + "FieldName":"FBANKDETAIL", + "PropertyName":"BankDetail", + "FieldType":127, + "EntityKey":"FT_BD_CUSTBANK", + "TableName":"T_BD_CUSTBANK", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"WB_BankDetail", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"EntryEntity", + "SeqFieldKey":null + }, + { + "Id":"31abd7d7-a311-4779-bb7e-56d9572e4209", + "Key":"FT_BD_CUSTCONTACT", + "Name":[ + { + "Key":2052, + "Value":"地址信息" + }, + { + "Key":1033, + "Value":"Add. Info" + }, + { + "Key":3076, + "Value":"地址信息" + } + ], + "TableName":"T_BD_CUSTLOCATION", + "ParentKey":null, + "EntryName":"BD_CUSTCONTACT", + "EntryPkFieldName":"FENTRYID", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FNUMBER1", + "Name":[ + { + "Key":2052, + "Value":"地点编码" + }, + { + "Key":1033, + "Value":"Location Code" + }, + { + "Key":3076, + "Value":"地點編碼" + } + ], + "FieldName":"FNUMBER", + "PropertyName":"NUMBER", + "FieldType":231, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FNAME1", + "Name":[ + { + "Key":2052, + "Value":"地点名称" + }, + { + "Key":1033, + "Value":"Location Name" + }, + { + "Key":3076, + "Value":"地點名稱" + } + ], + "FieldName":"FNAME", + "PropertyName":"NAME", + "FieldType":231, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FADDRESS1", + "Name":[ + { + "Key":2052, + "Value":"详细地址" + }, + { + "Key":1033, + "Value":"Full Add." + }, + { + "Key":3076, + "Value":"詳細地址" + } + ], + "FieldName":"FADDRESS", + "PropertyName":"ADDRESS", + "FieldType":231, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTRANSLEADTIME1", + "Name":[ + { + "Key":2052, + "Value":"运输提前期" + }, + { + "Key":1033, + "Value":"Transportation Lead Time" + }, + { + "Key":3076, + "Value":"運輸提前期" + } + ], + "FieldName":"FTRANSLEADTIME", + "PropertyName":"TRANSLEADTIME", + "FieldType":56, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":3, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTAXRATE1", + "Name":[ + { + "Key":2052, + "Value":"税率" + }, + { + "Key":1033, + "Value":"Tax Rate" + }, + { + "Key":3076, + "Value":"稅率" + } + ], + "FieldName":"FTAXRATE", + "PropertyName":"TAXRATE", + "FieldType":106, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":2, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsDefaultConsignee", + "Name":[ + { + "Key":2052, + "Value":"默认收货地址" + }, + { + "Key":1033, + "Value":"Default Receiver Address" + }, + { + "Key":3076, + "Value":"默認收貨地址" + } + ], + "FieldName":"FISDEFAULTCONSIGNEE", + "PropertyName":"IsDefaultConsignee", + "FieldType":175, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsDefaultSettle", + "Name":[ + { + "Key":2052, + "Value":"默认开票地址" + }, + { + "Key":1033, + "Value":"Default Billing Address" + }, + { + "Key":3076, + "Value":"默認開票地址" + } + ], + "FieldName":"FISDEFAULTSETTLE", + "PropertyName":"IsDefaultSettle", + "FieldType":175, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsDefaultPayer", + "Name":[ + { + "Key":2052, + "Value":"默认付款地址" + }, + { + "Key":1033, + "Value":"Default Payer Address" + }, + { + "Key":3076, + "Value":"默認付款地址" + } + ], + "FieldName":"FISDEFAULTPAYER", + "PropertyName":"IsDefaultPayer", + "FieldType":175, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTTel", + "Name":[ + { + "Key":2052, + "Value":"固定电话" + }, + { + "Key":1033, + "Value":"Tel." + }, + { + "Key":3076, + "Value":"固定電話" + } + ], + "FieldName":"FTEL", + "PropertyName":"TTel", + "FieldType":231, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FEMail", + "Name":[ + { + "Key":2052, + "Value":"电子邮箱" + }, + { + "Key":1033, + "Value":"E-Mail" + }, + { + "Key":3076, + "Value":"電子郵箱" + } + ], + "FieldName":"FEMAIL", + "PropertyName":"EMail", + "FieldType":231, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsUsed", + "Name":[ + { + "Key":2052, + "Value":"启用" + }, + { + "Key":1033, + "Value":"Activate" + }, + { + "Key":3076, + "Value":"啟用" + } + ], + "FieldName":"FISUSED", + "PropertyName":"IsUsed", + "FieldType":175, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FTContact", + "Name":[ + { + "Key":2052, + "Value":"联系人" + }, + { + "Key":1033, + "Value":"Contact" + }, + { + "Key":3076, + "Value":"聯系人" + } + ], + "FieldName":"FTCONTACT", + "PropertyName":"TContact", + "FieldType":127, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_CustContact", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FMOBILE", + "Name":[ + { + "Key":2052, + "Value":"移动电话" + }, + { + "Key":1033, + "Value":"Mobile" + }, + { + "Key":3076, + "Value":"移動電話" + } + ], + "FieldName":"FMOBILE", + "PropertyName":"MOBILE", + "FieldType":231, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FLocationStatus", + "Name":[ + { + "Key":2052, + "Value":"地址禁用状态" + } + ], + "FieldName":"FLOCATIONSTATUS", + "PropertyName":"FLocationStatus", + "FieldType":175, + "EntityKey":"FT_BD_CUSTCONTACT", + "TableName":"T_BD_CUSTLOCATION", + "ElementType":40, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":[ + { + "Value":"A", + "Caption":"否", + "Seq":0, + "Invalid":false + }, + { + "Value":"B", + "Caption":"是", + "Seq":0, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"EntryEntity", + "SeqFieldKey":null + }, + { + "Id":"0d2ec69a-2c9a-49c8-b4f1-e6e157ff32a4", + "Key":"FT_BD_CUSTORDERORG", + "Name":[ + { + "Key":2052, + "Value":"订货组织" + }, + { + "Key":1033, + "Value":"Ordering Org." + }, + { + "Key":3076, + "Value":"訂貨組織" + } + ], + "TableName":"T_BD_CUSTORDERORG", + "ParentKey":null, + "EntryName":"BD_CUSTORDERORG", + "EntryPkFieldName":"FEntryID", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FOrderOrgId", + "Name":[ + { + "Key":2052, + "Value":"订货组织" + }, + { + "Key":1033, + "Value":"Ordering Org." + }, + { + "Key":3076, + "Value":"訂貨組織" + } + ], + "FieldName":"FORDERORGID", + "PropertyName":"OrderOrgId", + "FieldType":127, + "EntityKey":"FT_BD_CUSTORDERORG", + "TableName":"T_BD_CUSTORDERORG", + "ElementType":7, + "MustInput":0, + "LookUpObjectFormId":"ORG_Organizations", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FIsDefaultOrderOrg", + "Name":[ + { + "Key":2052, + "Value":"默认" + }, + { + "Key":1033, + "Value":"Default" + }, + { + "Key":3076, + "Value":"默認" + } + ], + "FieldName":"FISDEFAULT", + "PropertyName":"ISDEFAULT", + "FieldType":175, + "EntityKey":"FT_BD_CUSTORDERORG", + "TableName":"T_BD_CUSTORDERORG", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"EntryEntity", + "SeqFieldKey":null + }, + { + "Id":"d42ca6af66324ebc99a8b313c5bba0ff", + "Key":"FT_BD_CUSTOMEREXT", + "Name":[ + { + "Key":2052, + "Value":"商务信息" + }, + { + "Key":1033, + "Value":"Business Info" + }, + { + "Key":3076, + "Value":"商務信息" + } + ], + "TableName":"T_BD_CUSTOMEREXT", + "ParentKey":null, + "EntryName":"BD_CUSTOMEREXT", + "EntryPkFieldName":"FEntryId", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FEnableSL", + "Name":[ + { + "Key":2052, + "Value":"启用商联在线" + }, + { + "Key":1033, + "Value":"Enable Commercial Union Online" + }, + { + "Key":3076, + "Value":"啟用商聯在線" + } + ], + "FieldName":"FENABLESL", + "PropertyName":"EnableSL", + "FieldType":175, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFreezeStatus", + "Name":[ + { + "Key":2052, + "Value":"冻结状态" + }, + { + "Key":1033, + "Value":"Frozen Status" + }, + { + "Key":3076, + "Value":"凍結狀態" + } + ], + "FieldName":"FFREEZESTATUS", + "PropertyName":"FreezeStatus", + "FieldType":175, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":40, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":[ + { + "Value":"A", + "Caption":"正常", + "Seq":0, + "Invalid":false + }, + { + "Value":"B", + "Caption":"冻结", + "Seq":0, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFreezeLimit", + "Name":[ + { + "Key":2052, + "Value":"冻结范围" + }, + { + "Key":1033, + "Value":"Freeze Scope" + }, + { + "Key":3076, + "Value":"凍結範圍" + } + ], + "FieldName":"FFREEZELIMIT", + "PropertyName":"FreezeLimit", + "FieldType":167, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":9, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":"b1b57407-f3fe-4ee8-80fa-0e278afd7f88", + "Extends":[ + { + "Value":"Invoice", + "Caption":"发票", + "Seq":5, + "Invalid":false + }, + { + "Value":"ReturnMoney", + "Caption":"退款", + "Seq":7, + "Invalid":false + }, + { + "Value":"OutStock", + "Caption":"出库", + "Seq":3, + "Invalid":false + }, + { + "Value":"PriceQuotation", + "Caption":"报价", + "Seq":0, + "Invalid":false + }, + { + "Value":"DeliveryNotice", + "Caption":"发货通知", + "Seq":2, + "Invalid":false + }, + { + "Value":"ReturnStock", + "Caption":"退货", + "Seq":4, + "Invalid":false + }, + { + "Value":"ReceiveMoney", + "Caption":"收款", + "Seq":6, + "Invalid":false + }, + { + "Value":"SaleOrder", + "Caption":"订单", + "Seq":1, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFreezeOperator", + "Name":[ + { + "Key":2052, + "Value":"冻结人" + }, + { + "Key":1033, + "Value":"Frozen by" + }, + { + "Key":3076, + "Value":"凍結人" + } + ], + "FieldName":"FFREEZEOPERATOR", + "PropertyName":"FreezeOperator", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":18, + "MustInput":0, + "LookUpObjectFormId":"SEC_User", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FFreezeDate", + "Name":[ + { + "Key":2052, + "Value":"冻结日期" + }, + { + "Key":1033, + "Value":"Freezing Date" + }, + { + "Key":3076, + "Value":"凍結日期" + } + ], + "FieldName":"FFREEZEDATE", + "PropertyName":"FreezeDate", + "FieldType":61, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":4, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FPROVINCE", + "Name":[ + { + "Key":2052, + "Value":"省份" + }, + { + "Key":1033, + "Value":"Province" + }, + { + "Key":3076, + "Value":"省份" + } + ], + "FieldName":"FPROVINCE", + "PropertyName":"PROVINCE", + "FieldType":231, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCITY", + "Name":[ + { + "Key":2052, + "Value":"城市" + }, + { + "Key":1033, + "Value":"City" + }, + { + "Key":3076, + "Value":"城市" + } + ], + "FieldName":"FCITY", + "PropertyName":"CITY", + "FieldType":231, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDefaultConsiLoc", + "Name":[ + { + "Key":2052, + "Value":"默认收货地点" + }, + { + "Key":1033, + "Value":"Default Shipping Address" + }, + { + "Key":3076, + "Value":"默認收貨地點" + } + ], + "FieldName":"FDEFAULTCONSILOC", + "PropertyName":"DefaultConsiLoc", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_CUSTCONTACTION", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDefaultSettleLoc", + "Name":[ + { + "Key":2052, + "Value":"默认开票地点" + }, + { + "Key":1033, + "Value":"Default Billing Address" + }, + { + "Key":3076, + "Value":"默認開票地點" + } + ], + "FieldName":"FDEFAULTSETTLELOC", + "PropertyName":"DefaultSettleLoc", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_CUSTCONTACTION", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDefaultPayerLoc", + "Name":[ + { + "Key":2052, + "Value":"默认付款地点" + }, + { + "Key":1033, + "Value":"Default Payment Address" + }, + { + "Key":3076, + "Value":"默認付款地點" + } + ], + "FieldName":"FDEFAULTPAYERLOC", + "PropertyName":"DefaultPayerLoc", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_CUSTCONTACTION", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDefaultContact", + "Name":[ + { + "Key":2052, + "Value":"默认联系人" + }, + { + "Key":1033, + "Value":"Default Contact" + }, + { + "Key":3076, + "Value":"默認聯系人" + } + ], + "FieldName":"FDEFAULTCONTACT", + "PropertyName":"DefaultContact", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_CommonContact", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FMarginLevel", + "Name":[ + { + "Key":2052, + "Value":"保证金比例(%)" + }, + { + "Key":1033, + "Value":"Deposit Ratio (%)" + }, + { + "Key":3076, + "Value":"保證金比例(%)" + } + ], + "FieldName":"FMARGINLEVEL", + "PropertyName":"MarginLevel", + "FieldType":106, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":2, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FDebitCard", + "Name":[ + { + "Key":2052, + "Value":"结算卡" + }, + { + "Key":1033, + "Value":"Settlememt Card" + }, + { + "Key":3076, + "Value":"結算卡" + } + ], + "FieldName":"FDEBITCARD", + "PropertyName":"FDebitCard", + "FieldType":231, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSettleId", + "Name":[ + { + "Key":2052, + "Value":"结算方" + } + ], + "FieldName":"FSETTLEID", + "PropertyName":"SettleId", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Customer", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FChargeId", + "Name":[ + { + "Key":2052, + "Value":"付款方" + } + ], + "FieldName":"FCHARGEID", + "PropertyName":"ChargeId", + "FieldType":127, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"BD_Customer", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FALLOWJOINZHJ", + "Name":[ + { + "Key":2052, + "Value":"允许对接智慧订货" + } + ], + "FieldName":"FALLOWJOINZHJ", + "PropertyName":"FALLOWJOINZHJ", + "FieldType":175, + "EntityKey":"FT_BD_CUSTOMEREXT", + "TableName":"T_BD_CUSTOMEREXT", + "ElementType":8, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"SubHeadEntity", + "SeqFieldKey":null + }, + { + "Id":"c9bfbee9-52a1-471f-9708-65b0989457a4", + "Key":"FCRMCustomer", + "Name":[ + { + "Key":2052, + "Value":"CRM客户" + }, + { + "Key":1033, + "Value":"CRM Customer" + }, + { + "Key":3076, + "Value":"CRM客戶" + } + ], + "TableName":"T_CRM_Customer", + "ParentKey":null, + "EntryName":"T_CRM_Customer", + "EntryPkFieldName":"FEntryId", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FLastContactDate", + "Name":[ + { + "Key":2052, + "Value":"最后接触时间" + }, + { + "Key":1033, + "Value":"Last Contact Time" + }, + { + "Key":3076, + "Value":"最後接觸時間" + } + ], + "FieldName":"FLASTCONTACTDATE", + "PropertyName":"LastContactDate", + "FieldType":61, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":5, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSUPERIORCUSTID", + "Name":[ + { + "Key":2052, + "Value":"对应集团客户" + }, + { + "Key":1033, + "Value":"Corresponding Group Customer" + }, + { + "Key":3076, + "Value":"對應集團客戶" + } + ], + "FieldName":"FSUPERIORCUSTID", + "PropertyName":"SUPERIORCUSTID", + "FieldType":127, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"CRM_CUST", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FMainContact", + "Name":[ + { + "Key":2052, + "Value":"主联系人" + }, + { + "Key":1033, + "Value":"Main Contact" + }, + { + "Key":3076, + "Value":"主聯系人" + } + ], + "FieldName":"FMAINCONTACT", + "PropertyName":"MainContact", + "FieldType":231, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FPhone", + "Name":[ + { + "Key":2052, + "Value":"电话" + }, + { + "Key":1033, + "Value":"Tel." + }, + { + "Key":3076, + "Value":"電話" + } + ], + "FieldName":"FPHONE", + "PropertyName":"Phone", + "FieldType":231, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSrcFormId", + "Name":[ + { + "Key":2052, + "Value":"源单类型" + }, + { + "Key":1033, + "Value":"Source Doc Type" + }, + { + "Key":3076, + "Value":"源單類型" + } + ], + "FieldName":"FSRCFORMID", + "PropertyName":"FSrcFormId", + "FieldType":231, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FSrcId", + "Name":[ + { + "Key":2052, + "Value":"源单内码" + }, + { + "Key":1033, + "Value":"Source Doc ISN" + }, + { + "Key":3076, + "Value":"源單內碼" + } + ], + "FieldName":"FSRCID", + "PropertyName":"FSrcId", + "FieldType":56, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":3, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FCustType", + "Name":[ + { + "Key":2052, + "Value":"客户类型" + }, + { + "Key":1033, + "Value":"Customer Type" + }, + { + "Key":3076, + "Value":"客戶類型" + } + ], + "FieldName":"FCUSTTYPE", + "PropertyName":"FCustType", + "FieldType":231, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":30, + "MustInput":0, + "LookUpObjectFormId":"BOS_ASSISTANTDATA_SELECT", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FMARACTIVITYID", + "Name":[ + { + "Key":2052, + "Value":"市场活动" + }, + { + "Key":1033, + "Value":"Market Activity" + }, + { + "Key":3076, + "Value":"市場活動" + } + ], + "FieldName":"FMARACTIVITYID", + "PropertyName":"FMARACTIVITYID", + "FieldType":127, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"CRM_MAR_MarketActivityView", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FWeiXinMarketingId", + "Name":[ + { + "Key":2052, + "Value":"微信营销" + }, + { + "Key":1033, + "Value":"Wechat Marketing" + }, + { + "Key":3076, + "Value":"微信營銷" + } + ], + "FieldName":"FWEIXINMARKETINGID", + "PropertyName":"FWeiXinMarketingId", + "FieldType":127, + "EntityKey":"FCRMCustomer", + "TableName":"T_CRM_Customer", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"CRM_WeiXinMarketingView", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"SubHeadEntity", + "SeqFieldKey":null + }, + { + "Id":"b38bcf39-9ade-4b11-87e8-a38ca5757087", + "Key":"FReleventCUST", + "Name":[ + { + "Key":2052, + "Value":"相关客户" + }, + { + "Key":1033, + "Value":"Associated Customer" + }, + { + "Key":3076, + "Value":"相關客戶" + } + ], + "TableName":"T_CRM_RELEVANTCUST", + "ParentKey":null, + "EntryName":"CRM_RELEVANTCUST", + "EntryPkFieldName":"FEntryID", + "PkFieldType":"System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "Fields":[ + { + "Key":"FRelation", + "Name":[ + { + "Key":2052, + "Value":"客户关系" + }, + { + "Key":1033, + "Value":"Customer Relationship" + }, + { + "Key":3076, + "Value":"客戶關系" + } + ], + "FieldName":"FRELATION", + "PropertyName":"FRelation", + "FieldType":167, + "EntityKey":"FReleventCUST", + "TableName":"T_CRM_RELEVANTCUST", + "ElementType":9, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":"73a484dc-8759-45a2-9aa0-df64fcf9a8bf", + "Extends":[ + { + "Value":"1", + "Caption":"竞争对手", + "Seq":0, + "Invalid":false + }, + { + "Value":"3", + "Caption":"合作伙伴", + "Seq":2, + "Invalid":false + }, + { + "Value":"2", + "Caption":"客户", + "Seq":1, + "Invalid":false + } + ], + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FRelaCustomer", + "Name":[ + { + "Key":2052, + "Value":"相关客户" + }, + { + "Key":1033, + "Value":"Associated Customer" + }, + { + "Key":3076, + "Value":"相關客戶" + } + ], + "FieldName":"FRELACUSTOMER", + "PropertyName":"FRelaCustomer", + "FieldType":127, + "EntityKey":"FReleventCUST", + "TableName":"T_CRM_RELEVANTCUST", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"CRM_CUST", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FRelaContact", + "Name":[ + { + "Key":2052, + "Value":"客户联系人" + }, + { + "Key":1033, + "Value":"Customer Contact" + }, + { + "Key":3076, + "Value":"客戶聯系人" + } + ], + "FieldName":"FRELACONTACT", + "PropertyName":"FRelaContact", + "FieldType":127, + "EntityKey":"FReleventCUST", + "TableName":"T_CRM_RELEVANTCUST", + "ElementType":13, + "MustInput":0, + "LookUpObjectFormId":"CRM_CUST_Contact", + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FRelaTel", + "Name":[ + { + "Key":2052, + "Value":"联系方式" + }, + { + "Key":1033, + "Value":"Contact Details" + }, + { + "Key":3076, + "Value":"聯系方式" + } + ], + "FieldName":"FRELATEL", + "PropertyName":"FRelaTel", + "FieldType":231, + "EntityKey":"FReleventCUST", + "TableName":"T_CRM_RELEVANTCUST", + "ElementType":1, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + }, + { + "Key":"FRelaRemark", + "Name":[ + { + "Key":2052, + "Value":"说明" + }, + { + "Key":1033, + "Value":"Description" + }, + { + "Key":3076, + "Value":"說明" + } + ], + "FieldName":"FRELAREMARK", + "PropertyName":"FRelaRemark", + "FieldType":231, + "EntityKey":"FReleventCUST", + "TableName":"T_CRM_RELEVANTCUST", + "ElementType":6, + "MustInput":0, + "LookUpObjectFormId":null, + "EnumObjectId":null, + "Extends":null, + "ControlFieldKey":null, + "GroupFieldTableName":null + } + ], + "EntityType":"EntryEntity", + "SeqFieldKey":null + } + ], + "Operations":[ + { + "OperationId":0, + "OperationNumber":"Delete", + "OperationName":[ + { + "Key":2052, + "Value":"删除" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"View", + "OperationName":[ + { + "Key":2052, + "Value":"查看" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Draft", + "OperationName":[ + { + "Key":2052, + "Value":"暂存" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Save", + "OperationName":[ + { + "Key":2052, + "Value":"保存" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Submit", + "OperationName":[ + { + "Key":2052, + "Value":"提交" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Audit", + "OperationName":[ + { + "Key":2052, + "Value":"审核" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"UnAudit", + "OperationName":[ + { + "Key":2052, + "Value":"反审核" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Forbid", + "OperationName":[ + { + "Key":2052, + "Value":"禁用" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Enable", + "OperationName":[ + { + "Key":2052, + "Value":"反禁用" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"CancelAssign", + "OperationName":[ + { + "Key":2052, + "Value":"撤销" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"Allocate", + "OperationName":[ + { + "Key":2052, + "Value":"分配" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"CancelAllocate", + "OperationName":[ + { + "Key":2052, + "Value":"取消分配" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"ValidateUser", + "OperationName":[ + { + "Key":2052, + "Value":"登录" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"BatchSave", + "OperationName":[ + { + "Key":2052, + "Value":"批量保存" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"ExecuteBillQuery", + "OperationName":[ + { + "Key":2052, + "Value":"单据查询" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"QueryBusinessInfo", + "OperationName":[ + { + "Key":2052, + "Value":"元数据查询" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"WorkflowAudit", + "OperationName":[ + { + "Key":2052, + "Value":"工作流审批" + } + ] + }, + { + "OperationId":0, + "OperationNumber":"SwitchOrg", + "OperationName":[ + { + "Key":2052, + "Value":"切换组织" + } + ] + } + ], + "MasterPKFieldName":"FMasterId", + "PkFieldName":"FCUSTID", + "PkFieldType":"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" + } + } +} \ No newline at end of file