I’m trying to override the MaxValue on MarkupPct field for Stock Item screen (it is currently 1000). In my graph extension I have:
[PXMergeAttributes(Method = MergeMethod.Merge)]
[PXCustomizeBaseAttribute(typeof(PXDecimalAttribute), nameof(PXDecimalAttribute.MaxValue), 9999)]
protected void InventoryItem_MarkupPct_CacheAttached(PXCache sender) { }
but I still can’t enter more than 1000. Any ideas?
Best answer by rjean09
I’m trying to override the MaxValue on MarkupPct field for Stock Item screen (it is currently 1000). In my graph extension I have:
[PXMergeAttributes(Method = MergeMethod.Merge)]
[PXCustomizeBaseAttribute(typeof(PXDecimalAttribute), nameof(PXDecimalAttribute.MaxValue), 9999)]
protected void InventoryItem_MarkupPct_CacheAttached(PXCache sender) { }
but I still can’t enter more than 1000. Any ideas?
Rookie mistake. I noticed it right after I posted. Should be PXDBDecimalAttribute not PXDecimalAttribute