Few lines are missing here.
Pls watch the full video to get full coding.
[#Form: Day Book]
Add : Button : Update OptVouchers
[Button : Update OptVouchers]
Title : "Optional"
Key : Ctrl + O
Action : Execute : Update Voucher to Optional
[Report : Update Voucher to Optional]
Title : "Update Vouchers"
[Form : Update Voucher to Optional]
Parts : Update Voucher to Optional
Option : Small Size Form
Full Width : No
Space Left : 1
Space Right : 1
On : Form Accept : Yes : Call : Update Voucher as Optional
[Part : Update Voucher to Optional]
Lines : Form SubTitle, Update Voucher to Optional
Local : Field : Form SubTitle : Info : "Update Voucher Status"
Space Bottom: 1
[Line : Update Voucher to Optional]
Fields : Long Prompt, Logical Field
Local : Field : Long Prompt : Set as : $$String:"Vouchers will be Updated as Optional :"
[Function : Update Voucher as Optional]
010 : START BATCH POST : 500
020 : Walk Collection : Selected OptVouchers for Update
030 : Set Object : (Voucher, ##VchID).
040 : Set Target
050 : Set value : IsOptional : Yes
060 : Set Value : Narration : "Status Changed"
070 : Alter Target
080 : Set Target : ..
090 : End Walk
500 : End Batch Post
[Collection : Selected OptVouchers for Update]
Data Source : Parent Report : Selected Lines
कोई टिप्पणी नहीं:
एक टिप्पणी भेजें