I am wondering if anyone has had any luck increasing the decimal length higher than 6 (Acumatic's OOB limit)?
Hi
If you wanted increase the decimals more than 6 decimal, it requires small piece of customisation.
I just worked on this customisation and hope this helps you.
Please find the source code for your reference.
public class OrganizationMaint_Extension : PXGraphExtension<OrganizationMaint>
{
PXMergeAttributes(Method = MergeMethod.Merge)]
PXRemoveBaseAttributeAttribute (typeof(PXDBShortAttribute))]
PXDBShort(MinValue = 0, MaxValue = 10)]
public virtual void CommonSetup_DecPlPrcCst_CacheAttached(PXCache sender)
{
}
}
This is pretty cool!
Just running with Naveen’s idea, you can do the same thing for Qty:
PXMergeAttributes(Method = MergeMethod.Merge)]
PXRemoveBaseAttributeAttribute (typeof(PXDBShortAttribute))]
PXDBShort(MinValue = 0, MaxValue = 10)]
public virtual void CommonSetup_DecPlQty_CacheAttached(PXCache sender)
{
}
Yes
using PX.Objects;
using PX.Objects.CS;
namespace PX.Objects.CS
{
public class OrganizationMaint_Extension : PXGraphExtension<OrganizationMaint>
{
tPXDBShort(MinValue = 0, MaxValue = 10)]
public virtual void CommonSetup_DecPlPrcCst_CacheAttached(PXCache sender)
public virtual void CommonSetup_DecPlQty_CacheAttached(PXCache sender)
{
}
#region Event Handlers
#endregion
}
}
Hi
using PX.Data;
namespace PX.Objects.CS
{
public class OrganizationMaint_Extension : PXGraphExtension<OrganizationMaint>
{
PXMergeAttributes(Method = MergeMethod.Merge)]
PXRemoveBaseAttributeAttribute(typeof(PXDBShortAttribute))]
PXDBShort(MinValue = 0, MaxValue = 10)]
public virtual void CommonSetup_DecPlQty_CacheAttached(PXCache sender)
{
}
#region Event Handlers
#endregion
}
}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.