Plz correct my cost center code

Discussion in 'Requests' started by imranlhr, Apr 21, 2020.

    
  1. imranlhr

    imranlhr Member


    Dear Experts,

    I created two extra fields one for cost category and other is for cost center but after selection of cost category when i select cost center it shows complete list of cost centers but i need when i select cost category it shows only particular cost centers related to cost category. please help me to resolve this issue.


    My code is

    [Field : MCCT]
    Use : Name Field
    Table : Voucher Cost Category VchExtract
    width : 18

    Storage : udfMCCT
    Skip : If $$IsSysnameEqual:EndofList:$StockItemName then Yes Else No

    [Field : MCC]
    Use : Name Field
    Table : Cost Centre Table
    Show Table : Always



    Skip : If $$IsSysnameEqual:EndofList:$StockItemName then Yes Else No
    width : 18

    Storage : udfMCC


    [System : UDF]
    udfMCCT : String : 21709
    udfMCC : String : 21710


    [Collection: Cost Centre Table]
    Type: Cost Centre
    Source Collection: List Of CostCentres
    Child Of: $$udfMCCT
     


Share This Page