on 10-16-2008 12:35 PM
Dear friends,
I have made uDF at title level of sales Doc.
In that YES and NO are , two dropdown.my requirement
is that if i made invoice and when select tax code CST2%
at that time that UDF shoud have to take YES.(Automaticaly)
If i select tax code other than cST2% ,then UDF must have
to select No.(Automaticaly)
How Can i do this?
Regards,
mahesh
Hi,
I create a UDF in title level of marketing document called 'IsAck' with following valid values:
Value Description
Y Yes
N No
Now I had the following FMS and set the AutoRefresh true on 'Tax Amout' field. The UDF updated automaticallly to 'Yes' for 'CST2' and 'No' for other tax codes.
Declare @taxcode as varchar(20)
set @taxcode = $[$38.160.0]
if @taxcode='CST2'
select 'Y'
else
select 'N'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.