QuickBooks Integrator V6 - Online Help
QuickBooks Integrator V6
Questions / Feedback?

SetCustomField Method

Sets a custom field value within QuickBooks.

Syntax

[VB.NET]
Public Sub SetCustomField(ByVal FieldName As String, ByVal FieldValue As String)
[C#]
public void SetCustomField(string fieldName, string fieldValue);

Remarks

This method requires QuickBooks 2004 or above, with QBXMLVersion set to at least "3.0".

This method will immediately set the value of a QuickBooks custom field, which has been defined by the user from within the QuickBooks UI. You must first retrieve the appropriate object from QuickBooks, using Get, ObjSearch, etc. Then, you may use SetCustomField to set custom field values (the fields will be modified or added, as appropriate).

Note that invoking this method will create a connection to QuickBooks if one is not already in place.

NOTE: This method has a corresponding asynchronous version (SetCustomFieldAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0