Skip to main content
Solved

Override GenerateLotSerial from LSINTran class

  • 22 August 2022
  • 1 reply
  • 85 views

Hi,

How I can override or extend the GenerateLotSerial action in the Inventory Receipt page? 

 

Thanks,

Ev

@edsonvelez64 Try creating a new custom LSINTran like this:
 

public class LSINTranCustom : LSINTran
{
public override IEnumerable GenerateLotSerial(PXAdapter adapter)
{
base.GenerateLotSerial(adapter);
}
}

And create a graph extension for INReceiptEntry overriding the lsselect view with your new custom class:
 

public class INReceiptEntryExt : PXGraphExtension<INReceiptEntry>
{

public LSINTranCustom lsselect;
}

 


Reply