Auckland, New Zealand
+64 2239 10000
gareth.cheyne@gmail.com

Blogography

MSCRM :: Entity Type Codes

The following table shows the type codes for system entities. Entity Name ObjectTypeCode Account 1 Contact 2 Opportunity 3 Lead 4 Annotation 5 BusinessUnitMap 6 Owner 7 SystemUser 8 Team 9 BusinessUnit 10 PrincipalObjectAccess 11 RolePrivileges 12 SystemUserLicenses 13 SystemUserPrincipals 14 SystemUserRoles 15 AccountLeads 16 ContactInvoices 17 ContactQuotes 18 ContactOrders 19 ServiceContractContacts 20 ProductSalesLiterature 21…
Read more

Linux Mint DE :: Plex Media Server

Install Plex Media Server on Debian/Linux Mint DE (LMDE) Plex is an fantastic media server even my technically challenged stepmom can use plex which makes it perfect if you are trying to create server solution for friends or family. Plex will stream to practically any device in your house: iPad, iPhone, Android tablets, Roku, Raspberry…
Read more

MSCRM :: WebApi OAuth Setup

Start from Dynamics CRM 2016, Microsoft introduced new big feature called Web API endpoint. That means we can build our own Web Application, SPA or Mobile Application and play with Dynamics CRM data. In that case we will need a library for Azure AD Authentication to get access token before making requests to CRM Web…
Read more

MSCRM :: State and Status Codes

Entity Status (statecode) Associated Status Reason (statuscode) Account (account) 0 Active 1 Active 1 Inactive 2 Inactive Activity (activitypointer) 0 Open 1 Open 1 Completed 2 Completed 2 Canceled 3 Canceled 3 Scheduled 4 Scheduled Appointment (appointment) 0 Open 1 Free 2 Tentative 1 Completed 3 Completed 2 Canceled 4 Canceled 3 Scheduled 5 Busy…
Read more

Linux MINT DE :: Virtual FTP Access

Install the following apps Edit /etc/vsftpd.conf Then past the following Edit to your exact needs the most important bit for virtual users is everything after the virtual user settings comment. Creating User You can either use a database or htpasswd,  I found htpasswd faster and easier to use. Make a directory to store your users…
Read more

MSCRM :: NZ Post Auto Complete

After reading John’s Blog about using the NZ Post Air and the new Auto Complete functionality in MSCRM I thought to myself how can i take this to the next level. ref: https://www.magnetismsolutions.com/blog/johntowgood/2017/05/10/new-zealand-post-auto-complete-in-dynamics-365  

3CX :: 2Degrees Home Phone Plus Setup

After playing around..