18 thoughts on “Case Study : How to solve the Border Alignment in Printing”
Giridharan Varadharajan
Sir,
Thank you very much for guiding the proper approach to solve the border issue and
also naming the files more meaningful for future retrieval and for easy understanding by others.
Great explanation.
Yes, naming and proper arranging file is very important. Imagine I am having around 3500 tdl files and If I don’t name properly, I will be in a mess. The Reason is that I always get similar types of projects. So, I simply look for that type of project copy paste the entire file and then do modify that and by that way, I can create a complete module within an hour. Else I have to spend a whole week to write the same code from scratch.
Now, If I don’t name them properly or organise them then I can’t do coding properly and I have to quit from the competition.
So, learn it in the right way, we have to develop the best habit from the day 1st like the way you are learning is the best.
Great and I am glad that it worked.
I think these case studies are the best ways to help us to learn and share the knowledge.
I am learning a lot from my students that how they are coding and what issues they are facing.
This is the reason, I don’t want to fix any specific course schedule as I design and prepare the course structure based upon the student’s progress, issues and how they are coding.
Sir, I really liked your teaching methods. Maximum issues regarding Border is resolved now.
Before watching this valuable tutorial, I was messed up with the Invoice Customization Part, because i was defining the border at each level. this will help me a lot.
Sir, I have a query regarding border alignment. I m currently did the customization regarding serial no. and edition coloumn & it is running perfectly.
Whenever I am giving the ledgers like central tax, state tax and rounding off, all the borders getting messy however it is working perfect if i don’t put any ledger in voucher entry.
I will put the codes shortly. Sir I’ve one more query 🙂
I need to fix the rate in sales voucher rate field and that is to be MRP of the Product less Discount @ 70%
For example if Product A have an MRP Rs. 100.00 & discount allowed is 70% on MRP then the billing rate should be Rs 30.00.
For the same purpose i had wrote the code in which I added two columns one is Discount in Percentage and Second is Discount Amount (Which is to be calculated on MRP.)
Everything is running smoothly. I have problem in Rate field.
I am putting the codes in my folder named “Shiv Yogesh” and the file name is “KanhaSalesVoucher”
Please suggest the measures.
Hello Yogesh,
Let’s keep this chapter limited to the Border issue if you try to add everything here it will be confusing.
For the MRP we already have a chapter on fetching value from the standard rate.
You need to follow the same you need to read and understand how the default MRP works in Tally. do a lot of testing. Change the background in the default MRP and try to find out if you are hitting the right field. You have to struggle a lot.
biggest issue is keep this chapter/case study only for the border alignment else it will be a mess up if we try and add everything here.
I always love one topic at a time to avoid any confusion
I Got it.
Sir, I had added a new folder in my Dropbox named Shiv Yogesh, Dehradun in which both the files exist. One for Voucher Modification another one is for Invoice modification for my query relating to border issue.
Thankyou Sir
Okay,
I will add a case study video to solve the border issue in the coming days. It will take time. 5-7 days.
You need to find out the rate field default definitions and study how that is coded. Remove the existing set and then add your own sets for rate issue.
Alternatively we will cover it in some other chapter. Every chapter has a certain purpose and we can’t do everything from one single project/chapter. We will see that in future chapter.
Hello Yogesh,
In the invoice form, there is one more part for the Ledger Entries.
you need to find out that part and from that part, you will get the ledger entries line.
In that line add field same way as you added for the column title and column data
Once you add field, the border issue will be resolved.
Hi,
Please check the case study and try to do it yourself.
You may need to a lot of trial and testing purpose
Doing so may time but you will learn to solve similar issues in your other projects.
So, try for 5-6 times on your own. When all your efforts fail, let me know, I will solve them
Also, please do not post all codes in the comments as comments are public visible.
You can put your codes in your Dropbox Folder.
Sir, I have one query,
In sales invoice print I want to add a new line in description of goods column and want to print before the totals line. Unable to understand how to add ??
Hi,
You need to get yourself familiar with the coding by doing as much projects as possible.
In other words continue doing projects as per the course and you will know how to do things you want to do.
Just by studying some 8-10 chapters you can’t do things on your own.
So, please continue your course
Giridharan Varadharajan
Sir,
Thank you very much for guiding the proper approach to solve the border issue and
also naming the files more meaningful for future retrieval and for easy understanding by others.
Great explanation.
Yes, naming and proper arranging file is very important. Imagine I am having around 3500 tdl files and If I don’t name properly, I will be in a mess. The Reason is that I always get similar types of projects. So, I simply look for that type of project copy paste the entire file and then do modify that and by that way, I can create a complete module within an hour. Else I have to spend a whole week to write the same code from scratch.
Now, If I don’t name them properly or organise them then I can’t do coding properly and I have to quit from the competition.
So, learn it in the right way, we have to develop the best habit from the day 1st like the way you are learning is the best.
thanks sir. this case study solves my doubts in invoice customisation
I have completed invoice customisation module.
Great and I am glad that it worked.
I think these case studies are the best ways to help us to learn and share the knowledge.
I am learning a lot from my students that how they are coding and what issues they are facing.
This is the reason, I don’t want to fix any specific course schedule as I design and prepare the course structure based upon the student’s progress, issues and how they are coding.
I think we are on the right track.
Hi Sir,
Greetings…!!!
Sir, I really liked your teaching methods. Maximum issues regarding Border is resolved now.
Before watching this valuable tutorial, I was messed up with the Invoice Customization Part, because i was defining the border at each level. this will help me a lot.
Thank you so much.
Yogesh Kanojia
Dehradun
Hi Sir,
Sir, I have a query regarding border alignment. I m currently did the customization regarding serial no. and edition coloumn & it is running perfectly.
Whenever I am giving the ledgers like central tax, state tax and rounding off, all the borders getting messy however it is working perfect if i don’t put any ledger in voucher entry.
Please suggest the measures.
Hello Yogesh,
I am currently travelling and will resume the office on Thursday.
Please put your codes in the Dropbox and give me the file name.
I will prepare the case study from it so it will be helpful for other students also.
Great Sir.
I will put the codes shortly. Sir I’ve one more query 🙂
I need to fix the rate in sales voucher rate field and that is to be MRP of the Product less Discount @ 70%
For example if Product A have an MRP Rs. 100.00 & discount allowed is 70% on MRP then the billing rate should be Rs 30.00.
For the same purpose i had wrote the code in which I added two columns one is Discount in Percentage and Second is Discount Amount (Which is to be calculated on MRP.)
Everything is running smoothly. I have problem in Rate field.
I am putting the codes in my folder named “Shiv Yogesh” and the file name is “KanhaSalesVoucher”
Please suggest the measures.
Hello Yogesh,
Let’s keep this chapter limited to the Border issue if you try to add everything here it will be confusing.
For the MRP we already have a chapter on fetching value from the standard rate.
You need to follow the same you need to read and understand how the default MRP works in Tally. do a lot of testing. Change the background in the default MRP and try to find out if you are hitting the right field. You have to struggle a lot.
biggest issue is keep this chapter/case study only for the border alignment else it will be a mess up if we try and add everything here.
I always love one topic at a time to avoid any confusion
Alright Sir,
I Got it.
Sir, I had added a new folder in my Dropbox named Shiv Yogesh, Dehradun in which both the files exist. One for Voucher Modification another one is for Invoice modification for my query relating to border issue.
Thankyou Sir
Okay,
I will add a case study video to solve the border issue in the coming days. It will take time. 5-7 days.
You need to find out the rate field default definitions and study how that is coded. Remove the existing set and then add your own sets for rate issue.
Alternatively we will cover it in some other chapter. Every chapter has a certain purpose and we can’t do everything from one single project/chapter. We will see that in future chapter.
Hello Yogesh,
In the invoice form, there is one more part for the Ledger Entries.
you need to find out that part and from that part, you will get the ledger entries line.
In that line add field same way as you added for the column title and column data
Once you add field, the border issue will be resolved.
;;FACING ISSUE WITH BORDER a small break between title field tally serial and tally serial field , not aligning ;;with each other
;;[#Part: MST LED Details]
[#Part: lednotes]
;;[#Part:mst grandparent]
;;[#Part:LED Mailing Addres
;;[#Part:led other details]
;;[#Part: LED OpBalances]
Add:Line:tallyserial
[Line:tallyserial]
Field:LONG prompt, ts
Local:Field:LONG prompt:Set as: “TALLY SERIAL NUMBER”
Local:Field:LONG prompt:Color:blue
Local:Field:long prompt:Style:Small Bold Italic
[Field:ts]
Set as:#lednotes
Skip:Yes
Wide Spaced:yes
;;Use:name field
Color:blue
Style:”Small Bold”
Storage:tallyserial
[System:UDF]
tallyserial:String:1019
;;————————– in sales voucher —————-
[#Line:EIcolumn one]
Add:Field:AFTER:VCHITEMTITLE:SERIALNO
[Field:serialno]
Set as:”TALLYSERIAL:”
Space Left:20
Skip:YES
;;
Hi,
Please check the case study and try to do it yourself.
You may need to a lot of trial and testing purpose
Doing so may time but you will learn to solve similar issues in your other projects.
So, try for 5-6 times on your own. When all your efforts fail, let me know, I will solve them
Also, please do not post all codes in the comments as comments are public visible.
You can put your codes in your Dropbox Folder.
Sir, I have one query,
In sales invoice print I want to add a new line in description of goods column and want to print before the totals line. Unable to understand how to add ??
Hi,
You need to get yourself familiar with the coding by doing as much projects as possible.
In other words continue doing projects as per the course and you will know how to do things you want to do.
Just by studying some 8-10 chapters you can’t do things on your own.
So, please continue your course
ok