project QadFinancials > class BMfgUserRole > method DeleteMfgData

Description

Controls the process of deleting the MFG/PRO record from the temp table. Validation logic that is not part of the schema definition also must be placed in this procedure.
KEEP THE ANCESTOR TAG IN THE DESCENDANTS TO AVOID SCOPING PROBLEMS ON THE RECORD-AVAILABILITY
This method only has to be implemented in extending classes when special delete processing is required.


Parameters


icMfgTableNameinputcharacterName of the MFG/PRO table name that is currently being processed. This is used to determine which logic to execute within the method in the cases where one business component maps to multiple tables in MFG/PRO.
icFinancialTableNameinputcharacterName of the current financials table being processed, used to determine which logic to execute.
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program/bmfguserrole.p)

<ANCESTOR-CODE>

assign oiReturnStatus = -98.

assign tusrgd_det.tc_status  = tUserRoleDomain.tc_Status.

if oiReturnStatus = -98
then assign oiReturnStatus = 0.