This commit is contained in:
@@ -5,6 +5,15 @@
|
|||||||
|
|
||||||
MISC ITEMS THAT CAME UP
|
MISC ITEMS THAT CAME UP
|
||||||
|
|
||||||
|
todo: *biz objects with foreign key constraints should call ValidateCanDelete
|
||||||
|
and validatecandelete *MUST* check for those constraints and return a proper error object
|
||||||
|
Note: this must happen independently for EACH reference so check each referencing table one by one and add an error for each to send back to user
|
||||||
|
this avoids displaying fucked up internal exception messages in english and is absolutely mandatory
|
||||||
|
Serach AyaSchema for "REFERENCES" and any table that is found in the object that table references must have a delete validation check added to the referenced object to check in the referencing table
|
||||||
|
iow: apartinventory REFERENCES apartwarehouseid so PartWarehouseBiz ValidateCanDelete must check if there are any apartinventory with this warehouse
|
||||||
|
(also PartWarehouseBiz ValidateCanDelete is the references for this code)
|
||||||
|
|
||||||
|
|
||||||
todo: standardize routes and route names and form names
|
todo: standardize routes and route names and form names
|
||||||
Use plural and singular names throughout for consistency
|
Use plural and singular names throughout for consistency
|
||||||
i.e. "-edit" forms shoudl be standardized to just th singular name so "part-assembly-edit" sb "part-assembly"
|
i.e. "-edit" forms shoudl be standardized to just th singular name so "part-assembly-edit" sb "part-assembly"
|
||||||
@@ -265,6 +274,7 @@ EACH OBJECT DEV CYCLE:
|
|||||||
Biz object and all supported interfaces (searchable, exportable etc)
|
Biz object and all supported interfaces (searchable, exportable etc)
|
||||||
Biz Object SEARCH Index / getsearchresult code add unique text fields
|
Biz Object SEARCH Index / getsearchresult code add unique text fields
|
||||||
Business rules port from v7 and new ones
|
Business rules port from v7 and new ones
|
||||||
|
ValidateCanDete MUST check if any foreign key constraints and return proper error rather than bombing on attempted delete
|
||||||
Notification code if applicable
|
Notification code if applicable
|
||||||
Controller routes and associated code
|
Controller routes and associated code
|
||||||
Translation keys
|
Translation keys
|
||||||
|
|||||||
Reference in New Issue
Block a user