Hi
I populated all my customers with one sql file injecting data in my customer tables (debtormaster and the others)
I chose to have in my system parameters my debtor codes being set to automatic, therefore my sql starts my debtor no at 1 and increments for each new record. All my 400+ customers have been successfully created with my sql file
My problem:When I want to create a customer MANUALLY via the weberp interface, I get an error message that says that the key is already taken (trying to use a key=6 instead of something like 403)
After looking at customers.php, I see at line 214:
Code:
if ($_SESSION['AutoDebtorNo']== 1) {
$_POST['DebtorNo'] = GetNextTransNo(500, $db);
}
I'm assuming it's supposed to grab the next available key, but it's not…
Any suggestion?
Thanks!