project QadFinancials > class BMfgCostCenter > 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 BMfgCostCenter.UpdateMfgData


program code (program/bmfgcostcenter.p)

<ANCESTOR-CODE>

if ocTranslatedText <> '':U and ocTranslatedText <> ? then 
        assign tcc_mstr.cc_desc = ocTranslatedText.
else
    assign tcc_mstr.cc_desc = ihFinancialDataBuffer:buffer-field('CostCentreDescription':U):buffer-value.