Warehouse Employee (7301)

WoFWoF Member Posts: 5
Hi @ all,
I'm trying to insert a entry into warehose employee. The username is FISCHERW but the table change it always to FISCHERW\ . I traced with debugger and now i have more questions then answers. The wrong value comes from "SID - Account ID" - a virtual table. But who/where fill this table and where are the data coming from?

During read the code poped another question:
The method ShortUserID in codeunit 418 (Login Management) is wrong by my opinion.
false:
IF STRPOS(UserID,'\') IN [0,STRLEN(UserID)] THEN
  IF STRLEN(UserID) <= 20 THEN
    EXIT(UserID)
  ELSE
    EXIT('')
ELSE
  EXIT(COPYSTR(UserID,STRPOS(UserID,'\') + 1));

right:
IF STRPOS(UserID,'\') IN [0,STRLEN(UserID)] THEN
  EXIT(COPYSTR(UserID,STRPOS(UserID,'\') + 1));
ELSE
  IF STRLEN(UserID) <= 20 THEN
    EXIT(UserID)
  ELSE
    EXIT('')

Now i have to say i am a newbee with navision. We have 4.0 with SP3. If my opinion is right - how i can tell microsoft this mistake? Next 2 weeks i audit the developer I + II class - but i think this is the false way for contact microsoft.

I'm glad to hear from you.

WoF

sorry for my english - i haven't enough practice to be better.

Comments

  • kinekine Member Posts: 12,562
    The table is filled with client itself. It is virtual system table. Data are read from Active Directory.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.