Solved

Override GenerateLotSerial from LSINTran class

  • 22 August 2022
  • 1 reply
  • 83 views

Userlevel 2
Badge

Hi,

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

 

Thanks,

Ev

icon

Best answer by Dioris Aguilar 22 August 2022, 23:11

View original

1 reply

Userlevel 5
Badge +2

@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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved