UDC Overriding

blteng1973

Member
[frown] In FDA, I used an Data Item "SLSP" & want to override the Visual Assist property to prompt a UDC code (say 55/RS), but it prompted a BLANK UDC screen with system & Pdt Code is Blanks.
Tried to same case byt using DD "RGN", it work fine.
Does anyone faced same problem b4 & how to solve this
TQ very much
 
I tested in my machine and in the field propriety I selected the Overrides. I include the UDC, example 00/DT.
The filed is numeric then the other values (Char and Strings) you can´t select.

I do not know if I help you. But this is one idea.
 
Hi Teng,

Welcome aboard!

You can solve this in the Visual Assist Button Clicked event of the control.

Define a variable with appropriate data type to catch the UDC code (e.g. KY). Without further explanation here is the ER code for you.

Let me know, if you have question about it!
Also let us know your reesults! Thx.

Good luck,

Zoltán

=======================================================================
FORM: Fix/Inspect [FIX INSPECT] (W59GZ001A)
=======================================================================
CONTROL: EDIT Salesperson Code
EVENT: Visual Assist Button Clicked
-----------------------------------------------------------------------
evt_szUserDefinedCode_KY
0001 VA evt_szUserDefinedCode_KY = "0"
0002 Suppress Default Visual Assist Form
0003 Call( App:p0005S , Form: W0005SB )
"55" -> Systemcode
"RS" -> Userdefinedcodes
VA evt_szUserDefinedCode_KY <- Userdefinedcodevalue
UNDEFINED X Description001
UNDEFINED X Description002
"<Blank>" X Version
0004 VA evt_szUserDefinedCode_KY = ltrim(rtrim([VA evt_szUserDefinedCode_KY],' '),' ')
0005 String, Convert String To Numeric
VA evt_szUserDefinedCode_KY -> szGenericString
FC Salesperson Code <- mnNumericValue
UNDEFINED X cErrorCode
 
Thanks for your idea but have you tried to include the UDC 00/DT to field
"SLSP" (Std JDE data dictionary item) and test whether it work now?



I do not know if I help you. But this is one idea.

_________________________________________________________________
Find love on MSN Personals http://personals.msn.com.sg/



Using Enterprise One Version 7332
Looking forward to ERP8.0 or ERP8.9
 
Hi Zoltan,

I tried your solution & it seems work!!
Thank you very much!
BTW, just wonder why it can't work by overriding the property of the data
item, as like what I did for other fields before. Can you please guide me if
you know the reason. Anyway, Thanks again



Best Rgds
Teng Beng Lee



Welcome aboard!

You can solve this in the Visual Assist Button Clicked event of the
control.

Define a variable with appropriate data type to catch the UDC code (e.g.
KY). Without further explanation here is the ER code for you.

Let me know, if you have question about it!
Also let us know your reesults! Thx.

Good luck,

Zoltán

=======================================================================
FORM: Fix/Inspect [FIX INSPECT] (W59GZ001A)
=======================================================================
CONTROL: EDIT Salesperson Code
EVENT: Visual Assist Button Clicked
-----------------------------------------------------------------------
evt_szUserDefinedCode_KY
0001 VA evt_szUserDefinedCode_KY = "0"
0002 Suppress Default Visual Assist Form
0003 Call( App:p0005S , Form: W0005SB )
"55" -> Systemcode
"RS" -> Userdefinedcodes
VA evt_szUserDefinedCode_KY <- Userdefinedcodevalue
UNDEFINED X D!
UNDEFINED X Description002
"<Blank>" X Version
0004 VA evt_szUserDefinedCode_KY = ltrim(rtrim([VA
evt_szUserDefinedCode_KY],' '),' ')
0005 String, Convert String To Numeric
VA evt_szUserDefinedCode_KY -> szGenericString
FC Salesperson Code <- mnNumericValue
UNDEFINED X cErrorCode

_________________________________________________________________
Get MSN Hotmail alerts on your mobile.
http://en-asiasms.mobile.msn.com/ac.aspx?cid=1002



Using Enterprise One Version 7332
Looking forward to ERP8.0 or ERP8.9
 
I have tried this but am still getting error saying 'not found in user defined code' , I copied the code exactly as set out above , the form I am working on is P4004Z , and I made the change to the W4004ze recurring order information screen, I set up a second udc called 55 / OF to replace the standard 00 / OF but it seems to be still referring to the the original UDC , any help appreciated...

N.
 
Back
Top