FRSDESC Function
This function returns the account segment name from the General Ledger segment codes table, given a segment number and code.
Syntax
FRSDESC(segment number, segment code)
Arguments
Argument | Description |
---|---|
segment number | G/L segment number, from 1 to 10 |
segment code | G/L segment code |
Examples
In the following examples, segment 1 is the department segment. The third example shows how to use the FR function to return the segment code for the current report.
Statement | Return Value |
---|---|
=FRSDESC(1,"USEAST") | Eastern United States |
=FRSDESC(1,"SALES") | Sales Department |
=FRSDESC(1,FR("CurAcSegVal1")) | Sales Department |