project QadFinancials > class BMfgUserRole > method MaintainData


Parameters


tUserRoleDomaininputtemp-table
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BUserRole.AdditionalUpdates


program code (program1/bmfguserrole.p)

If oiReturnStatus = 0
Then Assign oiReturnStatus = -98.

/*
* Execute the ProcessMaintainData method to execute the generic processing 
* of the update in the Financials across to the MFG/PRO database.
*/
<M-5 run ClearData (output viFcReturnSuper (oiReturnStatus)) in BMfgUserRole>
if viFcReturnSuper <> 0 then assign oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0 then return.
<M-3 run ProcessMaintainData (output viFcReturnSuper (oiReturnStatus)) in BMfgUserRole>
if viFcReturnSuper <> 0 then assign oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0 then return.
<M-6 run ProcessMaintainDataSave (output viFcReturnSuper (oiReturnStatus)) in BMfgUserRole>
if viFcReturnSuper <> 0 then assign oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0 then return.

If oiReturnStatus = -98
Then Assign oiReturnStatus = 0.