Skip to content

Instantly share code, notes, and snippets.

@lekker-solutions
Created May 19, 2022 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lekker-solutions/73d00938acf89275f6e454f05f796ba3 to your computer and use it in GitHub Desktop.
Save lekker-solutions/73d00938acf89275f6e454f05f796ba3 to your computer and use it in GitHub Desktop.
Primary Key
public class InventoryItem : IBqlTable
{
public class PK : PrimaryKeyOf<InventoryItem>.By<InventoryItem.inventoryID>
{
public static InventoryItem Find(PXGraph graph, int? inventoryID) => FindBy(graph, inventoryID);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment