Search found 168 matches

by p.dimitrov
14 Nov 2018, 10:44
Forum: Discussion
Topic: MySQL query field question
Replies: 14
Views: 8830

Re: MySQL query field question

What fields are allowed to be used in query? Every time I use function in formula field and try to use it in query I get error "1064 - You have an error in your SQL syntax;"
by p.dimitrov
14 Nov 2018, 10:05
Forum: Suggestions
Topic: Form Disply Rules
Replies: 5
Views: 820

Re: Form Disply Rules

I was thinking that would be flexible solution too!
by p.dimitrov
09 Nov 2018, 12:47
Forum: Discussion
Topic: MySQL query field question
Replies: 14
Views: 8830

Re: MySQL query field question

I was able to pull client id with static query:
client id.jpg
I was able to use it as condition to calculate price, but only if price query is set to dynamic query:
price.jpg
If set to static query returns 0. Is it possible to be a bug, or it's a limitation of the query field?
by p.dimitrov
08 Nov 2018, 12:23
Forum: Discussion
Topic: MySQL query field question
Replies: 14
Views: 8830

Re: MySQL query field question

I tried a function SELECT with "parent_item_id" on "Order" entity. Again it shows properly client id, but if I try to use it in query get this error:
error.jpg
Looks like there is not way to make this happen at all :(
by p.dimitrov
08 Nov 2018, 11:12
Forum: Discussion
Topic: MySQL query field question
Replies: 14
Views: 8830

Re: MySQL query field question

Yes I have tried that, value from parent entity client>order, then order>service. Here it what happens:
structure2.jpg
The field shows 19 like it should, but doesn't pull the price.
If I write 19 in the query, the id for this specific client, it works.
structure3.jpg
by p.dimitrov
08 Nov 2018, 10:02
Forum: Discussion
Topic: MySQL query field question
Replies: 14
Views: 8830

Re: MySQL query field question

Hi Sergey, I'm trying to pull prices from client directly to service: structure.jpg So I must pass client ID to sub-sub-entity, is this possible? I'm trying to pass client ID to service entity, so I can compare it and pull price with MySQL query, but it doesn't work either way: value from parent ent...
by p.dimitrov
25 Oct 2018, 19:00
Forum: Discussion
Topic: one field to control another
Replies: 9
Views: 1417

Re: one field to control another

You make new "Text pattern" field and list the id's of fields you want to display:

Code: Select all

[id1] [id2] [id3]
If certain field doesn't have value it wont be displayed. Others will be displayed as you order them. You can use characters like / or | or space to separate them and html and css as well.
by p.dimitrov
25 Oct 2018, 14:29
Forum: Discussion
Topic: one field to control another
Replies: 9
Views: 1417

Re: one field to control another

Well, if the goal is to show values of 3 fields in one field why don't you just combine them in 4-th pattern field?
by p.dimitrov
25 Oct 2018, 10:31
Forum: Suggestions
Topic: Related items search dialogue
Replies: 1
Views: 777

Related items search dialogue

Some suggestions about the search dialogue in related items field: -in "entity" filed we can set filters for the results. can we use filters in "related items" too? filters.jpg -search dialogue show records that are already attached - this could be misleading when working and sho...
by p.dimitrov
24 Oct 2018, 08:33
Forum: Bug Report version 2.3
Topic: MySQL query + function
Replies: 2
Views: 3087

Re: MySQL query + function

Ok, thanks Sergey.