Description
Get basic details about Report Chart
Parameters
| biFRWChart_ID | input-output | integer | |
| bcFRWChartCode | input-output | character | |
| ocFRWChartDescription | output | character | |
| oiReturnStatus | output | integer | Return status of the method. |
Internal usage
unused
program code (program6/bfrwreportmaster.p)
/* Normalize input parameters */
if biFRWChart_ID = 0 then assign biFRWChart_ID = ?.
if bcFRWChartCode = '':U then assign bcFRWChartCode = ?.
/* Precondition */
if biFRWChart_ID = ? and
bcFRWChartCode = ?
then return.
/* Get details of the FRW Chart */
<Q-50 run FRWChartPrim (all) (Read) (NoCache)
(input biFRWChart_ID, (FRWChart_ID)
input bcFRWChartCode, (FRWChartCode)
output dataset tqFRWChartPrim) in BFRWChart>
find first tqFRWChartPrim no-error.
if available tqFRWChartPrim
then assign biFRWChart_ID = tqFRWChartPrim.tiFRWChart_ID
bcFRWChartCode = tqFRWChartPrim.tcFRWChartCode
ocFRWChartDescription = tqFRWChartPrim.tcFRWChartDescription.