Cost Center name display in Bills Receivable Reports

Discussion in 'Requests' started by vishal.jayswal09, Jan 28, 2019.

    

  1. Hello Team,

    I want the Cost Center name in Bills Receivable Report. Below is the code.
    In One Voucher there are more than one cost center, but it is not displayed in Report.

    Kindly help me.


    [#Report: Bills Receivable]

    Variable : CostCentreName
    ;Set : CostCentreName : $Category:CostCentre:#CostCentreName
    [#Line: BILLCol1]

    Local : Field : BC : Set as: $$StringWord:1:$$LocaleString:"Vehicle Number"
    Local : Field : BC : Indent: 2

    [#Line:BILLCol2]

    Local : Field : BC : Set as: $$StringRemWord:1:$$LocaleString:"Vehicle Number"
    Local : Field : BC : Indent: 2
    [#Field: BILLFixed]

    Add : Field : At End : BC

    [Field : BC]
    Set as:$$CollectionField:$Name:$$value:CostCentreColl

    [Collection: CostCentreColl]

    Type : Cost Centre

    Filter : NoEmp
    Fetch : Name
    Fetch : AllLedgerEntries.*
    Fetch :AllLedgerEntries.Name
    [System: Formulae]

    NoEmp : $ForPayroll = "No"
     


Share This Page