Button URL Structure
The Button URL will always start with a specific line, and contain at a minimum two elements, specifying the originating record, and the associated Salesforce Account. These three lines are required for every invoice created using the Custom Guided Wizard. It is not necessary to add naX.salesforce.com or anything similar; the button can simply start with /apex/….
/apex/breadwinner_qbo__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__cPlease note that the only field that should contain a Salesforce ID is the originating record field. Additionally, this is the only field that will contain brackets, {}. All other fields will contain the field's API name, without brackets. The API name is easiest copied from the Salesforce Setup page, showing all the fields on the originating object.
Testing
When building the URL, we recommend using &testing=true to access our testing page. You can temporarily build this into the URL formula or append it to the URL after you click on the New Invoice Button. This testing page will display the API names you were passed and the corresponding values that Breadwinner retrieved based on those names. It acts as a confirmation page and is visible only when testing is set to true.
/apex/breadwinner_qbo__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&testing=trueOnce you have reviewed and feel confident, you may remove &testing=true from the Button URL.