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
 


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


टिप्पणियाँ

एक टिप्पणी भेजें

इस ब्लॉग से लोकप्रिय पोस्ट

Tally Chapter 153 TDL for Custom List of Stock Item By Rajiv Mishra Computer Class

Tally Chapter 130 TDL for Stamp & Signature By Rajiv Mishra Computer Class

Tally Chapter 105 TDL for Receipt contra Payment BULK Entry by Rajiv Mishra Computer Class