I Want Value In Voucher Screen From Costcenter Master Level(UDF Value)

Discussion in 'Free Source Codes' started by Sanjay preethi, Jan 24, 2021.

    

  1. Any One Help Me

    How To Get The Value In Voucher Screen From Master Level(UDF Value)
     

    Attached Files:




  2. ;;;;;;;My Code Below;;;;;;;;

    [Field: VCHCST Amt Limit]

    Use : Amount Field
    Width : @@VCHAmountWidth
    Storage : CostLimitAmount
     




  3. This Issue Solved
     

    Attached Files:




  4. Any One Help Me Sir One More Query

    I Want Cost Center Closing Value

    first Line Correctly Fitch The Value But Second ,third,,Etc,, the Line is Empty



    [Field:VCHCST Closing]
    Use: Amount Field
    Set as : $$CollectionField:$Amount:MyCostEntries:AllCostSource
    Storage : VchCostClose
    ;Set Always : Yes
    Width : 12
    ;Skip : Yes


    [Collection:AllVchrsCost]
    Type : Vouchers : Cost Centre
    Child Of : $Name
    Fetch : Amount, VchCCAmt
    Compute : CCName : $$LoopCollObj:$Name


    [Collection:AllCostSources]
    Source Collection : AllVchrsCost
    Walk : LedgerEntries
    Compute : Date : $$Owner:$Date
    Compute : VoucherTypeName : $$Owner:$VoucherTypeName
    Compute : LedgerName : $LedgerName
    Compute : Amount : $Amount
    Compute : CCName : $$LoopCollObj:$Name

    [System:Formula]
    MyCostEntries : $Name = #VCHCSTName
     

    Attached Files:



  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Try CollectionFieldByKey
     



  6. Not Working Sir

    [Field:VCHCST Closing]
    Use: Amount Field
    Set as : $$CollectionFieldByKey:$Amount:mad:MyCostEntriesKey:AllCostSource
    Storage : VchCostClose
    ;Set Always : Yes
    Width : 12
    ;Skip : Yes


    MyCostEntriesKey : $Name = #VCHCSTName
     


Share This Page