Skip to main content

Stock Item Push Notifications - not sending attribute data when triggered by attrbute update

  • Sep 24, 2024 6:27 PM UTC
  • 5 replies
  • 170 views
  • Translate All

Forum|alt.badge.img

I am having what seems to be a strange issue.

We use push notifications to send product updates to an external sysem. For the most part this works well. My issue is on Stock Items.  We have various attributes on the stock item entity. When those values change, I need it to fire the push notification. It is firing, but the JSON data payload for the attrbute fields is null.  

 

The catch is, if I make a change/update to one of the stock item fields (name, description)...it fires the same push notification. The attribute data is no longer null, it sends the correct information.

 

My GI I subscribed to has the attributes defined in the results grid.  Any ideas on what this could be? This seems like a bug IMO. 

Here is what I get for the attribute updates. PreOrderDate and ReleaseDate are supposed to have date values, but you can see they are null when is triggered by a attribute change.  Again, if I update a field on the parent StockItem, this payload will contain the correct values.  Thoughts?

 

 

5 replies

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Sep 25, 2024 10:53 AM UTC

Hi @eelliston ,

Can you share the GI to review the issue?

Translate

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • Nov 13, 2024 11:21 PM UTC

Hi @eelliston were you able to find a solution? Thank you!

Translate

Forum|alt.badge.img+1
  • Nov 19, 2024 4:13 PM UTC

​@eelliston, are you using the attribute table directly, or the virtual fields within the stock item table?

Translate

Forum|alt.badge.img
  • Freshman I
  • Aug 25, 2025 3:37 PM UTC

​@eelliston - did you find a solution here? We are running into the same problem. 
​@Ellie on our side, we tried both, using the virtual fields with stock item, and also trying to use the proper joins to the csanswers table. Both instances on a push notification we get NULL values on all other attribute fields except the one that changes. 

Translate

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Nov 21, 2025 7:37 PM UTC

Hi ​@hazen35 ,

Since we joined the CSAnswers table, the results now return each inventory item along with its attributes as separate rows (because it follows a one-to-many relationship).

Due to this, when any attribute value is updated, only that specific row will be affected. As a result, the system will trigger a push notification only for the updated row, not for the entire item.
 

 

Translate