project QadFinancials > class BFRWReportMaster > method GetFRWTreeDetail

Description

Get basic details about Report Chart


Parameters


biFRWTree_IDinput-outputinteger
bcFRWTreeCodeinput-outputcharacter
ocFRWTreeDescriptionoutputcharacter
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program6/bfrwreportmaster.p)

/* Normalize input parameters */
if biFRWTree_ID  = 0    then assign biFRWTree_ID = ?.
if bcFRWTreeCode = '':U then assign bcFRWTreeCode = ?.

/* Precondition */
if biFRWTree_ID  = ? and
   bcFRWTreeCode = ?
then return.

/* Get details of the FRW Chart */
<Q-63 run ReportTreePrim (all) (Read) (NoCache)
   (input biFRWTree_ID, (FRWTreeNode_ID)
    input bcFRWTreeCode, (FRWTreeNodeCode)
    output dataset tqReportTreePrim) in BReportTree>
    
find first tqReportTreePrim no-error.
if available tqReportTreePrim
then assign biFRWTree_ID         = tqReportTreePrim.tiFRWTreeNode_ID
            bcFRWTreeCode        = tqReportTreePrim.tcFRWTreeNodeCode
            ocFRWTreeDescription = tqReportTreePrim.tcFRWTreeNodeDescription.