insert | insert | AUTO_ID: deductionID
AUTO_ID_KEY: PRODUCTBO
PRE_DATA_ACCESS: yes
| Standard Operation | |
read | read | | Standard Operation | |
modify | modify | OPTIMISTIC_LOCKING: yes
PRE_DATA_ACCESS: yes
| Standard Operation | |
readActiveDeductionByName | nsread | PRE_DATA_ACCESS: yes
| Returns the active deduction record based on the deduction name. | |
validateModify | | | Validates deduction details before modifying. | |
readStatus | nsread | | Returns the status value. | |
cancel | nsmodify | OPTIMISTIC_LOCKING: yes
PRE_DATA_ACCESS: yes
| Changes the status of the deduction to 'cancelled' | |
validateCancel | | | Validates deduction details before updating to 'canceled'. | |
readLowestPriority | ns | PRE_DATA_ACCESS: yes
| Returns the lowest Deduction priority. The lowest priority returned will be the highest numerical value i.e. in a list of deductions with priorities 1, 2, 3, 4, 5, the lowest priority would be 5. | SQL |
searchActiveDeductionIDPriority | nsmulti | PRE_DATA_ACCESS: yes
| Returns a list of active deduction id's and priorities. | SQL |
readPriority | nsread | | Returns the priority value for a deduction record. | |
readActiveDeductionByPriority | nsread | PRE_DATA_ACCESS: yes
| Returns deduction details for an active deduction based on the priority value. | |
searchAll | nkreadmulti | ORDER_BY: recordStatus, priority
| Returns a list of deductions sorted by record status and priority. | |
validateInsert | | | Validates deduction details before inserting a deduction record. | |
modifyPriority | nsmodify | | Modifies the priority of a deduction record. | |
insertDeduction | insert | | <p>
<span style="COLOR: #002060">Inserts deduction record. This method expects the deductionID to be set. It is preferred
to call <font color="#000000">insertDeduction</font> method only in scenarios where calling method wants to set the
value of primary key by itself.</span>
</p> | |
modifyDeduction | modify | OPTIMISTIC_LOCKING: yes
| This modify operation will be called while re-applying a change set in the target system. Entity level validations that will happen during a standard modify operation will not be applicable in this case. This modify operation will update all the attributes defined for this entity. | |