Xrm.WebApi.retrieveRecord("account", customer[0].id.replace("{","").replace("}","")).then
.........
- result:
- @odata.context: "https://embc-dfa.dev.jag.gov.bc.ca/api/data/v9.0/$metadata#accounts/$entity"
- @odata.etag: "W/\"722032\""
- accountcategorycode: null
- accountclassificationcode: 1
- accountclassificationcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- accountid: "04fec1b3-74b4-ec11-b82d-005056830319"
- accountnumber: null
- accountratingcode: 1
- accountratingcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address1_addressid: "3166075f-259b-469a-9d66-7f7e00383fae"
- address1_addresstypecode: null
- address1_city: null
- address1_composite: null
- address1_country: null
- address1_county: null
- address1_fax: null
- address1_freighttermscode: null
- address1_latitude: null
- address1_line1: null
- address1_line2: null
- address1_line3: null
- address1_longitude: null
- address1_name: null
- address1_postalcode: null
- address1_postofficebox: null
- address1_primarycontactname: null
- address1_shippingmethodcode: null
- address1_stateorprovince: null
- address1_telephone1: null
- address1_telephone2: null
- address1_telephone3: null
- address1_upszone: null
- address1_utcoffset: null
- address2_addressid: "3be02ea8-a01e-45d5-944b-777692dd80d8"
- address2_addresstypecode: 1
- address2_addresstypecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address2_city: null
- address2_composite: null
- address2_country: null
- address2_county: null
- address2_fax: null
- address2_freighttermscode: 1
- address2_freighttermscode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address2_latitude: null
- address2_line1: null
- address2_line2: null
- address2_line3: null
- address2_longitude: null
- address2_name: null
- address2_postalcode: null
- address2_postofficebox: null
- address2_primarycontactname: null
- address2_shippingmethodcode: 1
- address2_shippingmethodcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- address2_stateorprovince: null
- address2_telephone1: null
- address2_telephone2: null
- address2_telephone3: null
- address2_upszone: null
- address2_utcoffset: null
- aging30: null
- aging30_base: null
- aging60: null
- aging60_base: null
- aging90: null
- aging90_base: null
- businesstypecode: 1
- businesstypecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- createdon: "2022-04-05T00:10:07Z"
- createdon@OData.Community.Display.V1.FormattedValue: "4/4/2022 5:10 PM"
- creditlimit: null
- creditlimit_base: null
- creditonhold: false
- creditonhold@OData.Community.Display.V1.FormattedValue: "No"
- customersizecode: 1
- customersizecode@OData.Community.Display.V1.FormattedValue: "Default Value"
- customertypecode: null
- description: null
- donotbulkemail: false
- donotbulkemail@OData.Community.Display.V1.FormattedValue: "Allow"
- donotbulkpostalmail: false
- donotbulkpostalmail@OData.Community.Display.V1.FormattedValue: "No"
- donotemail: false
- donotemail@OData.Community.Display.V1.FormattedValue: "Allow"
- donotfax: false
- donotfax@OData.Community.Display.V1.FormattedValue: "Allow"
- donotphone: false
- donotphone@OData.Community.Display.V1.FormattedValue: "Allow"
- donotpostalmail: false
- donotpostalmail@OData.Community.Display.V1.FormattedValue: "Allow"
- donotsendmm: false
- donotsendmm@OData.Community.Display.V1.FormattedValue: "Send"
- emailaddress1: null
- emailaddress2: null
- emailaddress3: null
- entityimage: null
- entityimage_timestamp: null
- entityimage_url: null
- entityimageid: null
- exchangerate: 1
- exchangerate@OData.Community.Display.V1.FormattedValue: "1.0000000000"
- fax: null
- followemail: true
- followemail@OData.Community.Display.V1.FormattedValue: "Allow"
- ftpsiteurl: null
- importsequencenumber: 9
- importsequencenumber@OData.Community.Display.V1.FormattedValue: "9"
- industrycode: null
- lastonholdtime: null
- lastusedincampaign: null
- marketcap: null
- marketcap_base: null
- marketingonly: false
- marketingonly@OData.Community.Display.V1.FormattedValue: "No"
- merged: false
- merged@OData.Community.Display.V1.FormattedValue: "No"
- modifiedon: "2022-08-24T22:28:04Z"
- modifiedon@OData.Community.Display.V1.FormattedValue: "8/24/2022 3:28 PM"
- name: "150 Mile House"
- numberofemployees: null
- onholdtime: null
- opendeals: 0
- opendeals@OData.Community.Display.V1.FormattedValue: "0"
- opendeals_date: "2022-09-15T11:00:27Z"
- opendeals_date@OData.Community.Display.V1.FormattedValue: "9/15/2022 4:00 AM"
- opendeals_state: 1
- opendeals_state@OData.Community.Display.V1.FormattedValue: "1"
- openrevenue: 0
- openrevenue@OData.Community.Display.V1.FormattedValue: "$0.00"
- openrevenue_base: 0
- openrevenue_base@OData.Community.Display.V1.FormattedValue: "$0.00"
- openrevenue_date: "2022-09-15T11:00:27Z"
- openrevenue_date@OData.Community.Display.V1.FormattedValue: "9/15/2022 4:00 AM"
- openrevenue_state: 1
- openrevenue_state@OData.Community.Display.V1.FormattedValue: "1"
- overriddencreatedon: null
- ownershipcode: null
- participatesinworkflow: false
- participatesinworkflow@OData.Community.Display.V1.FormattedValue: "No"
- paymenttermscode: null
- preferredappointmentdaycode: null
- preferredappointmenttimecode: null
- preferredcontactmethodcode: 1
- preferredcontactmethodcode@OData.Community.Display.V1.FormattedValue: "Any"
- primarysatoriid: null
- primarytwitterid: null
- processid: null
- revenue: null
- revenue_base: null
- sharesoutstanding: null
- shippingmethodcode: 1
- shippingmethodcode@OData.Community.Display.V1.FormattedValue: "Default Value"
- sic: null
- stageid: null
- statecode: 0
- statecode@OData.Community.Display.V1.FormattedValue: "Active"
- statuscode: 1
- statuscode@OData.Community.Display.V1.FormattedValue: "Active"
- stockexchange: null
- telephone1: null
- telephone2: null
- telephone3: null
- territorycode: 1
- territorycode@OData.Community.Display.V1.FormattedValue: "Default Value"
- tickersymbol: null
- timespentbymeonemailandmeetings: null
- timezoneruleversionnumber: null
- traversedpath: null
- utcconversiontimezonecode: null
- versionnumber: 722032
- versionnumber@OData.Community.Display.V1.FormattedValue: "722,032"
- websiteurl: null
- yominame: null
- _createdby_value: "ddded10b-97a8-ec11-b831-00505683fbf4"
- _createdby_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _createdby_value@OData.Community.Display.V1.FormattedValue: "Mohammed Hossain"
- _createdbyexternalparty_value: null
- _createdonbehalfby_value: null
- _defaultpricelevelid_value: null
- _dfa_areacommunityid_value: "457cec8c-93ee-ec11-b82e-005056830319"
- _dfa_areacommunityid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "dfa_AreaCommunityId"
- _dfa_areacommunityid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "dfa_areacommunities"
- _dfa_areacommunityid_value@OData.Community.Display.V1.FormattedValue: "100 Mile House"
- _dfa_regionid_value: "592c3734-88ee-ec11-b82e-005056830319"
- _dfa_regionid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "dfa_RegionId"
- _dfa_regionid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "dfa_region"
- _dfa_regionid_value@OData.Community.Display.V1.FormattedValue: "Central"
- _masterid_value: null
- _modifiedby_value: "b1fadff3-531a-ed11-b834-00505683fbf4"
- _modifiedby_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _modifiedby_value@OData.Community.Display.V1.FormattedValue: "Forrest Zhang"
- _modifiedbyexternalparty_value: null
- _modifiedonbehalfby_value: null
- _originatingleadid_value: null
- _ownerid_value: "ddded10b-97a8-ec11-b831-00505683fbf4"
- _ownerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "ownerid"
- _ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _ownerid_value@OData.Community.Display.V1.FormattedValue: "Mohammed Hossain"
- _owningbusinessunit_value: "f8e4c0ff-01a7-ec11-b831-00505683fbf4"
- _owningbusinessunit_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "owningbusinessunit"
- _owningbusinessunit_value@Microsoft.Dynamics.CRM.lookuplogicalname: "businessunit"
- _owningteam_value: null
- _owninguser_value: "ddded10b-97a8-ec11-b831-00505683fbf4"
- _owninguser_value@Microsoft.Dynamics.CRM.lookuplogicalname: "systemuser"
- _parentaccountid_value: null
- _preferredequipmentid_value: null
- _preferredserviceid_value: null
- _preferredsystemuserid_value: null
- _primarycontactid_value: "f517dc17-4aa9-ec11-b82c-005056830319"
- _primarycontactid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "primarycontactid"
- _primarycontactid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "contact"
- _primarycontactid_value@OData.Community.Display.V1.FormattedValue: "Beverly Colucci"
- _slaid_value: null
- _slainvokedid_value: null
- _territoryid_value: null
- _transactioncurrencyid_value: "66ce26a5-02a7-ec11-b831-00505683fbf4"
- _transactioncurrencyid_value@Microsoft.Dynamics.CRM.associatednavigationproperty: "transactioncurrencyid"
- _transactioncurrencyid_value@Microsoft.Dynamics.CRM.lookuplogicalname: "transactioncurrency"
- _transactioncurrencyid_value@OData.Community.Display.V1.FormattedValue: "Canadian Dollar"
- [[Prototype]]: Object
No comments:
Post a Comment