Seems there is already the same number used and available in address book. Go to dirpartytable and find the latest number. Then go to your number sequence change the next number to “latest+1”.
click the List button in Number sequences form and remove any records exist in the form.
In numbersequences form, you will see a button “status list”, click the button and if you see any records in that form then delete them and try creating vendor/customer now.
Visit DirPerson table and DirPartyTable table. Check the column PartyId in both tables. Find the largest partyid in both tables. I believe there must be a mistmatch.
solution: If there is a mismatch, copy the last partyid (largest in both tables and lets this is ‘x’). Visit Number sequence form and visit party record and update next party id value to ‘x’+1. This should solve your issue as this solved mine (If the reasons are same)
I just don’t know where to find party record, can you tell me more detail about this step “ Visit Number sequence form and visit party record and update next party id value to ‘x’+1.”?
Go to , Organization administration/Common/Number sequences/Number sequences
Select, Area = Address book and Reference = Party ID, then you should be able to see the number sequence related to party id.