hello friends i have created report and its work properly with all vouchertype like (Columnar) sales , purchase and all but i want to do when user click on that row it should open voucher i am using below code Option: AlterVchOnEnter : yes but problem is that if voucher is sales still its open payment screen , my concern is if voucher type sales then it should be open sales , if purchase then should be open Purchase alter voucher with detail. Kindly Suggest, Thank You !
i tried this sir but not working [Line: TSPL SMP SourceFetch] Field : TSPL SMP VchDate, TSPL SMP VchNumber, TSPL SMP VchType, PartyName,productf,PQTY,TSPL SMP BName Right Field : TSPL SMP BAmount, TSPL SMP VchAmount Local: Field: Default : Style : Normal Option: AlterVchOnEnter : yes
sir i had tried that , but not found , can you suggest ? [Fieldroductf] Use:name field Set as:$StockItemName ;Width: 10 Border : Thin Left Alter : Voucher : $$IsVoucher [FieldQTY] Use:Qty Primary Field Set as:$BilledQty;$DspVChinQTY;$VchQty;$BilledQuantity;$origactualqty;$ActualQty;$BilledQty;$QTY ;Width: 10 Border : Thin Left Alter : Voucher : $$IsVoucher [FieldartyName] Use:name field Set as:$PartyName ;Width:10 Border : Thin Left Alter : Voucher : $$IsVoucher [Field: TSPL SMP VchDate] Use : Uni Date Field Set as : $Date Width : 8 Align : Left Alter : Voucher : $$IsVoucher [Field: TSPL SMP VchNumber] Use : Name Field Border : Thin Left Set as : $VoucherNumber Alter : Voucher : $$IsVoucher [Field: TSPL SMP VchType] Use : Name Field Border : Thin Left Set as : $VoucherTypeName ; Alter : Voucher : $$IsVoucher ;Option: AlterVchOnEnter : Yes Alter : Voucher : $$IsVoucher [Field: TSPL SMP BName] Use : Name Field Border : Thin Left Set as : $BName Alter : Voucher : $$IsVoucher [Field: TSPL SMP BAmount] Use : Amount Field Border : Thin Left Set as : $BAmt Alter : Voucher : $$IsVoucher [Field: TSPL SMP VchAmount] Use : Amount Field Border : Thin Left Set as : $Amount ;; This is fetched from the Source Object using Attribute Source Fetch Alter : Voucher : $$IsVoucher
The default setting of Voucher is Payment ......... and in case of open tally session data....... the last type of voucher created or altered will be the new default. Other Option is to use Function.... In LINE level.......... Option : AlteronMouseDoubleClick [!Line : AlteronMouse DoubleClick] Key : AlteronMouseDoubleClick [Key : AlteronMouseDoubleClick] Key : Left Double Click Action : Call : ThisVchAlter Inactive: (NOT $$InDisplayMode ) [Function: ThisVchAlter] Variable : VoucherID 00 : Set : VoucherID:<Ur Fld Name> where the MasterID is, if not there then create a Field for Master ID. 20 : Alter : Voucher