Since this morning we're getting the following bug in our dev enviroment.
When we try to open customer card from main menu.
All sensitive info been blanked out
However when we go via the shipment card, which was made inhouse and lookup the client and select client card in the overview we get the card loaded.
The error states: 'The value in the filter '....' for field Customer number in table Customer Combination is to large for the field type. Type:Code10'
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Is there any code in OnOpen form or OnAftergetrecord?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
There's code in those sections
OnOpen
OnAftergetrecord
ActivateFields;
CheckBlocked
As myseriously as the error/bug appeared it seems to have dissapeared as well.
We have performed no actions on the database on the form between posting first post and this one.
it looks like you are matching the customer number from the customer table to your "Klant Combinatie" table.
Check the length for Customer No. in that "Klant combinatie" table. It should be 20 as the default length of the Customer."No." field is 20.
And the error states it is only 10 characters long.
I think that you are now for the first time assigning a customer."No." that is more then 10 Characters long.
I hope this helps,
Regards,
Willy.
But none of the data I used to test preliminary code had the data the error was showing.
When we looked in the table and applied a filter with the values on the customer number nothing was returned.
Also the error occurred when we called the form directly (with or without debugger) we would get the error, if we went to a shipment and
called the customer card we didn't get the error.
About an hour or so after the error no longer occurred, we had done nothing but look if there was a filter on somewhere, since only 3-4 people have access at any given time to the developers database and I was the only 1 working on it when it first occurred.
My colleague says it might have been data corruption, but I don't accept that.
That's like in the movie 'Hunt for Red October' where the computer for the sonar system,on board the USA sub Dallas, identifies the noise of the October's silent drive as magma displacement since it has no other explanation for the sound.
There must be a logical explanation why it happened.
RIS Plus, LLC
Yeah, so we know the reason for the error, we know what tables and forms that we're suffering from the error.
The only thing we don't know is why, but since it's no longer occurring I'm not going to search for a reason why and just going to file it under
'Random circumstances', meaning we don't know the route but its been fixed.