project QadFinancials > class BMfgUserDomainForUser > method UpdateMfgData

Description

Controls the processing of any update logic that is required when performing a create/modfiy operation on an MFG/PRO business component.
KEEP THE ANCESTOR TAG IN THE DESCENDANTS TO AVOID SCOPING PROBLEMS ON THE RECORD-AVAILABILITY
This method is the place holder for nay update ligic and complex mapping from the financials table to MFG/PRO.


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 Financial 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 has multiple tables that map to MFG/PRO.
ihFinancialDataBufferinputhandle
ihMfgDataBufferinputhandle
icMfgDomaininputcharacter
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program/bmfguserdomainforuser.p)

<ANCESTOR-CODE>

If oiReturnStatus = 0
Then Assign oiReturnStatus = -98.

Assign tudd_det.udd_userid = tUserDomain.tcUsrLogin
       tudd_det.udd_domain = tUserDomain.tcDomainCode.
                                                                
If oiReturnStatus = -98
Then Assign oiReturnStatus = 0.