on 07-17-2008 6:33 AM
Hi experts,
I have to develope the Commercial Invoice for my client.
The format of the commercial invoice for US and the format of the Commercial Invoice for IRAN is completely different.so I developed the another script to print IRAN Invoice .So how to configure these two Scripts(forms) to print program?.
if I print US invoice then it will trigger form for US and if I print IRAN Invoice then it will trigger form for IRAN using same print print program so how to configure this?
Thanks in advance.
thanks for your replay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create two different output types for US and IRAN, configure the same print program and two different forms in NACE.
go to NACE -> Select Application V3 Billing -> Select outputtypes -> Select existing output type and copy the same into new output type .
With that One program and two forms for two different output types.
Take the help of fuctional guy to do the same easily.
Your problem will solve.
Regard,
Netaji.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the print program use a variable to store the formnames.
And just use the condition to check the sales organization whether US or IRAN then accordingly populate the formname into the variable.
Then call the scripts.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jagadeesh,
You have to create 2 output types for using the 2 layouts.
For example:
If currently u r using ZRD for printing the US invoice then copy the ZRD to ZRR.
For ZRD assign US layout and for ZRR assign IRAN layout.
When u use copy function for creating new output type the print program is the same and we need not worry about that.
As creating the output type is the responsibilty of the Functinal consultant therfore ask hm to do so...
Regards..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If there is some field which differentiates the invoice as US or IRAN..e.g Country
You can use the same print program, add code similar to this
If condition A
Call Function 'OPEN_FORM'
formname = 'FORM_US'.
else.
If condition B
Call Function 'OPEN_FORM'
formname = 'FORM_IRAN'.
Endif.
Incase there is no differentiation factor which is very unlikely, make a copy of the print program for IRAN.
In Print Program 1 call US Form
In Print Program 2 call IRAN Form
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.