Sage 100

 View Only
  • 1.  Script possibility

    Posted 08-29-2020 12:48
    Customer would like to program an icon that when a user creates a new Purchase Order...and they press the icon, and email is sent to another user notifying of the new purchase order.  They are not interested in Alerts...just an icon that they press.  To all the script gurus out there.... is it possible???

    ------------------------------
    Lourdes Sobrino
    LU² DSD Puerto Rico
    Guaynabo Puerto Rico
    787.485.9638
    ------------------------------


  • 2.  RE: Script possibility

    Posted 08-30-2020 02:52
    Yes, as long as your customer's IT allows it or provides their own SMTP server. I use Microsoft's CDO API which is part of Windows. You could also use 3rd party programs like Visual Cut or LogiCity. Once the customer uses the feature they often ask for more events and that could end up costing more than Alerts. In those situations I have used a UDT to control the event type, destination email address, subject line and body so that the customer can maintain the details and not have to bury specifics in the script.

    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------



  • 3.  RE: Script possibility

    Posted 08-31-2020 09:55
    Button click to create an Outlook email on the user's workstation should be possible (when Outlook is installed, for the user to click Send), but with only header information included.  A client side button script doesn't have access to business objects so line details would be unavailable to the script.

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 4.  RE: Script possibility

    Posted 08-31-2020 10:23
    You may be able to have the script call a local VB program which would have access to the business objects.

    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Assistant to the Traveling Secretary
    ------------------------------



  • 5.  RE: Script possibility

    Posted 08-31-2020 14:54
    I have had to make security accommodations to use Outlook. The built in CDO API allows one to specify the From email address and can run on either the client or server side.

    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    Corvallis OR
    541-224-6642
    ------------------------------