Skip to main content

Hi Everyone

I have created ServiceContractInqExt graph like below:

 public class SSPServiceContractInqExt : PXGraphExtension<ServiceContractInq>
    {…

      //How can I call base functionality of process or processALL

      // Need to execute custom logic here

..}

 

 

Hi @ShahidaValiSyed04  You can try like below.

 

 public class ProductManualExtension : PXGraphExtension<ProductManual>
{

public override void Initialize()
{
Base.VIEWNAME.SetProcessDelegate(
delegate (List<DACNAME> list)
{
ImportRecords(list, Base.Filter.Current);
});
}

public void ImportRecords(List<DACNAME> list, ImportProductFilter currentFilter)

{

//Logic here

}

 


Hi @Naveen Boga 

How can I save another DAC records inside the ImportRecords Method?

public void ImportRecords(List<DACNAME> list, ImportProductFilter currentFilter)

{

        //Another / some DAC record Save logic here

}


Reply