web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Account number XXX in company XXX is not mapped to account number XXX in company XXX.

(0) ShareShare
ReportReport
Posted on by 113

After one of the customers was removed from the system, I added back the customer with the same account number, but now when I try to post the transaction statement, I receive this error message.

Account number 501 in company XXX is not mapped to account number 362 in company cav.
Account 501 of voucher AR011125 is not same as the account 362 of voucher 02565258, which is not allowed for settlement.
Customer account 501 was removed and re-added

Customer account 362 is a duplicate account for the same customer

Does anyone know how to solve the issue?
I have the same question (0)
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    RE: Account number XXX in company XXX is not mapped to account number XXX in company XXX.

    Hi Navid,

    In D365 the users are never "deleted" by design. When deleting a user in AAD or in the O365 admin center it will just sync and disable the user in the D365 orgs in that tenant.

    A user name conflict occurs when you delete a user account, create a new user account with the same user name (either for the same user or another user with a similar name), and later try to restore the deleted account. To fix this, replace the active user account with the one that you are restoring. Or, assign a different user name to the account that you are restoring so that there aren't two accounts with the same user name."

    For details about deleting and creating users, you can check links 1 and 2.

     Delete users from environments - Power Platform | Microsoft Learn

    [SOLVED] Creating a new user account that has the same name as a deleted user account - Office 365 (spiceworks.com)

    Or you can check the field mapping. When performing a creation of a new record from an existing record, field mapping is involved, you can find the relationship based on the mapping list and select "Mapping", select "Generate Mapping" from the "More Actions" menu, this provides you with suggested field mappings for fields with names and datatypes. These will replace any existing mappings.

    Information about field mapping can be found in link 3.

    What is field mapping in Dynamics 365? - Gestisoft

    Link 4 has similar questions and discussions as yours, you can check it out.

     Customer account xxx in company xxx is not mapped to customer account xxx in company xxx while posting customer payments - Microsoft Dynamics AX Forum Community Forum

    Best Regards,

    Hana

  • Verified answer
    Shafeeque P. Profile Picture
    6,527 Moderator on at
    RE: Account number XXX in company XXX is not mapped to account number XXX in company XXX.

    Did you try using the change Party Association to match the old setup before deleting the customer?  Try to find which party is attached transaction, if that party exists in the system, associate the customer with the old party.  

    pastedimage1679416032275v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 761

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 238 Super User 2025 Season 2

#3
Sagar Suman Profile Picture

Sagar Suman 200 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans