How to Set the Dates Interval in the Document List Form?

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

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

 
#2
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

Just got it:

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

 
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.