why do you want to do this way?. I have looked at the code. its getting defaulted by the sales parameters..
Goto AR - Setup - parameters - Bill of landing...blabk "prefaid' out Point#2: If you want to do code wise, you need to look at the corresponding class...... good luck, subbu --- In Axapta-Knowledge-Village@yahoogroups.com, "bobchamp5" <[EMAIL PROTECTED]> wrote: > > Thank you Brandon for the quick response and detailed explanation. > That helps alot. > > Thanks > Bob > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, "Brandon George" > <Brandon.George@> wrote: > > > > Bob, > > > > > > > > Couple of ways to do this: > > > > > > > > 1.) Change the Base Enum so the first value is blank. [Not > > Recommended] > > > > 2.) Create New Base Enum, that is the same as old, except with > blank > > and change the field to extend from that one. [Ok] > > > > a.) Add code that would check on ValidateWrite() to see if > blank is > > selected and if so do not allow write, and throw error > > > > 3.) If PREPAID is not a valid option for you at all, change the > Text > > value / label for that enum element to "DO NOT USE" [something like > > that], and add code to check and throw error if used. [50/50] > > > > > > > > If I were to do it, I would do number (2) but then you have to > realize > > that you are modifying this, document it, so that on upgrades you > make > > sure this gets carried over. > > > > > > > > thanks, > > > > J. Brandon George > > > > Senior Technical Architect > > > > Sunrise Technologies, Inc. > > > > http://www.sunriseconsult.com > > > > > > > > Cell: 706-412-7726 > > > > Office: 336-722-6741 > > > > > > > > <http://www.sunriseconsult.com/> > > > > <http://www.sunriseconsult.com/> > > > > > > > > > > > > ________________________________ > > > > From: Axapta-Knowledge-Village@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of > bobchamp5 > > Sent: Monday, January 29, 2007 2:14 PM > > To: Axapta-Knowledge-Village@yahoogroups.com > > Subject: [Axapta-Knowledge-Village] Stop field displaying default > value > > > > > > > > I am trying stop the "Freight Charge Terms" field under Bill of > Lading > > from defaulting to PREPAID when form is opened, which is the first > > value in the enum associated with this field. How can I change this > to > > leave the field blank and force the user to drop down and select > one of > > the choices. I thought this would be an easy fix, but I cant figure > > this out. > > > > Thanks > > Bob > > > > > > > > > > > > [Non-text portions of this message have been removed] > > >