Wants Relation of Tax code with Title level sales Doc.UDF
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?
I create a UDF in title level of marketing document called 'IsAck' with following valid values:
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'