4D QuickBooks Integrator: Setting customer full name fields

How do I set the “Full Name” fields when adding a customer?

The “Full Name” customer fields (e.g. First, M.I., Last) can be specified in the Customer component via the corresponding configuration settings:

  customer1.Config("Salutation=Mr.");
  customer1.Config("FirstName=Tom");
  customer1.Config("MiddleInitial=J");
  customer1.Config("LastName=Hanks");

These configuration settings can also be used to get the customer name fields after retrieving a customer from QuickBooks.

  salutation = customer1.Config("Salutation");
  first = customer1.Config("FirstName");
  middle = customer1.Config("MiddleInitial");
  last = customer1.Config("LastName");

We appreciate your feedback. If you have any questions, comments, or suggestions about this entry please contact our support team at support@4dpayments.com.