You cannot delete Customer...

yuppicide
Member Posts: 410
Navision 3.10
Someone gave me orders to enter.. they had created a new customer card COTTO012. Three orders, exactly the same. I entered one, then used Copy Document on the other two. Only thing that differed was shipping address.
Today, someone is checking over orders and noticed this customer already exists in our system under customer card COTTO010.
They changed the three orders to COTTO010. They want to delete the newly created duplicate customer card, but it won't let them.
It says "You cannot delete Customer COTTO012 because there is at least one outstanding Sales Order for this customer."
I know I can fix the problem by deleting all three orders, deleting that duplicate customer card, then re-entering the orders. I was just trying to figure this out so I didn't have to re-enter the orders.
Someone gave me orders to enter.. they had created a new customer card COTTO012. Three orders, exactly the same. I entered one, then used Copy Document on the other two. Only thing that differed was shipping address.
Today, someone is checking over orders and noticed this customer already exists in our system under customer card COTTO010.
They changed the three orders to COTTO010. They want to delete the newly created duplicate customer card, but it won't let them.
It says "You cannot delete Customer COTTO012 because there is at least one outstanding Sales Order for this customer."
I know I can fix the problem by deleting all three orders, deleting that duplicate customer card, then re-entering the orders. I was just trying to figure this out so I didn't have to re-enter the orders.
0
Comments
-
It checks for the Bill-to and the Sell-to on the sales lines, so it looks like when the customer on the sales header was changed, the customer was NOT changed on the lines. Go into those 3 orders and make sure that the header and all related lines show the right order. Once you have changed those all to the right one, you should be able to delete the duplicate customer without a problem.0
-
Well, now I have another issue and entering new customer cards is not working!!! Help!!
We deleted the three orders. We then deleted that new customer card.
Now we cannot create new customers.. it says "No. Series Code 'AR-CUSTOME' does not exist".
This is when you try to enter a No. on the Customer Card. In fact, if I click any fields or tabs without entering anything it gives me the error.
We usually use the first so many characters of a customer name and then enter 001, 002, 003 at the end.. so if MIBUSO was a customer it would be MIBU001. Then it gives us that error message.0 -
Think I figured out the problem.. I am clueless as to how it happened because nobody has ever gone in this screen before! This is the first time I've seen it.
In General Ledger, Setup, No. Series AR-CUSTOME got deleted somehow!
I added it back and hopefully there's no issues. So far we're able to enter our customers fine.0 -
Let's say I enter the new customer ZZZ005. Then a Sales Order for that customer.
Later on we realized we already had that customer in our database, so we need to change the Sales Order to ZZZ002 for example. When we do that it asks us to hit yes to update billing and shipping and another time to update sales lines.
Then we go back into the customer card and it won't let us delete ZZZ005.
I just tested this myself to see if maybe the ladies weren't hitting those yes to update lines.
The only way for me to delete that customer card is to delete my sales order completely.0 -
Standard NAV checks for the sell-to and the bill-to customer fields on the sales lines. What looks like happened in your case is that those fields are not updated when you changed the field on the header. Check the bill-to and the sell-to in ALL the lines in that order to see what happened.
In situations like this I would debug the process to see what is happening.0 -
Thanks I'm thinking it'll lie in a codeunit which my license doesn't allow me to work with.
I debugged and compared me starting a new Sales Order and selecting a customer and adding one item to the order..
Then I debugged the same thing, but with me changing the customer to see what differed.
So, all I can do is view the code through debugger and try to understand it for my own knowledge.
I see comments in there that relate to Copy Document, so that's probably the right place if the company ever decides to put up some money to fix it.0 -
Pain in the butt when you notice errors like 7 or 8 years after you purchase software. Nothing you can do but pay the people to fix it.
I notice that even changing a header on a Sales Order and then trying to print something it doesn't even update.
"Sell To Name 2" will update.. as will Dept No and External Document! Nothing else will, ie: Sell-to Customer Name, Sell-to Address, Sell-To Address 2, Sell-to State, Zip Code, Sell-to Contact.0 -
Actually 3.1 as a solid and fairly bug free product, definitely quite stable. Except of course for those silly Sales tax rounding errors. Had you had gone with 3.01 or waited till 3.6 you would have something to complain about.David Singleton0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions