hi
im running purchase and direct order shipments posting with nas. Usually this works well, but sometimes the system loggs an error saying a dialog variable can't be used with NAS. This error appears whil posting a receipt with serial no's.
I've "cleaned" codeunits 80,90 and 6500 by adding IF GUIALLOWED THEN ... in front of every dialog variable. Somewhere i must have missed one.
Has somebody done the same thing and could tell me which codeunits i need to clean as well?
Thanks for any tips!
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
it mus be somewhere else though...
GetUserID() : Code[20]
IF InstanceUserID = '' THEN
EXIT(USERID)
ELSE
EXIT(InstanceUserID);
SetUserID(NewUserID : Code[20])
InstanceUserID := NewUserID;
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
That also shows a dialog, codeunit is 5895
|To-Increase|
but this wouldn't solve the error i described above, correct? that's just in order to not posting with the NAS userid?
yes inventory valuation is done always at the time of posting. so 5895 could be it actually, i'll try!
Thanks!