Closed scole954387 closed 1 year ago
When I use QB's API Explorer and retrieve the Preferences object I get more results than when I use the getPreferences/findPreferences API calls.
For example, here's the the OtherPrefs result with the API Explorer: "OtherPrefs": { "NameValue": [ { "Name": "SalesFormsPrefs.DefaultCustomerMessage", "Value": "It's a pleasure doing business with you. Remember, referrals are appreciated!" }, { "Name": "SalesFormsPrefs.DefaultItem", "Value": "96" }, { "Name": "DTXCopyMemo", "Value": "false" }, { "Name": "UncategorizedAssetAccountId", "Value": "405" }, { "Name": "UncategorizedIncomeAccountId", "Value": "406" }, { "Name": "UncategorizedExpenseAccountId", "Value": "407" }, { "Name": "SFCEnabled", "Value": "true" }, { "Name": "Language", "Value": "en" }, { "Name": "DateFormat", "Value": "Date Month Year separated by a slash" }, { "Name": "DateFormatMnemonic", "Value": "DDMMYYYY_SEP_SLASH" }, { "Name": "NumberFormat", "Value": "US Number Format" }, { "Name": "NumberFormatMnemonic", "Value": "US_NB" }, { "Name": "DataPartner", "Value": "false" }, { "Name": "Vendor1099Enabled", "Value": "false" }, { "Name": "TimeTrackingFeatureEnabled", "Value": "true" }, { "Name": "FDPEnabled", "Value": "true" }, { "Name": "isDTXOnStage", "Value": "false" }, { "Name": "ProjectsEnabled", "Value": "true" }, { "Name": "VendorAndPurchasesPrefs.UseCustomTxnNumbers", "Value": "false" }, { "Name": "WarnDuplicateCheckNumber", "Value": "true" }, { "Name": "WarnDuplicateBillNumber", "Value": "false" }, { "Name": "WarnDuplicateJournalNumber", "Value": "false" }, { "Name": "SignoutInactiveMinutes", "Value": "180" }, { "Name": "AccountingInfoPrefs.DefaultTaxRateSelection", "Value": "1" }, { "Name": "AccountingInfoPrefs.ShowAccountNumbers", "Value": "false" }, { "Name": "VendorAndPurchasesPrefs.PurchaseOrderEnabled", "Value": "true" }, { "Name": "VendorAndPurchasesPrefs.MarkupOnBillableExpenseEnabled", "Value": "false" }, { "Name": "SalesFormsPrefs.AllowGratuity", "Value": "false" } ]
"OtherPrefs": { "NameValue": [ { "Name": "SalesFormsPrefs.DefaultCustomerMessage", "Value": "It's a pleasure doing business with you. Remember, referrals are appreciated!" }, { "Name": "SalesFormsPrefs.DefaultItem", "Value": "96" }, { "Name": "DTXCopyMemo", "Value": "false" }, { "Name": "UncategorizedAssetAccountId", "Value": "405" }, { "Name": "UncategorizedIncomeAccountId", "Value": "406" }, { "Name": "UncategorizedExpenseAccountId", "Value": "407" }, { "Name": "SFCEnabled", "Value": "true" }, { "Name": "Language", "Value": "en" }, { "Name": "DateFormat", "Value": "Date Month Year separated by a slash" }, { "Name": "DateFormatMnemonic", "Value": "DDMMYYYY_SEP_SLASH" }, { "Name": "NumberFormat", "Value": "US Number Format" }, { "Name": "NumberFormatMnemonic", "Value": "US_NB" }, { "Name": "DataPartner", "Value": "false" }, { "Name": "Vendor1099Enabled", "Value": "false" }, { "Name": "TimeTrackingFeatureEnabled", "Value": "true" }, { "Name": "FDPEnabled", "Value": "true" }, { "Name": "isDTXOnStage", "Value": "false" }, { "Name": "ProjectsEnabled", "Value": "true" }, { "Name": "VendorAndPurchasesPrefs.UseCustomTxnNumbers", "Value": "false" }, { "Name": "WarnDuplicateCheckNumber", "Value": "true" }, { "Name": "WarnDuplicateBillNumber", "Value": "false" }, { "Name": "WarnDuplicateJournalNumber", "Value": "false" }, { "Name": "SignoutInactiveMinutes", "Value": "180" }, { "Name": "AccountingInfoPrefs.DefaultTaxRateSelection", "Value": "1" }, { "Name": "AccountingInfoPrefs.ShowAccountNumbers", "Value": "false" }, { "Name": "VendorAndPurchasesPrefs.PurchaseOrderEnabled", "Value": "true" }, { "Name": "VendorAndPurchasesPrefs.MarkupOnBillableExpenseEnabled", "Value": "false" }, { "Name": "SalesFormsPrefs.AllowGratuity", "Value": "false" } ]
Here's the same results from calling getPreferences or findPreferences: "OtherPrefs": { "NameValue": [ { "Name": "SalesFormsPrefs.DefaultCustomerMessage", "Value": "It's a pleasure doing business with you. Remember, referrals are appreciated!" }, { "Name": "SalesFormsPrefs.DefaultItem", "Value": "450" }, { "Name": "DTXCopyMemo", "Value": "false" }, { "Name": "UncategorizedAssetAccountId", "Value": "5986" }, { "Name": "UncategorizedIncomeAccountId", "Value": "5985" }, { "Name": "UncategorizedExpenseAccountId", "Value": "5987" }, { "Name": "SFCEnabled", "Value": "true" }, { "Name": "Language", "Value": "en" }, { "Name": "DateFormat", "Value": "Date Month Year separated by a slash" }, { "Name": "DateFormatMnemonic", "Value": "DDMMYYYY_SEP_SLASH" }, { "Name": "NumberFormat", "Value": "US Number Format" }, { "Name": "NumberFormatMnemonic", "Value": "US_NB" }, { "Name": "DataPartner", "Value": "false" }, { "Name": "Vendor1099Enabled", "Value": "false" }, { "Name": "TimeTrackingFeatureEnabled", "Value": "true" }, { "Name": "FDPEnabled", "Value": "false" }, { "Name": "isDTXOnStage", "Value": "false" }, { "Name": "ProjectsEnabled", "Value": "true" } ]
"OtherPrefs": { "NameValue": [ { "Name": "SalesFormsPrefs.DefaultCustomerMessage", "Value": "It's a pleasure doing business with you. Remember, referrals are appreciated!" }, { "Name": "SalesFormsPrefs.DefaultItem", "Value": "450" }, { "Name": "DTXCopyMemo", "Value": "false" }, { "Name": "UncategorizedAssetAccountId", "Value": "5986" }, { "Name": "UncategorizedIncomeAccountId", "Value": "5985" }, { "Name": "UncategorizedExpenseAccountId", "Value": "5987" }, { "Name": "SFCEnabled", "Value": "true" }, { "Name": "Language", "Value": "en" }, { "Name": "DateFormat", "Value": "Date Month Year separated by a slash" }, { "Name": "DateFormatMnemonic", "Value": "DDMMYYYY_SEP_SLASH" }, { "Name": "NumberFormat", "Value": "US Number Format" }, { "Name": "NumberFormatMnemonic", "Value": "US_NB" }, { "Name": "DataPartner", "Value": "false" }, { "Name": "Vendor1099Enabled", "Value": "false" }, { "Name": "TimeTrackingFeatureEnabled", "Value": "true" }, { "Name": "FDPEnabled", "Value": "false" }, { "Name": "isDTXOnStage", "Value": "false" }, { "Name": "ProjectsEnabled", "Value": "true" } ]
As you can see, there are many items under OtherPrefs missing. Any suggestions on what I may be doing wrong of if this is a bug in the package? Thanks!
Updating node-quickbooks to newer version appears to have resolved.
When I use QB's API Explorer and retrieve the Preferences object I get more results than when I use the getPreferences/findPreferences API calls.
For example, here's the the OtherPrefs result with the API Explorer:
"OtherPrefs": { "NameValue": [ { "Name": "SalesFormsPrefs.DefaultCustomerMessage", "Value": "It's a pleasure doing business with you. Remember, referrals are appreciated!" }, { "Name": "SalesFormsPrefs.DefaultItem", "Value": "96" }, { "Name": "DTXCopyMemo", "Value": "false" }, { "Name": "UncategorizedAssetAccountId", "Value": "405" }, { "Name": "UncategorizedIncomeAccountId", "Value": "406" }, { "Name": "UncategorizedExpenseAccountId", "Value": "407" }, { "Name": "SFCEnabled", "Value": "true" }, { "Name": "Language", "Value": "en" }, { "Name": "DateFormat", "Value": "Date Month Year separated by a slash" }, { "Name": "DateFormatMnemonic", "Value": "DDMMYYYY_SEP_SLASH" }, { "Name": "NumberFormat", "Value": "US Number Format" }, { "Name": "NumberFormatMnemonic", "Value": "US_NB" }, { "Name": "DataPartner", "Value": "false" }, { "Name": "Vendor1099Enabled", "Value": "false" }, { "Name": "TimeTrackingFeatureEnabled", "Value": "true" }, { "Name": "FDPEnabled", "Value": "true" }, { "Name": "isDTXOnStage", "Value": "false" }, { "Name": "ProjectsEnabled", "Value": "true" }, { "Name": "VendorAndPurchasesPrefs.UseCustomTxnNumbers", "Value": "false" }, { "Name": "WarnDuplicateCheckNumber", "Value": "true" }, { "Name": "WarnDuplicateBillNumber", "Value": "false" }, { "Name": "WarnDuplicateJournalNumber", "Value": "false" }, { "Name": "SignoutInactiveMinutes", "Value": "180" }, { "Name": "AccountingInfoPrefs.DefaultTaxRateSelection", "Value": "1" }, { "Name": "AccountingInfoPrefs.ShowAccountNumbers", "Value": "false" }, { "Name": "VendorAndPurchasesPrefs.PurchaseOrderEnabled", "Value": "true" }, { "Name": "VendorAndPurchasesPrefs.MarkupOnBillableExpenseEnabled", "Value": "false" }, { "Name": "SalesFormsPrefs.AllowGratuity", "Value": "false" } ]
Here's the same results from calling getPreferences or findPreferences:
"OtherPrefs": { "NameValue": [ { "Name": "SalesFormsPrefs.DefaultCustomerMessage", "Value": "It's a pleasure doing business with you. Remember, referrals are appreciated!" }, { "Name": "SalesFormsPrefs.DefaultItem", "Value": "450" }, { "Name": "DTXCopyMemo", "Value": "false" }, { "Name": "UncategorizedAssetAccountId", "Value": "5986" }, { "Name": "UncategorizedIncomeAccountId", "Value": "5985" }, { "Name": "UncategorizedExpenseAccountId", "Value": "5987" }, { "Name": "SFCEnabled", "Value": "true" }, { "Name": "Language", "Value": "en" }, { "Name": "DateFormat", "Value": "Date Month Year separated by a slash" }, { "Name": "DateFormatMnemonic", "Value": "DDMMYYYY_SEP_SLASH" }, { "Name": "NumberFormat", "Value": "US Number Format" }, { "Name": "NumberFormatMnemonic", "Value": "US_NB" }, { "Name": "DataPartner", "Value": "false" }, { "Name": "Vendor1099Enabled", "Value": "false" }, { "Name": "TimeTrackingFeatureEnabled", "Value": "true" }, { "Name": "FDPEnabled", "Value": "false" }, { "Name": "isDTXOnStage", "Value": "false" }, { "Name": "ProjectsEnabled", "Value": "true" } ]
As you can see, there are many items under OtherPrefs missing. Any suggestions on what I may be doing wrong of if this is a bug in the package? Thanks!