project QadFinancials > class BMfgSubAccount > method ReplicateDomainDescription

Description

Controls the replication of the description of an object using the proper translated text based on the domain


Parameters


icFinancialTableNameinputcharacter
ihFinancialDataBufferinputhandle
icMfgDomaininputcharacter
ocTranslatedTextoutputcharacter
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BMfgSubAccount.UpdateMfgData


program code (program/bmfgsubaccount.p)

<ANCESTOR-CODE>

if ocTranslatedText <> '':U and ocTranslatedText <> ? then 
        assign tsb_mstr.sb_desc = ocTranslatedText.
else
    assign tsb_mstr.sb_desc = ihFinancialDataBuffer:buffer-field('DivisionDescription':U):buffer-value.