Created
September 28, 2021 13:55
-
-
Save BrianMRO/0d1a2baa173dad741300246cb519cae6 to your computer and use it in GitHub Desktop.
Approval Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Hook to Standard Approval System | |
[PXViewName(Messages.Approval)] | |
public EPApprovalAutomation<MyDAC, MyDAC.approved, MyDAC.rejected, MyDAC.hold, MySetupApproval> Approval; | |
#endregion | |
#region EPApproval Cache Attached | |
[PXDBDate()] | |
[PXDefault(typeof(MyDAC.planDate), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_DocDate_CacheAttached(PXCache sender) { } | |
[PXDBInt()] | |
[PXDefault(typeof(MyDAC.customerID), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_BAccountID_CacheAttached(PXCache sender) { } | |
[PXDBInt()] | |
[PXDefault(typeof(MyDAC.ownerID), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_DocumentOwnerID_CacheAttached(PXCache sender) { } | |
[PXDBString(60, IsUnicode = true)] | |
[PXDefault(typeof(MyDAC.descr), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_Descr_CacheAttached(PXCache sender) { } | |
[PXDBLong()] | |
[CurrencyInfo(typeof(MyDAC.curyInfoID))] | |
protected virtual void EPApproval_CuryInfoID_CacheAttached(PXCache sender) { } | |
[PXDBDecimal(4)] | |
[PXDefault(typeof(MyDAC.curyExtCost), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_CuryTotalAmount_CacheAttached(PXCache sender) { } | |
[PXDBDecimal(4)] | |
[PXDefault(typeof(MyDAC.extCost), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_TotalAmount_CacheAttached(PXCache sender) { } | |
#endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment