0
votes

We need to add support for GS1 Barcode Customer Part Number in the Purchases - Receive and Put Away screen, it is not supported by default and I can't a find a way to add it.

From looking at the source code, it seems like I need to override GS1Support property or theGetGS1ApplicationSteps() method on PX.Objects.PO.WMS.ReceivePutAway class but I can't find a way to to this. I tried to override using PXGraphExtension method:

public class ReceivePutAway_Extension : PXGraphExtension<ReceivePutAway>
{
      
}

but then I get the following error:

CS0311 The type 'PX.Objects.PO.WMS.ReceivePutAway' cannot be used as type parameter 'Graph' in the generic type or method 'PXGraphExtension'. There is no implicit reference conversion from 'PX.Objects.PO.WMS.ReceivePutAway' to 'PX.Data.PXGraph'

Does anybody know how to make the override work for a class like this or or maybe has better suggestion on how to add an extra GS1 barcode support?