Instantly share code, notes, and snippets.

Embed
What would you like to do?
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