not sure whether this will work. because the above mentioned routine
is scheduled as validation routine at field check returning the date
assigned under COMI variable. in auto new content routine the routine
should assign the value into R.NEW dim array, not the COMI variable.

On Feb 12, 11:18 am, M Rizwan <[email protected]> wrote:
> Thanks Yohan,Choong,Quossa,Vladislav for your kind feedbacks.
> We will close this issue here.
>
> Best Wishes
>
> On 12 February 2010 00:49, Yohan <[email protected]> wrote:
>
>
>
>
>
> > Hi
>
> > This is what happen inside the routine since this is not a sensitive
> > routine i am publish it here
>
> >      SUBROUTINE EB.DEFAULT.TODAY
> > *
> > ** This subroutine will default TODAY into local currency
> > ** automatically from VERSION validation if defined
> > *
> > $INSERT I_COMMON
> > $INSERT I_EQUATE
> > *
> >       YAF = AF ; YAV = AV ; YAS = AS
> >       IF NOT(YAV) THEN YAV = 1
> >       IF NOT(YAS) THEN YAS = 1
> > *
> >       IF R.NEW(AF)<1,YAV,YAS> = "" THEN
> >          COMI = TODAY
> >       END
> > *
> >       RETURN
> > *
> >    END
>
> > Best Regards
> > Yohan
>
> >   On Thu, Feb 11, 2010 at 9:23 PM, M Rizwan <[email protected]>wrote:
>
> >>   Thanks dudes for your comments and support.
> >> I am lucky for this case that  'out of the box' routine is available to
> >> get the bank date.
>
> >> But what if the need is to attached some values through our own
> >> program. Is it same like a field level routine where COMI or R.NEW is used
> >> to assign the values?
>
> >> Thanks and Kind Regards
>
> >> Riz.
>
> >> On 11 February 2010 18:41, FY Choong <[email protected]> wrote:
>
> >>> you can attach routine EB.DEFAULT.TODAY in AUT.NEW.CONTENT and it will
> >>> default system today's date.
>
> >>> On Wed, Feb 10, 2010 at 8:54 PM, M Rizwan <[email protected]>
> >>> wrote:
> >>> > T24 : R06
>
> >>> > Will it be possible to assign a default value(current system date) to
> >>> > a date field thru
> >>> > AUT.NEW.CONTENT at VERSION level.
>
> >>> > Will "COMI" can be used in a subroutine attach to AUT.NEW.CONTENT to
> >>> > default this value?
>
> >>> > Thanks
>
> >>> > --
> >>> > Please read the posting guidelines at:
> >>>http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> >>> > IMPORTANT: Type T24: at the start of the subject line for questions
> >>> specific to Globus/T24
>
> >>> > To post, send email to [email protected]
> >>> > To unsubscribe, send email to [email protected]
> >>> > For more options, visit this group at
> >>>http://groups.google.com/group/jBASE?hl=en
>
> >>> --
> >>> Thank you and Regards,
> >>> Foong Yee
>
> >>> --
> >>> Please read the posting guidelines at:
> >>>http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> >>> IMPORTANT: Type T24: at the start of the subject line for questions
> >>> specific to Globus/T24
>
> >>> To post, send email to [email protected]
> >>> To unsubscribe, send email to [email protected]
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/jBASE?hl=en
>
> >> --
> >> Rizwan
>
> >> --
> >>   Please read the posting guidelines at:
> >>http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> >> IMPORTANT: Type T24: at the start of the subject line for questions
> >> specific to Globus/T24
>
> >> To post, send email to [email protected]
> >> To unsubscribe, send email to [email protected]
> >> For more options, visit this group at
> >>http://groups.google.com/group/jBASE?hl=en
>
> > --
> > Please read the posting guidelines at:
> >http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> > IMPORTANT: Type T24: at the start of the subject line for questions
> > specific to Globus/T24
>
> > To post, send email to [email protected]
> > To unsubscribe, send email to [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/jBASE?hl=en
>
> --
> Rizwan

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to