Get Extension Of Basic Dac Class In Acumatica
05 September 2014
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);
.
.
.
}