Question

Change base function in Sales Prices


Userlevel 3
Badge
In the Sales Prices Screen

Hi expert.

In this screen, When I choice Customer in Price Type Dropdown then Price Code Field will be visible, opposite I choice All Pricees in Price Type Dropdown then Price Code Field will be invisible. 

Now I want change flow, Price Code Field always visible. I try code below, but not effect. I forecast my code conflict with base function this screen. Please show me some suggestion. Thank you so much.

 var row = (ARSalesPriceFilter)e.Row;
            InvokeBaseHandler?.Invoke(cache, e);
            if (row != null && row.PriceType != null && PriceTypes["All Prices"].Equals(row.PriceType.Trim()))
            {
                PXUIFieldAttribute.SetVisible<ARSalesPriceFilter.priceCode>(cache, null, true);
            }


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved