Thanks a lot@Nancy Lerner,
you are right. i also took the the cost field relationship with other tables for this reason i queried all cost tables and adjusted their length, after applying the change in DB configuration from UI, the change was not reflecting and working. im getting the same error message.
Then i triesd to increase the "Amount Length" from (More Action - Field Length and Format" this was affecting around 121 other objects i applied the change still this approach was not working for me.
I didn't change any value for each (Amount Scale, Integer Length and Small Integer Length) as i thought it does not have any impact and even if i adjust them it will affect almost the entire objects . I don't want to do that!
I'm still looking for a solution to increase the amount fields without any harm.
------------------------------
Anna Max
QG
------------------------------
Original Message:
Sent: 07-02-2024 09:20
From: Nancy Lerner
Subject: Purchase Order Unit Cost & Line Cost Field Length Error
Anna, the data you capture in the unit cost and line cost fields on PO lines is ultimately going to flow to other places, including both decimal and amount-type fields in objects such as matrectrans and matusetrans, and depending on the nature of the purchase, this data may flow to actual cost fields on work orders, etc. So you are going to need to modify the length of all the attributes to which costs can flow. The attributes that are decimals will have to be updated individually. Unfortunately, there is not one attribute that is the "same as" source for all the cost attributes, so you'll have to hunt through the database for the affected fields. In the database configuration application, you can query for tables that contain attributes like "COST". The length of the amount attributes is controlled globally by updating the length for amount-type fields in the Field Length and Format dialog box (Select Action > Field Length and Format). Note that this action will affect all Amount attributes.
------------------------------
Nancy Lerner
Brio Consulting
Original Message:
Sent: 07-01-2024 15:04
From: Anna Max
Subject: Purchase Order Unit Cost & Line Cost Field Length Error
Hello,
I cannot enter the unit cost & line cost greater than 9 digits i.e (100,000,000).I'm getting below errors.
1- "The specified value 100000000 exceeds the maximum field length for the Unit Cost field. The maximum length is specified in the Database Configuration application. (BMXAA4163) More information"
2- "You entered more digits before the decimal point than is permitted in the field. (BMXAA4081E) More information"
Default PO and POLINE cost fields length is (Length=12 & Scale=4).
From Database Configuration i updated the cost and amount length:
Firstly, I tried to update the length from PO&POLINE to ((Length=16 & Scale=2). I got the same error.
Secondly, I tried updating the amount length from More Action "Field Length and Format" and changed the value from 10 to 14. I still get the same error.
Your support is highly appreciated!
Regards,
Anna
#Purchaseorder #po #fieldlength #unitcost #linecost #poline
#Customizations
#EverythingMaximo
#Procurement
------------------------------
Anna Max
QG
------------------------------