project QadFinancials > class BMfgEmployee > method PerformMfgUpdate

Description

Method used to control the update processing of the financial information into the MFG/PRO database. This method must be implemented when utilizing the generic update infrastructure.
THIS MEANS THIS METHOD NEEDS TOP BE OVERRIDDEN IN THE DESCENDANT CLASS, NOT JUST EXTENDED


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program1/bmfgemployee.p)

assign
    oiReturnStatus = -98.
    vcMfgBufferHandle = string(temp-table temp_mstr:handle:default-buffer-handle).

<M-2 run ProcessSystemWideToMfg (input  temp-table tMfgEmployee:handle:default-buffer-handle (ihFinancialDataBuffer), 
                                 input  vcMfgBufferHandle (icMfgBufferHandleList), 
                                 output viFcReturnSuper (oiReturnStatus)) in BMfgEmployee>

if viFcReturnSuper <> 0 then assign oiReturnStatus = viFcReturnSuper.                                    
if viFcReturnSuper < 0 then return.

if(oiReturnStatus = -98) then
    oiReturnStatus = 0.