From 6a09209659d322dd4fc00c47f26914920e0a8e02 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 9 Dec 2024 11:00:49 -0800 Subject: [PATCH] IO-3050 Adjust Customer setup Signed-off-by: Allan Carr --- server/accounting/qbo/qbo-receivables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/accounting/qbo/qbo-receivables.js b/server/accounting/qbo/qbo-receivables.js index c7c74928b..36f3e5113 100644 --- a/server/accounting/qbo/qbo-receivables.js +++ b/server/accounting/qbo/qbo-receivables.js @@ -328,7 +328,7 @@ async function InsertOwner(oauthClient, qbo_realmId, req, job, isThreeTier, pare PostalCode: job.ownr_zip, CountrySubDivisionCode: job.ownr_st }, - ...(job.ownr_ea ? { BillEmail: { Address: job.ownr_ea.trim() } } : {}), + ...(job.ownr_ea ? { PrimaryEmailAddr: { Address: job.ownr_ea.trim() } } : {}), ...(isThreeTier ? { Job: true, @@ -396,7 +396,7 @@ async function InsertJob(oauthClient, qbo_realmId, req, job, parentTierRef) { PostalCode: job.ownr_zip, CountrySubDivisionCode: job.ownr_st }, - ...(job.ownr_ea ? { BillEmail: { Address: job.ownr_ea.trim() } } : {}), + ...(job.ownr_ea ? { PrimaryEmailAddr: { Address: job.ownr_ea.trim() } } : {}), Job: true, ParentRef: { value: parentTierRef.Id