Custom ordering in Dynamic list

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

We have a string representation of period, which could be monthly, annual etc, so we have a list of some strings. If I try to order by period, clearly I'm getting a mess, it is ordered by string representation. How could I implement period presentation with correct ordering behavior?

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey.

You can use date field in the query of the dynamic list and you can set format of it in the way you like, for example only year.

Download date.png (40.54 KB)
 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.