Dear Expert, please give me the suggestion to correct my code for the following requirement 1. i created a feild in recipet and payment voucher screen and i stored the value also 2. i need to get that value to the respecive ledgers for that i created the title in ledger also 3.but i am unable to get the value to the ledger plz suggest me the correction in this regard ;;=======modification of receipt and payment voucher==== [#Line: ACLSTitle] Add:Right Field:Before:VCH DebitTitle:Mode [Field:mode] Use:name field Set as:"MODE" Border:column titles Color:blue [#Line: ACLSInfo] Add:Right Field:Before:ACLSAmt:mode1 [Field:mode1] Use:name field Table:mode,end of list:$$line=1 Set as: If $$IsEmpty:$$Value then "Select " else $$Value Storage: mode Set Always:Yes ;Invisible:if not $$line=1 then yes else no [Table:mode] Title : $$LocaleString:"Mode of Payment" List Name :Cash , Cheque [System:UDF] mode:String:880 ;;;=creation of title in ledger for mode of payment program;;;===== [#Line: DSP VchAccTitles] Add:Right Field:BeforeSP VchTypeTitle:modeled [Field:modeled] Use:name field Set as:"MODE" Skip:Yes Color:blue [#LineSP VchDetail] Add:Right Field:BeforeSP VchType:modeled1 [Field:modeled1] Use:name field Set as:$mode Color:blue [#Collection: Vouchers of Ledger] Fetch: mode
Code: [#Line: ACLSTitle] Add:Right Field:Before:VCH DebitTitle:Mode [Field:mode] Use:name field Set as:"MODE xx" Border:column titles Color:blue [#Line: ACLSInfo] Add:Right Field:Before:ACLSAmt:mode1 [Field:mode1] Use:name field Table:mode,end of list:$$line=1 Set as: If $$IsEmpty:$$Value then "Select " else $$Value Storage: udfmode Set Always:Yes ;Invisible:if not $$line=1 then yes else no [Table:mode] Title : $$LocaleString:"Mode of Payment" List Name :Cash , Cheque [System:UDF] udfmode:String:880 ;;;=creation of title in ledger for mode of payment program;;;===== [#Line: DSP VchAccTitles] Add:Right Field:Before:DSP VchTypeTitle:modeled [Field:modeled] Use:name field Set as:"MODE" Skip:Yes Color:blue [#Line:DSP VchDetail] Add:Right Field:Before:DSP VchType:modeled1 [Field:modeled1] Use:name field Set as: $mymode Color:blue [#Collection : Vouchers of Ledger] Compute : mymode : $$CollectionField:$mymodeobj:1:LedgerEntries [#Object : Ledger Entry] mymodeobj : $udfmode
Dear Amit Ji thank you very much for your great support and guidance and through which i could know the mistakes made by me during programming and your continuous support to this form is highly required to encourage a new members like me thank you sir