Delete disable not working in tally prime

Discussion in 'Free Source Codes' started by Nai Rahul, Dec 18, 2020.

    
  1. Nai Rahul

    Nai Rahul New Member


    hlo team

    i wish you all are healthy and be safe

    i have facing a issue in delete disable button in tally prime can any one guide me for delete button how i can disable it because of in tally prime button are hide on screen but it will work while pressing a key

    that not working in reports level in daybook and sales Report


    [SYSTEM:FORMULA]
    RahulDD : Yes
    [#Key: BottomToolBarBtn3_Delete]
    option : SdkIsVoucherDelete :mad:@RahulDD AND ($$IsVoucher) and not $$iscmpowner
    [#Key: BottomToolBarBtn4_Cancel]
    option : SdkIsVoucherDelete :mad:@RahulDD AND ($$IsVoucher) and not $$iscmpowner
    [!Button: SdkIsVoucherDelete]
    inactive : Yes
    delete : action
    [#form: DayBook]
    option:SdkDaybookDelete:mad:@RahulDD AND not $$iscmpowner

    [!Form:SdkDayBookDelete]
    local : button : BottomToolBarBtn3 : delete : action
    local : button : BottomToolBarBtn3 : inactive : yes
    local : button : Delete Line Object: delete : action
    local : button : BottomToolBarBtn4 : delete : action
    local : button : BottomToolBarBtn4 : inactive : yes
    local : button : Cancel Line Object: delete : action

    [#form: LedgerVouchers]
    option:SdkDaybookDelete:mad:@RahulDD AND not $$iscmpowner
    ;;Code Ends here
    ;; To Remove All Alt + D Buttons from Tally
    [#Key : Form Delete]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : yes
    delete : action
    [#Key : Form Cancel]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner

    [#Button: BottomToolBarBtn3]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    delete : action
    inactive : yes
    [#Button: BottomToolBarBtn4]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    delete : action
    inactive : yes
    [#Key: BottomToolBarBtn3_Delete]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : yes
    delete : action
    [#Key: BottomToolBarBtn4_cancel]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : yes
    delete : action
    [#Key: Delete Column]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : Yes
    delete : action
    [#Key: Delete Line Object]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : Yes
    delete : action
    [#Key: Cancel Line Object]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : Yes
    delete : action
    [#Key: Delete Line ObjectEx]
    option : SdkIsVoucherDelete :mad:@RahulDD AND $$IsVoucher and not $$iscmpowner
    inactive : yes
    delete : action
     


  2. Sajith Sabu

    Sajith Sabu New Member


    Try this....o_Oo_Oo_O


    Code:
    [#Button: BottomToolBarBtn3_Delete]
       
        Option    : DeleteBlock    : Not $$IsCmpOwner 
               
    [#Key    : BottomToolBarBtn3]
           
        Option    : DeleteBlock    : Not $$IsCmpOwner 
       
    [#Key: Delete Line Object]
           
        Option    : DeleteBlock    : Not $$IsCmpOwner 
       
    [#Form    : Default]
       
        Option    : DeleteBlock    : Not $$IsCmpOwner 
               
    [!Key    : DeleteBlock]
       
        Inactive    : Not $$IsCmpOwner
        Delete        : Action
       
    [!Form    : DeleteBlock]
       
        Delete    : Key    : FormDelete
        Delete    : Key    : Form Delete Object
     


  3. Nai Rahul

    Nai Rahul New Member


    thank You Sir
     
    Sajith Sabu likes this.


Share This Page