I need to remove And<INTran.qty, Greater<decimal0> condition from above query.
How I do that.
Best answer by aaghaei
@jeewanishalika20
sorry for typos. Writing on cellphone.
The projection DACs in Acumatica are equivalent of SQL views. I don’t think there is a way to alter built in Projections behavior. I am not sure about the extent of this projection DAC and its purpose of usage in your case but here are alternate options you have. Depending on your use case one or all my work. I ordered as easiest to most difficult below. please note the below option1 can work if inside the graph the view is not casted as the Projection DAC otherwise the platform will fail to explicitly convert one to another.
copy the existing DAC and change the Projection query then in your graph extension override the view selecting from the original DAC to the Custom DAC
wWrite a view delegate instructing the platform to read from custom DAC instead of original. If the view has already a delegate you will override the existing
A little bit of hacking by overriding the view in graph initialization and directing the existing view to read from a new one. The below is an example for a different scenario but logic is the same. See Yuriy’s response also can be found in his blog.
The projection DACs in Acumatica are equivalent of SQL views. I don’t think there is a way to alter built in Projections behavior. I am not sure about the extent of this projection DAC and its purpose of usage in your case but here are alternate options you have. Depending on your use case one or all my work. I ordered as easiest to most difficult below. please note the below option1 can work if inside the graph the view is not casted as the Projection DAC otherwise the platform will fail to explicitly convert one to another.
copy the existing DAC and change the Projection query then in your graph extension override the view selecting from the original DAC to the Custom DAC
wWrite a view delegate instructing the platform to read from custom DAC instead of original. If the view has already a delegate you will override the existing
A little bit of hacking by overriding the view in graph initialization and directing the existing view to read from a new one. The below is an example for a different scenario but logic is the same. See Yuriy’s response also can be found in his blog.