Hello again!
I have one very specific question about Document user input : How do I make the user input more adequate information about when a shift starts and when it ends using ( as I recall ) somekind of a list? The problem I'm having is that I cannot use the standart Date value instead I need exact TIME when the shift started ... This will be a part of a Document's Tabular Part.
I've came with something but I would prefer someone more clever than me to throw some ideas Just to be sure ...
Thank you beforehand !
User Input In Document Object
Re: User Input In Document Object
May be you can use the predefined 1C object PeriodSettings. Please view 1C:Enterprise Help for more details.
You can insert two TextBoxes with bound StartDate and EndDate attributes of type Date and Button with the following handler:
You can insert two TextBoxes with bound StartDate and EndDate attributes of type Date and Button with the following handler:
Code: Select all
periodSettings = new PeriodSettings;
periodSettings.SetPeriod('20100401','20100531');
If periodSettings.Edit() then
Object.StartDate = periodSettings.GetDateFrom();
Object.EndDate = periodSettings.GetDateTo();
EndIf;
Return to “User input and data storing”
Who is online
Users browsing this forum: No registered users and 1 guest