Hi Guys ‘
I am not able to create a data view of extension DAC in Extension Graph
public PXSelect<SSSLocationExt> Locationtest;
Getting this error CS0311
Thanks
Hi Guys ‘
I am not able to create a data view of extension DAC in Extension Graph
public PXSelect<SSSLocationExt> Locationtest;
Getting this error CS0311
Thanks
Hi
Do you have any specific reason to create a view with extension DAC? System will not support to create view with extension DAC
Normally We can get the value or assign the value using the GetExtension
Example:
SOOrderExtn orderExtn = Base.Document.Current.GetExtension<SOOrderExtn>();
orderExtn?.UsrField1= “Test”;
string val = orderExtn?.UsrField1;
You can create a view for the DAC and access the values using GetExtension<> method as indicated by Jini above.
Hi
Here is the Example:
public PXSelect<SOOrder,Where<SOOrderExt.customField,Equal<Required<SOOrder.customField>>».Select(this, custom field value);
Based on this view, you will get the records automatically.
Hi
Do you have any specific reason to create a view with extension DAC? System will not support to create view with extension DAC
Normally We can get the value or assign the value using the GetExtension
Example:
SOOrderExtn orderExtn = Base.Document.Current.GetExtension<SOOrderExtn>();
orderExtn?.UsrField1= “Test”;
string val = orderExtn?.UsrField1;
Is it possible to get a list that contains the extension data (with our without the base data) or do we have to loop over the list of base data and call GetExtension every time?
Hi
one Approch is that we need to create a new Dac for the grid and assaign the values to it,but in this case the code becomes lengthy
second Approch Simply we can bring it by using View, But
How to Acheive it?
Thanks in Advance
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.