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);
.
.
.
}
Ready to take your Acumatica development to the next level? Whether you need custom DAC extensions, tailored event handlers, or specialized functionality, our team is here to help. Share your unique customization needs with us, and let’s build solutions that empower your business. Leave a customization request today and let’s turn your ideas into reality!