Skip to main content

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

  • September 24, 2024
  • 5 replies
  • 90 views

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+11
  • Pro I
  • September 25, 2024

Hi @eelliston ,

Can you share the GI to review the issue?


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • November 13, 2024

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


Forum|alt.badge.img+1
  • November 19, 2024

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


Forum|alt.badge.img
  • Freshman I
  • August 25, 2025

@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. 


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • November 21, 2025

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.