Skip to content

Instantly share code, notes, and snippets.

View anesvijskij's full-sized avatar

Alexander anesvijskij

  • Acumatica
  • Belgrade
View GitHub Profile
@anesvijskij
anesvijskij / ARInvoice_ReviewExtension_2021R2.cs
Created June 16, 2022 18:31
Draft for ARInvoiceEntry workflow customization in 2021R2
using System;
using PX.Common;
using PX.Data;
using PX.Data.WorkflowAPI;
using PX.Objects.AR;
namespace MyProject
{
using static BoundedTo<ARInvoiceEntry, ARInvoice>;
@anesvijskij
anesvijskij / POOrderEntry_WorkflowExtension.cs
Created June 16, 2022 18:30
POOrderEntry workflow customization
using PX.Data;
using PX.Data.WorkflowAPI;
using PX.Objects.PO;
namespace MyProject
{
// ReSharper disable once UnusedMember.Global
// ReSharper disable once InconsistentNaming
public class POOrderEntry_WorkflowExtension : PXGraphExtension<POReceiptEntry_Workflow, POReceiptEntry>
{
@anesvijskij
anesvijskij / ARInvoice_ReviewExtension_2022R1.cs
Last active June 16, 2022 19:30
Code sample for ARInvoiceEntry workflow customization in 2022R1
// - Modify order of existing composite/parent steps (pending email, pending print)
// - Add additional state (pending review)
// - Trigger events by workflow on field changes (subscribe on changing amount field – trigger back to pending review state)
using System;
using PX.Common;
using PX.Data;
using PX.Data.WorkflowAPI;
using PX.Objects.AR;
namespace MyProject