Skip to Content
Former Member
Aug 06, 2012 at 09:41 PM

Issue creating Customer BO instance


I had the Customer.Create() method released to one of my client's test tenants.

I'm almost done with a full-blown integration to their platform, but I can't get the Customer.Create() method to work.

query_customer = Customer.QueryByIdentification; query_customer_selparam = query_customer.CreateSelectionParams(); query_customer_selparam.Add(query_customer.InternalID , "I", "EQ", this.UserID); query_customer_result = query_customer.Execute(query_customer_selparam);

if (query_customer_result.Count() == 0) { CustomerBO = Customer.Create(); CustomerBO.InternalID = this.UserID; CustomerBO.CurrentCommon.Organisation.Name.FirstLineName = this.UserName.content; }

What am I missing to create the customer? Is it the CategoryCode?