Using MAS90 and MAS200 Customizer Scripting to show a document related to an inventory item
This came from a stream in our discussion group. It allows you to associate a PDF (usually a drawing) with items and have the ability to click a button to automatically bring it up (and email it if necessary). It is designed to properly error trap if the document can’t be found. Thanks to all our group members for this.
Dim PDFPath
PDFPath = “N:\DataDocs\”
Dim PDFFile
Dim wsh
dim filesys
PDFFile =ML_ITEM_NO& “.pdf”
set wsh = CreateObject(“WScript.Shell”)
Set filesys = CreateObject(“Scripting.FileSystemObject”)
if filesys.FileExists(PDFPath & PDFFile) then
Return = wsh.Run (chr(34) & PDFPath & PDFFile & chr(34),1,False)
else
msgbox “File ” & PDFPath & PDFFile & ” Not Found”,, “File Not Found”
end if
© 2010, Mark Chinsky. All rights reserved. Formed in 2005. the 90 Minds Consulting Group is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers. The group is not affiliated with Sage and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.
Mark is a partner at Clients First Business Solutions, LLC. He is based out of the NY/NJ office.
Mark has been in ERP sales and service for more than 20 years and at least 15 with Sage
Mark Chinsky
« 90Minds member, Clients First holds Spring MAS90/200 User Group-Video Here | Home | Sage MAS 90/200 FYI from Zip: v4.40 Product Update 2 (PU2) »
February 11, 2012
by: Wayne Schulz • 90minds, ERP
February 7, 2012
by: Wayne Schulz • 90minds
January 30, 2012
by: Wayne Schulz • Uncategorized
January 23, 2012
by: Wayne Schulz • Sage MAS 200, Sage MAS 90
January 21, 2012
by: Wayne Schulz • Giving Tree Consulting, Sage MAS 200, Sage MAS 90
January 21, 2012
by: Wayne Schulz • Sage, Sage MAS 200, Sage MAS 90
January 23, 2012
by: Wayne Schulz • Sage MAS 200, Sage MAS 90
January 21, 2012
by: Wayne Schulz • Giving Tree Consulting, Sage MAS 200, Sage MAS 90
January 21, 2012
by: Wayne Schulz • Sage, Sage MAS 200, Sage MAS 90
January 5, 2012
by: Wayne Schulz • Sage MAS 200, Sage MAS 90
December 30, 2011
by: Wayne Schulz • 90minds, Bottom Line Software, Sage MAS 200, Sage MAS 90, Schulz Consulting
December 27, 2011
by: Wayne Schulz • Quantera Systems, Sage, Sage MAS 200, Sage MAS 90
January 23, 2012
by: Wayne Schulz • Sage MAS 200, Sage MAS 90
January 21, 2012
by: Wayne Schulz • Giving Tree Consulting, Sage MAS 200, Sage MAS 90
January 21, 2012
by: Wayne Schulz • Sage, Sage MAS 200, Sage MAS 90
January 5, 2012
by: Wayne Schulz • Sage MAS 200, Sage MAS 90
December 30, 2011
by: Wayne Schulz • 90minds, Bottom Line Software, Sage MAS 200, Sage MAS 90, Schulz Consulting
December 27, 2011
by: Wayne Schulz • Quantera Systems, Sage, Sage MAS 200, Sage MAS 90
Leave a Comment
You must be logged in to post a comment.