Hi guys,

there is a standard HotFix available on PartnerSource!!

Bye,

Otto Buurman

--- In [email protected], "Pawel Gabryelczyk"
<[EMAIL PROTECTED]> wrote:
>
> Hi Jens,
> I had the same problem. I have heard it will be corrected in v.
4.0.
>
> You can do the following correction:
>
> \Classes\Global\weekOfYear
> static int weekOfYear(date _curDate)
> {
> int weekJan1st;
> int dayJan1st;
> int week;
>
> weekJan1st = wkofyr(dateStartYr(_curDate));
> dayJan1st = dayofwk(dateStartYr(_curDate));
> switch(firstWeekOfYear()) // firstWeekOfYr = 1 is the Axapta wkofyr
() way of
> doing it.
> {
> case 0: // Standard settings
> week = wkofyr(_curDate);
> break;
>
> case 1: // Starts on Jan 1
> week = wkofyr(_curDate) + (weekJan1st > 1 ? 1 : 0);
> break;
>
> case 2: // First 4-day week
> week = wkofyr(_curDate);
> break;
>
> case 3: // First full week
> week = wkofyr(_curDate) + (dayJan1st > 4 ? 1 : 0);
> break;
> }
>
> return week;
> }
>
> Good luck !
>
> Pawel Gabryelczyk
> Integris
> Poland
> ----- Original Message -----
> From: "Jens Strandberg" <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED] Com (E-mail)"
> <[email protected]>
> Sent: Tuesday, January 04, 2005 2:51 PM
> Subject: [development-axapta] Display bug in Axapta Calendar ?
>
>
> >
> > Hello there,
> >
> > I stumbled across some strange behavior in Axapta, and I was
wondering if
> > there is a solution.
> >
> > If you click on any date field, you are presented with a calendar
> displaying
> > current month. I have noticed that there is a week 53, but no
week 1.
> > Instead, current week is displayed as week 2.
> >
> > Where did week 1 go ?
> >
> > Can you guys reproduce ?
> >
> > The problem persists on our "live" system, our development
system and our
> > test system; all individual installations. Also, I have the
problem on my
> > local Axapta.
> >
> > My Outlook displays week 1 just fine ...:-(
> >
> > Axapta 3.0 SP3.
> >
> > Best Regards,
> > Jens
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to