Skip to content

Instantly share code, notes, and snippets.

@ste-bel
Last active December 15, 2021 22:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ste-bel/97bb6ac4e4aa26572d4fd44c6ba0be7a to your computer and use it in GitHub Desktop.
[PXDBString(3, IsKey = true, IsFixed = true)]
[PXDefault]
[ARDocType.List]
[PXUIField(DisplayName = "Type", Visibility = PXUIVisibility.SelectorVisible, Enabled = true, TabOrder = 0)]
public string DocType { get; set; }
public class ARDocType : ILabelProvider {
public const string Invoice = "INV";
public const string NoUpdate = "UND";
public const string Undefined = "UND";
public const string CashReturn = "RCS";
public const string SmallCreditWO = "SMC";
public const string SmallBalanceWO = "SMB";
public const string FinCharge = "FCH";
public const string CashSale = "CSL";
public const string Refund = "REF";
public const string Prepayment = "PPM";
public const string VoidPayment = "RPM";
public const string Payment = "PMT";
public const string CreditMemo = "CRM";
public const string DebitMemo = "DRM";
public const string VoidRefund = "VRF";
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment