कुल पेज दृश्य

शुक्रवार, 17 दिसंबर 2021

Tally Chapter 94 TDL to change voucher entry date in DayBook by Rajiv Mishra computer class

 TDL CODE

Easy way to change Voucher Entry date in DayBook








RAJIV- TDL CODE Beginning


=============================
===========================

[#Form: Day Book]

Add: Button: After : DSPShowGP : InputNewDate

[Button: InputNewDate]
Title: "Set Date"
Key: Ctrl+R
Action List : InputDate, ModifyDate

[Button: InputDate]
Key: Ctrl+R
Action: Alter: Rpt InputDate

[Button: ModifyDate]
Key: Ctrl+R
Action: Call : FuncEdit


[Function: FuncEdit]

Variable : MSTID : String
100 : WALK COLLECTION : SELDayVouchers
120 : SET : MSTID : "ID:"+ $$String:$MasterID
130 : NEW OBJECT : Voucher : ##MSTID
140 : SET TARGET : LedgerEntries[1]
160 : SET VALUE : Date : #NDate
170 : SET TARGET : ..
180 : SET TARGET : ..
190 : ACCEPT ALTER
200 : END WALK




[Collection: SELDayVouchers]

Data Source : Report : Current
Fetch : All Ledger Entries


[Report: Rpt InputDate]
Title : "Update Voucher Date"
Form : Input Date
Auto : Yes

[Form: Input Date]
Part : Input Date
Width: 25% Screen
Height: 8% Screen





[Part: Input Date]
Line: New Date

[Line: New Date]

Field : Long Prompt , NewDate
Local : Field: Long Prompt : Set As: "New Date"

[Field : NewDate]
Use : Short Date Field
Modifies : NDate
Border : Thin Box
Width : 15

[System : Variable]
Ndate : " "



[Variable : NDate]
Type : Date
Persistent : Yes
 


======================
======================


1 टिप्पणी:

 [#Form: Master Accounting Form] Delete: Bottom Buttons : Master Group, Master Ledger, Master VchType, Blank Button ;, Master Company Operat...