-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJSONExport.txt
55 lines (39 loc) · 960 Bytes
/
JSONExport.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[Function:ExportToJson]
01:Set:SVExportFormat:$$SysName:UTF8JSON
02:Set:SVExportLanguage:$$SysName:UTF8JSON
03:Set:SVPrintFileName:"ListOfLedgers.json"
04:Export Report:.:Yes:Yes
[#Menu:GatewayOfTally]
Add:Key Item:Json Report:J:Display:JsonReport
[Report:JsonReport]
Form:JsonReport
Plain JSON:Yes
[Form:JsonReport]
Part:JsonReport
Button:ExportJson
JSONTag:"LEDGERS"
[Part:JsonReport]
Scroll:Vertical
Line:JsonReport
Height:100% page
Width:100% page
Repeat:JsonReport:JsonLedgerCollection
[Line:JsonReport]
JSONTag:"LEDGER"
Fields:JsonLedgerName,JsonLedgerParent
Space Top:1
[Field:JsonLedgerName]
Set as:$Name
JSONTag:"Name"
Use:Name Field
[Field:JsonLedgerParent]
Set as:$Parent
JSONTag:"Group"
Use:Name Field
[Collection:JsonLedgerCollection]
Type:Ledger
Fetch:Name,Parent
[Button:ExportJson]
Title:"Export JSON"
Key:ALT+E
Action:Call:ExportToJson