feat(QuickBooks Node): Add optional Tax item field (#3404)

* Added tax refs

* Nodelinter fixes
This commit is contained in:
Jonathan Bennetts
2022-06-03 19:35:24 +01:00
committed by GitHub
parent f02421b5f3
commit c341b45396
12 changed files with 117 additions and 88 deletions

View File

@@ -91,6 +91,29 @@ export const billFields: INodeProperties[] = [
},
},
options: [
{
displayName: 'Account ID',
name: 'accountId',
type: 'string',
default: '',
},
{
displayName: 'Amount',
name: 'Amount',
description: 'Monetary amount of the line item',
type: 'number',
default: 0,
},
{
displayName: 'Description',
name: 'Description',
description: 'Textual description of the line item',
type: 'string',
default: '',
typeOptions: {
alwaysOpenEditWindow: true,
},
},
{
displayName: 'Detail Type',
name: 'DetailType',
@@ -116,29 +139,6 @@ export const billFields: INodeProperties[] = [
loadOptionsMethod: 'getItems',
},
},
{
displayName: 'Account ID',
name: 'accountId',
type: 'string',
default: '',
},
{
displayName: 'Amount',
name: 'Amount',
description: 'Monetary amount of the line item',
type: 'number',
default: 0,
},
{
displayName: 'Description',
name: 'Description',
description: 'Textual description of the line item',
type: 'string',
default: '',
typeOptions: {
alwaysOpenEditWindow: true,
},
},
{
displayName: 'Position',
name: 'LineNum',
@@ -235,7 +235,7 @@ export const billFields: INodeProperties[] = [
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 5,
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,