Button Customization to Print Sales Order PickList

Try

((Session)SalesOrderForm.Session).UserID

Rob Bucek
Production Control Manager
D&S Manufacturing
301 E. Main St. | PO Box 279
Black River Falls, WI 54615
715-284-5376 Ext. 311
Mobile: 715-896-3119
rbucek@...
www.dsmfg.com<http://www.dsmfg.com>

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, September 16, 2015 4:57 PM
To: (vantage@yahoogroups.com) <vantage@yahoogroups.com>
Subject: [Vantage] Button Customization to Print Sales Order PickList



Hi Group-

I am adding a customization to the Sales Order Entry screen where the user clicks a button to print out the Sales Order Picklist report. I have noticed in the code that I have scavenged that the Workstation ID is set to the following:

rptDSSOPickList.Tables["SOPickListReportParam"].Rows[0]["WorkstationID"] = Environment.MachineName + " 1";

Our Company configuration has our Work Station Method as Machine Name + User ID, so the Environment.MachineName + " 1" does not allow the report to preview (it does preview if I replace the " 1" with my User ID, so I know that this is my last hurdle to get this to work). What is the correct syntax or where do I go to pick up the User ID information from to get this to work properly?

Thanks in advance,

Erin Freese
Production Control Manager
[Description: Suburban Logo for Signature]
10531 Dalton Ave NE
Monticello MN 55362-8414
E-mail: efreese@...<mailto:efreese@...>
Direct: 763-271-3677 | Main Office: 763.295.5635 or 800.782.5752 |Fax: 763. 295.6601
[Description: webico1] <http://www.gosuburban.com/> [Description: webico2] <http://www.youtube.com/user/GoSuburban> [Description: webico3] <http://www.facebook.com/pages/Suburban-Manufacturing/332071013545769>
www.gosuburban.com|<http://www.gosuburban.com/> Check out our videos<http://www.youtube.com/user/GoSuburban>| Like us on Facebook<http://www.facebook.com/pages/Suburban-Manufacturing/332071013545769>

This communication constitutes an electronic communication within the meaning of the Electronic Communications Act, 18 USC 2510, and its disclosure is strictly limited to the recipient intended by the sender of this message. This communication may contain confidential and privileged material for the sole use of the intended recipient and receipt by anyone other than the intended recipient does not constitute loss of the confidential or privileged nature of the communication. Any review or distribution by others is strictly prohibited. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, please contact sender by return electronic mail and delete all copies of this communication.

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
Hi Group-

I am adding a customization to the Sales Order Entry screen where the user clicks a button to print out the Sales Order Picklist report. I have noticed in the code that I have scavenged that the Workstation ID is set to the following:

rptDSSOPickList.Tables["SOPickListReportParam"].Rows[0]["WorkstationID"] = Environment.MachineName + " 1";

Our Company configuration has our Work Station Method as Machine Name + User ID, so the Environment.MachineName + " 1" does not allow the report to preview (it does preview if I replace the " 1" with my User ID, so I know that this is my last hurdle to get this to work). What is the correct syntax or where do I go to pick up the User ID information from to get this to work properly?

Thanks in advance,

Erin Freese
Production Control Manager
[Description: Suburban Logo for Signature]
10531 Dalton Ave NE
Monticello MN 55362-8414
E-mail: efreese@...<mailto:efreese@...>
Direct: 763-271-3677 | Main Office: 763.295.5635 or 800.782.5752 |Fax: 763. 295.6601
[Description: webico1] <http://www.gosuburban.com/> [Description: webico2] <http://www.youtube.com/user/GoSuburban> [Description: webico3] <http://www.facebook.com/pages/Suburban-Manufacturing/332071013545769>
www.gosuburban.com|<http://www.gosuburban.com/> Check out our videos<http://www.youtube.com/user/GoSuburban>| Like us on Facebook<http://www.facebook.com/pages/Suburban-Manufacturing/332071013545769>



This communication constitutes an electronic communication within the meaning of the Electronic Communications Act, 18 USC 2510, and its disclosure is strictly limited to the recipient intended by the sender of this message. This communication may contain confidential and privileged material for the sole use of the intended recipient and receipt by anyone other than the intended recipient does not constitute loss of the confidential or privileged nature of the communication. Any review or distribution by others is strictly prohibited. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, please contact sender by return electronic mail and delete all copies of this communication.


[Non-text portions of this message have been removed]