Someone on my team noticed today that when they are creating a case for an account, they can see 2 separate account names with the same account number. In the pic below attached, the first instance is the correct account to select as it has all of the contacts listed under it. The second listed account does not have any contacts loaded.
How to resolve this?
*This post is locked for comments
is there any1 who worked on cozyroc?? its an urgent issue to b solved
can i get any further suggestions?
OK, wat is the final solution is. In above shown code it is just an temp variables but not updating anything right? Then how it is creating duplicates in Crm??
Will mark as verified after the suggestion
Sorry Sandeep,
Have not use CozyRoc.
Should I remove temp?? Or I need t add new code?
@Aric we are using cozyroc
So, what we need to add to update the account in crm
The code above is not updating CRM, but a temp table. Not sure what you SSIS package does exactly, but look at your CRM Destination component (if using KingswaySoft).
can i get help where the bug is ? will mark as verified if i get suggestion
update dbo.z_temp_kgpcrm_account_customer
set dbo.z_temp_kgpcrm_account_customer.[Parent_Account] =
(select top 1 p.new_UniqueID
from dbo.AccountBase p
where dbo.z_temp_kgpcrm_account_customer.[Parent_Account_no] = p.accountnumber COLLATE DATABASE_DEFAULT and p.new_UniqueID IS NOT NULL
and p.new_UniqueID like '%-C' and [Relationship Type] not like 'BlueStream%')
where exists(
select '1'
from dbo.AccountBase p2
where dbo.z_temp_kgpcrm_account_customer.[Parent_Account_no] COLLATE DATABASE_DEFAULT = p2.accountnumber COLLATE DATABASE_DEFAULT
and dbo.z_temp_kgpcrm_account_customer.[Parent_Account_no] COLLATE DATABASE_DEFAULT <> dbo.z_temp_kgpcrm_account_customer.[Account Number] COLLATE DATABASE_DEFAULT
and ISNUMERIC( dbo.z_temp_kgpcrm_account_customer.[Parent_Account_no]) = 1
and p2.new_UniqueID like '%-C' and [Relationship Type] not like 'BlueStream%' ) ;
update dbo.z_temp_kgpcrm_account_customer
set [Parent_Account] = ''
, Parent_Account_no = ''
where ([Parent_Account] = [UNIQUE ID] or
[Parent_Account_no] = [Account Number] or
ISNUMERIC( dbo.z_temp_kgpcrm_account_customer.[Parent_Account_no]) <> 1 or
[Parent_Account] not in (select p.new_UniqueID
from dbo.AccountBase p
where dbo.z_temp_kgpcrm_account_customer.[Parent_Account_no] = p.accountnumber COLLATE DATABASE_DEFAULT and p.new_UniqueID IS NOT NULL
and p.new_UniqueID like '%-C' and [Relationship Type] not like 'BlueStream%'))
and
[Parent_Account_no] > ' ';
But, we came to know that NAVISION is the master pager and we take data from Nav
what i came to know is in SSIS package instead of updating the existing account its creating a new account there is some bug.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156