DEAR ALL WE SET VOUCHER CLASS IN SALES VOUCHER AND I WANT TO SHOW SAVE CLASSES IN LEDGER MASTER AND SAVE PARTICLE CLASS IN DEFENDED LEDGER . PL GUIDE US.. THANKS
Please explain clearly.... "SAVE PARTICLE CLASS IN DEFENDED LEDGER ." Do you mean -- "Particle = Particular" and "defended = dependent" ??? And Please do not use ALL CAPS..........
Ok Sir Thanks For This but give me solution. i already created code but i want to default Class taken to select ledger in sales invoice. [#Part: MST LED Explode Sundry] Add : Lines : LEDCLASS [Line: LEDCLASS] Fields : Medium Prompt,LEDCLASS Local: Field: Medium Prompt : Set as : "LEDCLASS" Invisible: not ($$IsBelongsTo:$$GroupSundryDebtors Or $$IsBelongsTo:$$GroupSundryCreditors) [Field: LEDCLASS] Use: Name Field Set as: $ClassName Table : Class Table Sales
Just as u have made this code...where is your code for Invoice entry??? Above code seems right........is there any problems??
sir we use multiple class in sales voucher and i want to predefined ledger wise class when select party name in sales voucher auto taken predefined class in ledger master
I understood....now u understand what i am asking...where is your code for sales Invoice?? Make a code, and we can help you along, if any problems. Or are you expecting others to make the code for you?
sir i want to use invoice tally default code voucher class not save in predefined ledger .. if you want help us in this subject. thank u
In your CLASS field.... put ... Storage : LedClassName then specify the UDF parameters........ then .... [#Object : Ledger] LedClassName : $LedClassName Now this will be saved.......and will be available for use in the invoice entry code............
as i understand you have to save your ledgers under groups, and in voucher class you have "exclude or include " these
Thank u sir for reply but not clear if dont mind pl update my code Thanks again. [#Part: MST LED Explode Sundry] Add : Lines : LEDCLASS [Line: LEDCLASS] Fields : Medium Prompt,LEDCLASS Local: Field: Medium Prompt : Set as : "LEDCLASS" Invisible: not ($$IsBelongsTo:$$GroupSundryDebtors Or $$IsBelongsTo:$$GroupSundryCreditors) [Field: LEDCLASS] Use: Name Field Set as: $ClassName Table : Class Table Sales
[#Part: MST LED Explode Sundry] Add : Lines : LEDCLASS [Line: LEDCLASS] Fields : Medium Prompt,LEDCLASS Local: Field: Medium Prompt : Set as : "LEDCLASS" Invisible: not ($$IsBelongsTo:$$GroupSundryDebtors Or $$IsBelongsTo:$$GroupSundryCreditors) [Field: LEDCLASS] Use: Name Field Set as: $ClassName Table : Class Table Sales Storage : LedClassName [System : UDF] LedClassName : String : 12123 [#Object : Ledger] LedClassName : $LedClassName
thank you sir for quick reply but Error showing "Field:LedClass Incorrect STOREGE! after ledger atler or create mode.
My Main Need Is Auto taken Class In Sales Create Mode by defined Class In Master "In This Code Not Come Error But Not Working In Sale Create Mode " [#Part: MST LED Explode Sundry] Add : Lines : LEDCLASS [Line: LEDCLASS] Fields : Medium Prompt,LEDCLASS Local: Field: Medium Prompt : Set as : "LEDCLASS" Invisible: not ($$IsBelongsTo:$$GroupSundryDebtors Or $$IsBelongsTo:$$GroupSundryCreditors) [Field: LEDCLASS] Use: Name Field Set as: $LedClassName Table : Class Table Sales Storage : LedClassName [System : UDF] LedClassName : String : 12123 [#Object : Ledger] myLedClassName : $LedClassName
How are you expecting it to work..... when there is no CODE existing to carry forward the Ledger Master values to the Sales Invoice. You need to write your code for that to happen.
Yes sir, i create two different class in sales voucher and this class set in ledger master different ledger different voucher class and finely invoice create (billing) time auto pickup predefined class save put ledger name. attach image1,2,3 So pl right guide as per need... thanks again.
I have understood....now you need to understand what I am saying..... and am repeating it again..... Just like you wrote a code in Ledger Master to select CLASS ..... same way you need to alter codes for SALES VOUCHER......so as...when you select the ledger name the Voucher class gets updated with the ClassName as specified in the master. So you need to write a code for this also.................It is not going to change on its own. You need to alter the Field : VCH VoucherClass Main
ldharjani Try This Modified code Enjoy..... [#Part: MST LED Explode Sundry] Add : Lines : LEDCLASS [Line: LEDCLASS] Fields : Medium Prompt,LEDCLASS Local: Field: Medium Prompt : Set as : "LEDCLASS" Invisible: not ($$IsBelongsTo:$$GroupSundryDebtors Or $$IsBelongsTo:$$GroupSundryCreditors) [Field: LEDCLASS] Use : Name Field Set as: $ClassName Table : Class Table Sales Storage : MRILedClassName [System : UDF] MRILedClassName: String : 12123 [#Field: VCH VoucherClass Main] Set as : If ($$IsSysNameEqualefaultVoucherClass:##SVClass) Then $$SysName:NotApplicable Else + If NOt $$IsEmpty$MRILedClassName:Ledger:#EIConsignee) then ($MRILedClassName:Ledger:#EIConsignee) Else ##SVClass Happy coding
thank you sir for complete code but our target is not salve we use two class in sales invoice 1. GST -means inclusive GST 2. new - means add GST your tdl change class name only . see image ......
The report needs to be refreshed after the CLASSNAME change....... In the Voucher Entry screen, the CLASS comes first, then a couple of details and THEN comes the LedgerName selection. So as per the code and as per selection of class in the LedgerMaster, the class name gets changed.....but the report is not being refreshed.
i ok sir this report success to be refreshed after the CLASSNAME change....... but not change setting under class i want to complete change setting under class.