AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
Auto-Email Received...
 
Notifications
Clear all

Questions Auto-Email Received PO's

 
Everything Else
Last Post by Tim Rodman 6 years ago
10 Posts
6 Users
2 Reactions
5,445 Views
RSS
MichaelHansen
Posts: 149
 MichaelHansen
Topic starter
August 8, 2018 5:57 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

Hey Everyone,

I'd like to send out an email every time a PO Receipt is RELEASED. I was poking around automation steps, but my knowledge is limited in this area. Anyone have something like this built? I can't imagine this is an odd request from a business stand-point, and yet no one has asked me to email out anything other than reports so far.

Thanks!

Edit: I suppose I should clarify. At a minimum, I need to send out the receipt number. Ideally, I would be sending along the item ID's and quantities as well.


9 Replies
Royce Lithgo
Posts: 557
 Royce Lithgo
August 9, 2018 11:21 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Go To System > Automation > Manage > Automation Notifications and add a new record.

Screen ID should be Distribution > Purchase Orders > Work Area > Enter > Purchase Receipts

Enter a Description.

Change Data Source to None.

Enter a suitable Message, use Insert Datafield if you want to refer to data from the PO Receipt.

On Conditions Tab, you want "Status Equals Released".

Addresses Tab you need to define who you want the email sent to, it should default to your user email.

On the Fields tab you may need to add Status and it's possible it works without it. The Fields tab tells the system which fields to monitor for changes. 

Your system will need to be configured for sending emails, and also, you would need to schedule "Send Notifications" to have the emails automatically sent.

I've had good success setting up a Notification to inform people when their PO was approved. Tried to set something similar up for Sales Orders but found an issue with too many emails being sent. This was because Shipment processing was actually updating the Sales Order and triggering the Notification. I tried many different Conditions and also enabling or not-enabling Field monitoring in the Notification but in the end i couldn't get it to reliably work. Purchase Receipt should be fine because once the document is released, no more changes will be made to the record.


Reply
MichaelHansen
Posts: 149
 MichaelHansen
Topic starter
August 11, 2018 12:35 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

This is exactly what I was after, but I can't get the lines to appear. It'll pull the first line on the receipt, but not all of them (I have 4 lines on this receipt). How do you iterate over the set?

Current Message:

((Document.ReceiptNbr)) has been received.

It contained:

((transactions.InventoryID.InventoryCD))    with  ((transactions.ReceiptQty))   ((transactions.UOM)) at a cost of ((transactions.CuryUnitCost)).

This was for: ((Document.InvoiceNbr))

OUTPUT:

001590 has been received.

It contained:

15493-PICK    with  6.000000   EACH at a cost of 0.300000.

This was for: TEST PO#


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
August 13, 2018 5:21 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

You can try using <foreach>...</foreach>, but it didn't work so well for me with Automation Notifications. It does work however for Notification Templates. The system help only mentions the <foreach> operator as part of Notification Templates.

e.g.

<foreach view="Transactions">((Transactions.InventoryID.InventoryCD)) with ((Transactions.ReceiptQty)) ((Transactions.UOM)) at a cost of ((Transactions.CuryUnitCost)).</foreach>


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
August 17, 2018 6:48 am
(@timrodman)
Famed Member
Joined: 10 years ago

It's been a couple of years, but I was able to use the foreach construct on the Shipments screen at one point.

I defined it on the Automation Notifications (SM205040) screen and chose the Shipments (SO302000) screen in the Screen ID field.

This was the formula that I used to successfully list multiple packages in the email.

<foreach view="Packages">((Packages.BoxID.BoxID)) - ((Packages.TrackNumber))<br></foreach>

Two things that I noticed about it though:

1. You can't print a dynamic URL based on UPS, FEDEX, etc. because you don't have an IF in HTML

2. When you do a report in Report Designer, the links get stripped out with attached PDF/HTML or embedded HTML

All that said, once you are on Acumatica 2018, the new Business Events feature is A LOT more flexible. I can't think of a reason to use the Automation Notifications (SM205040) screen once you are on Acumatica 2018.


Reply
Harsha Sarjapur
 Harsha Sarjapur
(@infosourcing)
Joined: 6 years ago

Trusted Member
Posts: 55
September 19, 2019 9:35 am
Reply toTim RodmanTim Rodman

I would recommend the new version 2019 R1 which has the fix for business event notification, in this new version you can not only send email notification for business events triggering based on your criteria/conditions but also attach the pdf document. In older version of 2018 or 2019 early build this was not working unable to attach files now it does.

If you use anything lesser build then you will be disappointed with its functionality, the notifications feature use it only for simpler logical conditions to trigger and email, but I would certainly look at the 2019 R1 business event to automate such things ...

 

 


Reply
Tim Rodman reacted
Brandon
 Brandon
(@brandon)
Joined: 7 years ago

Member
Posts: 26
October 2, 2019 6:40 pm
Reply toTim RodmanTim Rodman
Posted by: @timrodman

 

1. You can't print a dynamic URL based on UPS, FEDEX, etc. because you don't have an IF in HTML

 

We just came up with a way to include the clickable URL within the business event notification that we send with the tracking. We put together an If formula within the generic inquiry results that would have a dynamic tracking URL based on the ship via method incorporating in the tracking number for that package and the correct carrier tracking site. Then, on the notification template we could make the tracking number a hyperlink within the HTML and link to the URL field that we already generated within the generic inquiry. 

The only downside to this is that it makes all the tracking numbers look like a hyperlink that you can click on even if we do not have a URL set up for that ship via. Nearly all of our ship via's we were able to set up a tracking URL though so it is a rare exception like an order that is picked up where the tracking number will not actually click through to a link.


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
September 28, 2019 8:38 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Also adding a link to this post to another relevant Topic regarding updates to the demo data Business Events:

https://www.augforums.com/augforums/acumatica-business-events/track-packages-business-event-from-demo-data


Reply
Ryan Brown @xByte Hosting
Posts: 84
 Ryan Brown @xByte Hosting
September 30, 2019 12:50 pm
(@ryanxbyte)
Estimable Member
Joined: 6 years ago
Posted by: @timrodman

You can't print a dynamic URL based on UPS, FEDEX, etc. because you don't have an IF in HTML

I know this is a little off-topic, but I figured I would share our workaround to the dynamic URL for different carriers.  We just include a link to the google search for the tracking number.  Google knows which carrier it is based on the format of the tracking number.  It is an extra click for the user to go into the google results, but not too bad of a workaround.


Reply
Tim Rodman reacted
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
November 10, 2019 6:44 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Nice Brandon and Ryan. Thanks for sharing.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 16 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Customer Portal Setup - Access issues to create sales order
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×