Acumatica Can Have Two Views With Main DAC
Hello everybody,
today I want to share option, which was shocking for me. I discovered that graph can have more then one dataview for the same main DAC. Here is sample of code form T200 manual:
public PXSelect<Product> Products;
public PXSelect<Product,
Where<Product.productID, Equal<Current<Product.productID>>>>
ProductDetails;
Here also continaution of the manual why on Earth you can need this:
These two data views can only be used as data members for UI containers that display the same data record at a time. In such definition of data views, the first one is used to display brief information of a product on a form, and the second one is used to display the detail information of the same product on a tab. For both data views, the Currentproperty of the PXCachecache object returns the same Productdata record. If a user selects a data record in one UI container, the same data record appears in the second container.
Ready to take your Acumatica development to the next level? Just like leveraging multiple data views for a single DAC can unlock new possibilities in your application, customizing Acumatica to fit your unique business needs can transform your workflows. If you have a specific customization in mind or want to explore how Acumatica can be tailored to your requirements, leave us a request today! Let’s build something extraordinary together—your vision, our expertise. Request a customization now!