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
Acumatica Report De...
EMail Report: AR In...
 
Notifications
Clear all

Questions EMail Report: AR Invoice Distribution to Different Departments

 
Acumatica Report Designer
Last Post by Tim Rodman 11 months ago
2 Posts
2 Users
0 Reactions
381 Views
RSS
Retha
Posts: 10
 Retha
Topic starter
June 13, 2024 3:39 am
(@retha)
Active Member
Joined: 5 years ago

AR Invoice Distribution to Different Departments

Objective

To send Accounts Receivable (AR) invoices to various departments efficiently, we have implemented a system where each project and customer contact is categorized. This enables the dynamic determination of the appropriate email recipient for the AR invoice.

Solution Implementation

  1. Creating Categories for Projects and Contacts:
    • We introduced an attribute that contains different categories for projects.
    • Similarly, we assigned the same attribute with matching categories to customer contacts who need to receive the AR invoices.

Example:

    • Project Category: ONE
    • Customer Contact Category: ONE
  1. Using the Categories in Reports:
    • To display the correct email address on the report, we compare the project category and the customer contact category using an IF statement.
    • =IIf( [PMProject.CATEGORY_Attributes]=[CustContact.CATEGORY_Attributes] , [CustContact.EMail], [BillingContact.Email] )
  2. Issue with MailSettings:

    • While the above IF statement works correctly on the report to display the correct email address, it fails to display the result in the "To" field of the MailSettings.

    Problem Statement:

    • The "To" field in the MailSettings does not dynamically update with the correct email address using the same IF statement logic.

Any suggestions on how to set the "To" field in the MailSettings with dynamic values based on project and contact categories

image
Topic Tags
Report Designe
1 Reply
Tim Rodman
Posts: 3192
 Tim Rodman
Admin
June 16, 2024 2:13 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Try using ; instead of a , to separate the email addresses.

You might also try only using one of the attributes to start to make sure that works. If it does, then you would know that it's a problem with the separator and not a problem with the IIF formula.

Reply
Forum Jump:
  Previous Topic
Next Topic  
Topic Tags:  Report Designe (1) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,518 Topics
  • 10.9 K Posts
  • 5 Online
  • 2,309 Members
Our newest member: Jason Rhodes
Latest Post: Table linkage for adding a customer location note to the SO Shipment form
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.

‹›×

    ‹›×