Dropdown or Autofill Option?

Hi all, is there a way to load all entities when adding a customer by change ticket entity action with prompt in rule to add to table?? this is where i am stuck…

Thanks in advance if you can help…

Try this for your [?prompt]

[?Customer;;{ENTITY LIST EXP:(ET=Customers)}]

It creates a Dropdown list, and as you start typing, it will “auto-fill / search” …

7 Likes

@QMcKay QMcKay You are a STAR, Thank You so Much :slight_smile:

Can this be done for Account Names so it can be used when making payouts?

I don’t see a reporting option for accounts. However, this can be done with REPORT SQL DETAILS.

What account type holds your payout accounts?

Pay suppliers is the one i am using

This will give you a list of every account:

{REPORT SQL DETAILS:SELECT Name FROM dbo.Accounts ORDER BY Name:F.Name}

If you have customer accounts, this list could be large.

This will give you a list of accounts with the account type ‘Payment Accounts’

{REPORT SQL DETAILS:SELECT A.Name FROM dbo.Accounts A INNER JOIN dbo.AccountTypes AT ON A.AccountTypeId = AT.Id WHERE AT.Name = 'Payment Accounts' ORDER BY A.Name:F.Name}

You can change ‘Payment Accounts’ to whichever account type your account falls under.

Thanks a lot man. As usual very helpful.

Am I doing something wrong?

My bad.

Try this:
{REPORT SQL DETAILS:SELECT Name FROM dbo.Accounts ORDER BY Name:F.Name::|}

or

{REPORT SQL DETAILS:SELECT A.Name FROM dbo.Accounts A INNER JOIN dbo.AccountTypes AT ON A.AccountTypeId = AT.Id WHERE AT.Name = 'Payment Accounts' ORDER BY A.Name:F.Name::|}

I added ::| at the end that will concatenate the query results separated by | which should work for the dropdown.

Thanks a mil once again.

1 Like