can somebody add color to parent name (red) ledger (blue) in TRIAL BALNCE

Discussion in 'Free Source Codes' started by bikash agarwal, Apr 11, 2023.

    

  1. ;;code ;------------------------
    [#Part : GRP Explosion]
    Lines : DSP AccLine
    Repeat : DSP AccLine : GroupLedgerChildOfGroupName
    Scroll:Vertical

    Local:Line:DSP AccLine:Delete:Explode

    Local:Line:DSP AccLine:Add:Explode:GRP Explosion: $$IsGroup AND (@@IsWkgCapItem OR @@GrpExplodableJeno)

    Local:Line:DSP AccLine:Delete:space Top



    [System : Formula]
    GrpExplodableJeno : $$KeyExplode OR ##ExplodeFlag

    ;;

    can somebody add color to parent name (red) ledger (blue) in TRIAL BALANCE
     

    Attached Files:

    • 33.png
      33.png
      File size:
      18.7 KB
      Views:
      41


  2. Rohit Khedar

    Rohit Khedar Member


    Code:
    ;;Try this
    
    [#Part : GRP Explosion]
        Lines : DSP AccLine
        Repeat : DSP AccLine : GroupLedgerChildOfGroupName
        Scroll:Vertical
       
        Local: Line: DSP AccLine: Delete: Explode
        Local: Line: DSP AccLine: Add: Explode: GRP Explosion: $$IsGroup AND (@@IsWkgCapItem OR @@GrpExplodableJeno)
        Local: Line: DSP AccLine: Delete: space Top
        Local: Line: DSP AccLine: Border: Thin Bottom
       
    
    [System : Formula]
        GrpExplodableJeno : $$KeyExplode OR ##ExplodeFlag
       
    ;;--------------------------   
    
    [#Field: DSP DispName]
        Option:DSP DispNameOpt:##IsTrialBalance
       
        [!Field: DSP DispNameOpt]       
        Color: If $$IsLedger Then "Red" else If NOT $$IsEmpty:$ScrStyle then @@SV_VCHTYPE else +
                          If $$IsEmpty:$$ExplodeLevel then "Blue" else "Leaf Green"
                         
    [#Field: DSP ClDrAmtA]   
        Option:DSP ClDrAmtAOpt:##IsTrialBalance
       
        [!Field: DSP ClDrAmtAOpt]
        Color: If $$IsLedger Then "Red" else If NOT $$IsEmpty:$ScrStyle then @@SV_VCHTYPE else +
                          If $$IsEmpty:$$ExplodeLevel then "Blue" else "Leaf Green"
                         
    [#Field: DSP ClCrAmtA]   
        Option:DSP ClCrAmtAOpt:##IsTrialBalance
       
        [!Field: DSP ClCrAmtAOpt]
        Color: If $$IsLedger Then "Red" else If NOT $$IsEmpty:$ScrStyle then @@SV_VCHTYPE else +
                          If $$IsEmpty:$$ExplodeLevel then "Blue" else "Leaf Green"
    
    
     



  3. yes !! thanks Sir :)
     


Share This Page