Skip to content

Instantly share code, notes, and snippets.

@lekker-solutions
Created October 8, 2021 15:41
Show Gist options
  • Save lekker-solutions/9218985815bc406eba0441e262fce21f to your computer and use it in GitHub Desktop.
Save lekker-solutions/9218985815bc406eba0441e262fce21f to your computer and use it in GitHub Desktop.
[PXProtectedAccess]
public abstract class GPSOOrderEntryExt : PXGraphExtension<SOOrderEntry>
{
protected const string NotificationID = "FUTUREPO";
public PXAction<SOOrder> ActionEmailSoToVendor;
[PXUIField(DisplayName = "Email SO To Vendor")]
[PXButton]
protected IEnumerable actionEmailSoToVendor(PXAdapter adapter) => Notification(adapter, NotificationID);
[PXProtectedAccess]
protected abstract IEnumerable Notification(PXAdapter adapter, [PXString] string notificationCD);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment