I'm trying to display an info() message whenever InventRefId changes on the PurchLine table. I've added the message in both modifiedField() and update() methods. This works correctly when I change fields like PurchQty or PurchPrice, but not when I change InventRefId—neither method is triggered.Even when calling modifiedField(fieldNum(PurchLine, InventRefId)) explicitly before update(), the message doesn’t show.
info()
InventRefId
PurchLine
modifiedField()
update()
PurchQty
PurchPrice
modifiedField(fieldNum(PurchLine, InventRefId))
Is there a reason why InventRefId behaves differently or doesn't trigger these methods as expected?
InventRefId is nothign but a reference of production order, in some cases user changed the setting using the marking option on the form.
So i want to display a message for them.
Thanks.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,351
André Arnaud de Cal... 874 Super User 2025 Season 2
Sohaib Cheema 638 User Group Leader