From 17f9b0b8e3c2c29fe16ea3bf378cbc616bbb1975 Mon Sep 17 00:00:00 2001 From: Dale Scott Date: Thu, 26 Mar 2026 17:09:26 -0600 Subject: [PATCH] Increase sizes to be consistent with stockmaster --- Z_UpgradeDatabase.php | 2 +- install/sql/tables/custitem.sql | 4 ++-- sql/updates/51.php | 9 +++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 sql/updates/51.php diff --git a/Z_UpgradeDatabase.php b/Z_UpgradeDatabase.php index 9d2dcfbf5..0fcbaf43d 100644 --- a/Z_UpgradeDatabase.php +++ b/Z_UpgradeDatabase.php @@ -95,7 +95,7 @@ function updateDBNo($NewNumber, $Description = '') { echo '
', $UpdateNumber, ' - ', __('No descriptrion can be found for this update'), ' + ', __('Description not found'), ' '; } echo ' diff --git a/install/sql/tables/custitem.sql b/install/sql/tables/custitem.sql index 817a8ebc5..b626a8497 100644 --- a/install/sql/tables/custitem.sql +++ b/install/sql/tables/custitem.sql @@ -1,8 +1,8 @@ CREATE TABLE `custitem` ( `debtorno` char(10) NOT NULL DEFAULT '', `stockid` varchar(64) NOT NULL DEFAULT '', - `cust_part` varchar(20) NOT NULL DEFAULT '', - `cust_description` varchar(30) NOT NULL DEFAULT '', + `cust_part` varchar(64) NOT NULL DEFAULT '', + `cust_description` varchar(255) NOT NULL DEFAULT '', `customersuom` char(50) NOT NULL DEFAULT '', `conversionfactor` double NOT NULL DEFAULT '1', PRIMARY KEY (`debtorno`,`stockid`), diff --git a/sql/updates/51.php b/sql/updates/51.php new file mode 100644 index 000000000..ff2fef245 --- /dev/null +++ b/sql/updates/51.php @@ -0,0 +1,9 @@ +