2006 Dec 01 3:37 AM
Hi all ,
I just want to add terms and condition to the Along the PO details in the smartforms , so pls help me in doing that .
thanking you
sridhar
2006 Dec 01 3:43 AM
Sridhar,
I would suggest that you create separate SMART Form for the Terms and conditions and call that right after the PO main smart form.
It gives you flexibility in calling the same smart form for other documents also, as generally these are the same Terms and Conditions for all the documents that a company uses.
You can have the Terms and Conditions stored as long texts in SO10 (Standard Text, TDOBJECT - TEXT and TDID - ST and TEXTNAME - Whatever name you want to give). This way if you want to change the text, its easy to change and you can transport the changes using program RSTXTRAN.
You have a text element in the smart form, and the general attributes of the text change the type to "Include Text". This will change the screen and you should be able enter the parameter values of Object, ID and name.
This will automatically print the entire long text on the smart form, we just need to make sure that this is a part of the main window of the smart form as the text might run into multiple pages.
Regards,
Ravi
Note - Please mark all the helpful answers
2006 Dec 01 3:43 AM
Sridhar,
I would suggest that you create separate SMART Form for the Terms and conditions and call that right after the PO main smart form.
It gives you flexibility in calling the same smart form for other documents also, as generally these are the same Terms and Conditions for all the documents that a company uses.
You can have the Terms and Conditions stored as long texts in SO10 (Standard Text, TDOBJECT - TEXT and TDID - ST and TEXTNAME - Whatever name you want to give). This way if you want to change the text, its easy to change and you can transport the changes using program RSTXTRAN.
You have a text element in the smart form, and the general attributes of the text change the type to "Include Text". This will change the screen and you should be able enter the parameter values of Object, ID and name.
This will automatically print the entire long text on the smart form, we just need to make sure that this is a part of the main window of the smart form as the text might run into multiple pages.
Regards,
Ravi
Note - Please mark all the helpful answers
2006 Dec 01 5:02 AM
Thanks it is working and if i have two such documents , if need select according to some contidton means what should i do , where should i do that one pls help me .
thanks
sridhar
2006 Dec 01 5:07 AM
If you look at the text element, there will be a conditions tab. You can specify the condition there and it will print it only it condition is satisfied.
So, have two text elements with conditions on both of them. One of them will get satisfied and it will get printed.
Regards,
Ravi
Note - Please mark all the helpful answers
2006 Dec 01 5:57 AM
Actually in the condition only less thsn or greater than is there but i need to write code which will trace the document according to the pincode .
and where should i do that one .
thanking you
sridhar
2006 Dec 01 8:21 AM
What is the condition you want to put, can you give the detail?
2006 Dec 01 8:43 AM
actually i have four documents , i have suppiler and company all over the world ,
if the supplier and the company exist in the india one dcument must be printed if the company in and india and suplier out of india one documents , if both outside one doucment
thanking
sridhar