Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > How to Set the Dates Interval in the Document List Form?

Forum

Search UsersRules
How to Set the Dates Interval in the Document List Form?
#1
Active user
Points:: 0
Joined:: Sep 27, 2011

I need to set the dates interval for all document list forms (managed forms). How can I make it programmatically?

Profile
#2
Active user
Points:: 0
Joined:: Sep 27, 2011

Just got it:

Code
LP = Items.List.Period;
LP.StartDate = BegOfMonth(CurrentDate());
LP.EndDate = EndOfMonth(CurrentDate());

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.