;;======================
;;ALT+D provisions
;;======================
  
;;Account Info >> Ledger >> Alter >> Alt+D
;;Display >> Daybook >> SelectAnyVoucher >> Enter >> Alt+D
;;Display >> Account Books >> Ledger >> SelectLedger >> SelectAnyVoucher >> Enter >> Alt+D
;;----------------------------------------------------------------------------------------
[#Key: BottomToolBarBtn3_Delete]
  Title   : $$LocaleString:"Delete"
  Option: RbinFormDelete: if ($$IsVoucher AND NOT ##IsRestoreMode) then Yes else No

;;Change the functionality of Alt+D in Daybook. Instead of deleting, alter / open the voucher
[#Key: BottomToolBarBtn3]  
  Title   : $$LocaleString:"Delete"
  Option: RbinDeleteLineObject: Yes

;;Unknown 
[#Key: BottomToolBarBtn3_Voucher]
  Title   : $$LocaleString:"Delete_Voucher"
  Option: RbinFormDelete: Yes
  
;;Required for Display >> Account Books >> Ledger
;;Required for Display >> Account Books >> Group Vouchers
[#Key: Delete Line Object]
  Key     : Alt+D
  Option: RbinDeleteLineObject: Yes
 
;;Required for Display >> Account Books >> Ledger
;;Required for Display >> Account Books >> Group Vouchers
[#Key: Delete Line ObjectEx]
  Key     : Alt+D
  Option: RbinDeleteLineObject: Yes
  
 ;;Optional definition
[!Key: RbinFormDelete]
  Key: Alt+D
  Action: Alter: Rpt Confirmation

;;Optional definition  
[!Key: RbinDeleteLineObject]
  Key: Alt+D
  Action: Alter Object

;;========================
;;CTRL+R - Restore Voucher
;;========================
[Key: Restore from Bin]
  Key: CTRL+R
  Action: Alter Object
