Insert New Supplier fails if no Supplier Type #249
Replies: 5 comments
-
I realized from the error message that a Supplier Type must be defined before a Supplier can be created. I created a Supplier Type ("DEFAULT") and was then able to successfully create a supplier. This should be caught before it hits the database. Fyi, in the process I found another uncaught error - entering too many characters into Address 2 for a supplier. I don't know the exact maximum length allowed, but seemed to be shorter than the "should be less than 40 characters" given by the tool tip. |
Beta Was this translation helpful? Give feedback.
-
Hi Dale, I have put in a check for the supplier types.
The only issues on address line length I found was on line 5 which should
have been 20 not 40 and I have corrected that. Address line 2 has length 40
in the database, and is restricted to 40 characters in the input field. Can
you check that is still a problem?
Thanks
Tim
…On Thu, 21 Nov 2024 at 00:09, Dale Scott ***@***.***> wrote:
I realized from the error message that a Supplier Type must be defined
before a Supplier can be created. I created a Supplier Type ("DEFAULT") and
was then able to successfully create a supplier.
This error should be caught before the database.
Fwiw, entering too many characters into Address 2 is also an uncaught
error. I don't know the exact maximum length, but I found it was shorter
than the tool tip "should be less than 40 characters".
—
Reply to this email directly, view it on GitHub
<#249 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAL6LAT2NUVCLNLOFWWE3D2BUQD3AVCNFSM6AAAAABSFU35Q6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZSHE3TOMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Problem is resolved. I created a new supplier using maximum number of characters per tip in field without an error. However, I think the "field tips" (btw, what is the correct name?) would be better if they simply specified the max number of characters insetad of "within" and "less than". What does everyone think? Agree that tips like this can be changed when found? |
Beta Was this translation helpful? Give feedback.
-
They are called placeholders. I think these were originally written by
Exson Qu and English isn't his first language, so if they can be
improved just change them and do a pull request. ;)
Thanks
Tim
…On Sat, 7 Dec 2024 at 19:02, Dale Scott ***@***.***> wrote:
Problem resolved. I created a new supplier using maximum number of characters per tip in field with noo errors.
However, I think the "field tips" (btw, what is the correct name?) would be better if they simply specified the max number of characters insetad of "within" and "less than". What does everyone think? Agree that tips like this can be changed when found?
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
--
www.weberp.org
@TimSchofield2
Blog: https://kwamoja.home.blog/
|
Beta Was this translation helpful? Give feedback.
-
Issue closed, placeholders updated for consistency by commit df32157 |
Beta Was this translation helpful? Give feedback.
-
I attempted to create a new supplier
Click [Main Menu > Payables > Maintenance > Add a Supplier]
Entered data for new supplier
Clicked [Insert New Supplier], and next page did not render correctly.
httpd-error.log contained follow error:
Beta Was this translation helpful? Give feedback.
All reactions