Created
November 30, 2018 04:58
-
-
Save smarenich/a11192f0ad741c65752cb66f595e4f87 to your computer and use it in GitHub Desktop.
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
using System; | |
using PX.Data; | |
using PX.Objects.CM; | |
using PX.Objects.CS; | |
using PX.Objects.IN; | |
using PX.Objects.TX; | |
namespace PX.Objects.AR | |
{ | |
public class ARTaxExtensionAttribute : ARTaxAttribute | |
{ | |
public ARTaxExtensionAttribute(Type ParentType, Type TaxType, Type TaxSumType) : base(ParentType, TaxType, TaxSumType) | |
{ | |
Precision = 4; | |
} | |
} | |
public class ARInvoiceEntryTaxPrecExtendedExt : PXGraphExtension<ARInvoiceEntry> | |
{ | |
[PXRemoveBaseAttribute(typeof(ARTaxAttribute))] | |
[PXMergeAttributes(Method = MergeMethod.Append)] | |
[ARTaxExtensionAttribute(typeof(ARInvoice), typeof(ARTax), typeof(ARTaxTran))] | |
protected virtual void ARTran_TaxCategoryID_CacheAttached(PXCache sender) { } | |
[PXRemoveBaseAttribute(typeof(PXDBDecimalAttribute))] | |
[PXMergeAttributes(Method = MergeMethod.Append)] | |
[PXDBDecimal(4)] | |
protected virtual void ARTaxTran_CuryTaxableAmt_CacheAttached(PXCache sender) { } | |
[PXRemoveBaseAttribute(typeof(PXDBDecimalAttribute))] | |
[PXMergeAttributes(Method = MergeMethod.Append)] | |
[PXDBDecimal(4)] | |
protected virtual void ARTaxTran_CuryTaxAmt_CacheAttached(PXCache sender) { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment