Selecting data though Acumatica PXSelectorAttribute

Hi everyone,
Today, I would like to share with you small tip to work with PXSelectorAttribute base on my experiences.
Here is the story, let me image that you have the DAC and you want to add more information which is just supporting information and you dont want to save it. Please take a look on my DAC bellow.

And now I would like to get the value of Default Price to display after I choose the Inventory Item. I will create code in the in the FieldUpdatedEvent like bellow

In the conclusion, depends on your scenario you can use PXSelectorAttribute to get data from the cache. It would be better way to query data again to database.
Thanks for your reading and happy development.

Leave a Reply

Your email address will not be published. Required fields are marked *