Overview
Deletes a payroll concept record fromtab_conceptos by ID.
Signature
Parameters
Concept ID to delete
Returns
TRUE- Concept deleted successfullyFALSE- Delete failed
Example Usage
Validation Rules
- Concept ID must exist
- Cannot delete concepts referenced by payroll novelties
Error Handling
| SQL State | Description |
|---|---|
| 02000 | Concept ID does not exist |
| 23502 | Attempted to use NULL value |
| 22003 | Number is too large |
| 22P02 | Invalid data format |
| others | Unknown error |
Source
source/func/conceptos/fun_delete_conceptos.sql