Good morning,
I would like to have on print of :
- sales order
- sales quote
- purchase order
the name of the user that has created them.
Isn'it possibile?
I saw that there is probably in posted documents (invoice and shipment).
But can I have also the full name and surname in some way or only the windows user intials?
Thank you
Andy
0
Comments
ERP Consultant (not just Navision) & Navision challenger
In order to print the first and last name of the user, you can link the USERID to the User Setup table.
Add to Sales Header Globals
User - Record - User
Add a field on the Sales Header table
Called "Created By" Type Text size 30
On the OnInsert Trigger use
Now add the field "Created By" to the Form &/or Reports.
If you want just the code it's less work
For Example you add a field to the Sales Header Table.
Call it "Created By" type Code Size 20
then on the OnInsert trigger of the Sales Header Table you add:
That's it. if you add the field now to the Sales order Card you will see
when you f3 to get a new # your Userid is now stored. Since it is stored in the table now you can put it on reports.
http://www.BiloBeauty.com
http://www.autismspeaks.org
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
http://www.BiloBeauty.com
http://www.autismspeaks.org