Currently on issuing "cost" value above 999 throws this error
" Failed to update Hardware Profile cost PG::Error: ERROR: numeric field overflow DETAIL: A field with precision 8, scale 5 must round to an absolute value less than 10^3. : INSERT INTO "costs" ("billing_model", "chargeable_id", "chargeable_type", "created_at", "price", "updated_at", "valid_from", "valid_to") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" "
Currently on issuing "cost" value above 999 throws this error
" Failed to update Hardware Profile cost PG::Error: ERROR: numeric field overflow DETAIL: A field with precision 8, scale 5 must round to an absolute value less than 10^3. : INSERT INTO "costs" ("billing_model", "chargeable_id", "chargeable_type", "created_at", "price", "updated_at", "valid_from", "valid_to") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" "
Expected : Display appropriate validation message