AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • 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
How to make Custome...
 
Notifications
Clear all

Questions How to make Customer Class ID available in Business Events for AR302000 (Payments and Applications)

 
Everything Else
Last Post by Jacky Mao 5 months ago
1 Posts
1 Users
0 Reactions
377 Views
RSS
Jacky Mao
Posts: 5
 Jacky Mao
Topic starter
September 8, 2025 9:49 am
(@jamao)
Active Member
Joined: 2 years ago

Hi everyone,

I’m trying to create a Business Event for the Payments and Applications screen (AR302000) in Acumatica, and I need to use Customer Class ID as a trigger/filter. Here’s my situation:

  1. Current setup:

    • I extended the ARPayment DAC with a runtime-only field (PXFormula) to retrieve Customer.CustomerClassID:

     
    [PXString(10, IsUnicode = true)]
    [PXUIField(DisplayName = "Customer Class ID", IsReadOnly = true)]
    [PXFormula(typeof(Selector<ARPayment.customerID, Customer.customerClassID>))]
    public string UsrCustomerClassID { get; set; }
    • The field shows up in DAC Browser under ARPaymentExt.

    • It works at runtime in the UI, and I can see the correct value when debugging.

  2. Problem:

    • In Business Events, when I select the Table = Document (ARPayment), my field UsrCustomerClassID does not appear in the field list.

    • I understand this is because the field is calculated at runtime and does not exist in the database, so the BE engine cannot query it.

    • Attempts to use [PXDBScalar] failed with errors like:

       
      Unknown column 'ARPayment_ARPayment.CustomerID' in 'where clause'

      due to table aliasing issues in the BE SQL query.

 

Has anyone found a supported or easier way to make CustomerClassID accessible in Business Events for ARPayment (AR302000) without adding a DB column?

Is there a workaround to either expose calculated fields or join Customer table in the BE engine?

image

 

Thanks

Jacky


Forum Jump:
  Previous Topic
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 45 Online
  • 2,413 Members
Our newest member: psteichen
Latest Post: Credit Reference Report Needed
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

  • Tim Rodman Kevin Halme
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×