Get Extension Of Basic Dac Class In Acumatica

Get extension of basic DAC class in Acumatica

Helllo,

today I want to share how to get extension of basic DAC class iin Acumatica. Lets say you have class ARTran, and extenstion for it ARTranExt and you want to get it in the code of ARTran_RowUpdated event

Then you can get extenstion in the following way:

   protected virtual void ARTran_RowUpdated(PXCache sender, PXRowUpdatedEventArgs e)

        {

            var newRow = (ARTran)e.Row;

            var newRowE = PXCache<ARTran>.GetExtension<ARTranExt>(newRow);

            .

            .

            .

       }

No Comments

Add a Comment
Comments are closed