Skip to content

Commit

Permalink
Обновление версии конфигурации поставщика на 3.1.10.313
Browse files Browse the repository at this point in the history
Страница релиза:
https://releases.1c.ru/version_files?nick=SSLWE&ver=3.1.10.313
Версии для обновления:
  • Loading branch information
1c committed Sep 16, 2024
1 parent bd0d58b commit 1435ae8
Show file tree
Hide file tree
Showing 1,836 changed files with 77,321 additions and 69,136 deletions.
6 changes: 3 additions & 3 deletions description.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Версия": "3.1.10.271",
"Дата": "2024-08-14T00:00:00",
"Путь": "/version_files?nick=SSLWE&ver=3.1.10.271",
"Версия": "3.1.10.313",
"Дата": "2024-09-17T00:00:00",
"Путь": "/version_files?nick=SSLWE&ver=3.1.10.313",
"ВерсииДляОбновления": [],
"Бета": false,
"Имя": "1C:Standard Subsystems Library",
Expand Down
70 changes: 34 additions & 36 deletions src/cf/BusinessProcesses/Job/Ext/ManagerModule.bsl
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, OOO 1C-Soft
// All rights reserved. This software and the related materials
// are licensed under a Creative Commons Attribution 4.0 International license (CC BY 4.0).
// To view the license terms, follow the link:
// https://creativecommons.org/licenses/by/4.0/legalcode
//
//
//
//
//
///////////////////////////////////////////////////////////////////////////////////////////////////////
//
//

#If Server Or ThickClientOrdinaryApplication Or ExternalConnection Then

#Region Public

#Region ForCallsFromOtherSubsystems

// StandardSubsystems.BatchEditObjects

// Returns object attributes that can be edited using the bulk attribute modification data processor.
//

// Returns object details that can be edited
// by processing group changes to details.
//
// Returns:
// Array of String
Expand All @@ -38,20 +36,20 @@ EndFunction

// End StandardSubsystems.BatchEditObjects

// StandardSubsystems.BusinessProcessesAndTasks
//

// Gets a structure with description of a task execution form.
// The function is called when opening the task execution form.
// Get a structure with a description of the task completion form.
// Called when opening the task completion form.
//
// Parameters:
// TaskRef - TaskRef.PerformerTask - Task to be open.
// BusinessProcessRoutePoint - BusinessProcessRoutePointRef.Job - Current route point.
// TaskRef - TaskRef.PerformerTask -
// BusinessProcessRoutePoint - BusinessProcessRoutePointRef.Job -
//
// Returns:
// Structure:
// * FormParameters - Structure:
// ** Key - TaskRef.PerformerTask
// * FormName - String - Form name to pass to the "OpenForm" context method
// * FormName - String -
//
Function TaskExecutionForm(TaskRef, BusinessProcessRoutePoint) Export

Expand All @@ -67,16 +65,16 @@ Function TaskExecutionForm(TaskRef, BusinessProcessRoutePoint) Export

EndFunction

// Runs when a task is forwarded.
// Called when a task is redirected.
//
// Parameters:
// TaskRef - TaskRef.PerformerTask - a forwarded task.
// NewTaskRef - TaskRef.PerformerTask - a task for a new assignee.
// TaskRef - TaskRef.PerformerTask - the forwarded task.
// NewTaskRef - TaskRef.PerformerTask - task for a new performer.
//
Procedure OnForwardTask(TaskRef, NewTaskRef) Export

// ACC:1327-off - The business process was locked in the calling function
// "BusinessProcessesAndTasksServerCall.ForwardTasks".
//
//
TaskInfo = Common.ObjectAttributesValues(TaskRef,
"Ref,BusinessProcess,ExecutionResult,CompletionDate,Performer");
BusinessProcessObject = TaskInfo.BusinessProcess.GetObject();
Expand All @@ -85,16 +83,16 @@ Procedure OnForwardTask(TaskRef, NewTaskRef) Export
+ BusinessProcessObject.ExecutionResult;
SetPrivilegedMode(True);
BusinessProcessObject.Write();
// ACC:1327-on
//

EndProcedure

// Runs when a task is started from a list form.
// Called when executing a task from the list form.
//
// Parameters:
// TaskRef - TaskRef.PerformerTask - Task.
// BusinessProcessRef - BusinessProcessRef - a business process for which the TaskRef task is generated.
// BusinessProcessRoutePoint - BusinessProcessRoutePointRef - Route point.
// TaskRef - TaskRef.PerformerTask - task.
// BusinessProcessRef - BusinessProcessRef - business the process by which the task of Segacasino.
// BusinessProcessRoutePoint - BusinessProcessRoutePointRef - route point.
//
Procedure DefaultCompletionHandler(TaskRef, BusinessProcessRef, BusinessProcessRoutePoint) Export

Expand All @@ -104,7 +102,7 @@ Procedure DefaultCompletionHandler(TaskRef, BusinessProcessRef, BusinessProcessR
Return;
EndIf;

// Set default values for bulk task execution.
//
BeginTransaction();
Try
BusinessProcessesAndTasksServer.LockBusinessProcesses(BusinessProcessRef);
Expand All @@ -119,7 +117,7 @@ Procedure DefaultCompletionHandler(TaskRef, BusinessProcessRef, BusinessProcessR
JobObject.Completed2 = True;
JobObject.Accepted = True;
EndIf;
JobObject.Write(); // CAC:1327 The lock is set in the BusinessProcessesAndTasksServer.LockBusinessProcesses.
JobObject.Write(); //

CommitTransaction();
Except
Expand All @@ -131,7 +129,7 @@ EndProcedure

// End StandardSubsystems.BusinessProcessesAndTasks

// StandardSubsystems.AccessManagement
//

// Parameters:
// Restriction - See AccessManagementOverridable.OnFillAccessRestriction.Restriction.
Expand Down Expand Up @@ -170,9 +168,9 @@ EndProcedure

// End StandardSubsystems.AccessManagement

// StandardSubsystems.AttachableCommands
// Standard subsystems.Pluggable commands

// Defines the list of generation commands.
// Defines a list of creation commands based on.
//
// Parameters:
// GenerationCommands - See GenerateFromOverridable.BeforeAddGenerationCommands.GenerationCommands
Expand All @@ -182,14 +180,14 @@ Procedure AddGenerationCommands(GenerationCommands, Parameters) Export

EndProcedure

// Intended for use by the AddGenerationCommands procedure in other object manager modules.
// Adds this object to the list of generation commands.
// To use in the procedure add a create command Based on other object Manager modules.
// Adds this object to the list of base creation commands.
//
// Parameters:
// GenerationCommands - See GenerateFromOverridable.BeforeAddGenerationCommands.GenerationCommands
//
// Returns:
// ValueTableRow, Undefined - Details of the added command.
// ValueTableRow, Undefined -
//
Function AddGenerateCommand(GenerationCommands) Export

Expand Down Expand Up @@ -220,9 +218,9 @@ EndFunction
#Region Private

////////////////////////////////////////////////////////////////////////////////
// Miscellaneous.
// OtherItems

// Sets the state of the task form items.
// Sets the state of the task form elements.
//
// Parameters:
// Form - ClientApplicationForm:
Expand Down
52 changes: 25 additions & 27 deletions src/cf/BusinessProcesses/Job/Ext/ObjectModule.bsl
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, OOO 1C-Soft
// All rights reserved. This software and the related materials
// are licensed under a Creative Commons Attribution 4.0 International license (CC BY 4.0).
// To view the license terms, follow the link:
// https://creativecommons.org/licenses/by/4.0/legalcode
//
//
//
//
//
///////////////////////////////////////////////////////////////////////////////////////////////////////
//
//

#If Server Or ThickClientOrdinaryApplication Or ExternalConnection Then

#Region Public

#Region ForCallsFromOtherSubsystems

// StandardSubsystems.AccessManagement
//

// Parameters:
// Table - See AccessManagement.AccessValuesSetsTable
Expand All @@ -40,7 +38,7 @@ EndProcedure
#Region EventHandlers

////////////////////////////////////////////////////////////////////////////////
// Business process event handlers.
//

Procedure BeforeWrite(Cancel)

Expand Down Expand Up @@ -84,7 +82,7 @@ Procedure Filling(FillingData, FillingText, StandardProcessing)
If TypeOf(FillingData) = Type("CatalogRef.Users") Then
Performer = FillingData;
Else
// For auto completion in a blank Assignee field.
//
Performer = Catalogs.Users.EmptyRef();
EndIf;
EndIf;
Expand Down Expand Up @@ -124,7 +122,7 @@ Procedure OnCopy(CopiedObject)
EndProcedure

////////////////////////////////////////////////////////////////////////////////
// Flowchart items event handlers.
//

// Parameters:
// BusinessProcessRoutePoint - BusinessProcessRoutePointRef.Job
Expand All @@ -136,7 +134,7 @@ Procedure ExecuteWhenCreatingTasks(BusinessProcessRoutePoint, TasksBeingFormed,
IterationNumber = IterationNumber + 1;
Write();

// Setting the addressing attributes and additional attributes for each task.
//
For Each Task In TasksBeingFormed Do

Task.Author = Author;
Expand Down Expand Up @@ -184,7 +182,7 @@ Procedure CheckWhenCreatingTasks(BusinessProcessRoutePoint, TasksBeingFormed, Ca
Return;
EndIf;

// Setting the addressing attributes and additional attributes for each task.
//
For Each Task In TasksBeingFormed Do

Task.Author = Author;
Expand Down Expand Up @@ -235,9 +233,9 @@ EndProcedure

#Region Private

// Updates attribute values of uncompleted tasks
// according to the Job business process attributes:
// Importance, TaskDueDate, Description, and Author.
// Updates the details of outstanding tasks
// according to the details of the business process Task:
// Importance, Deadline, Name and Author.
//
Procedure ChangeUncompletedTasksAttributes() Export

Expand Down Expand Up @@ -268,8 +266,8 @@ Procedure ChangeUncompletedTasksAttributes() Export
TaskObject.Description = ?(TaskObject.RoutePoint = BusinessProcesses.Job.RoutePoints.Execute,
TaskDescriptionForExecution(), TaskDescriptionForCheck());
TaskObject.Author = Author;
// Don't check for the preliminary data edit lock:
// this change has a higher priority than the opened task forms.
//
//
TaskObject.Write();
EndDo;

Expand Down Expand Up @@ -305,8 +303,8 @@ Procedure ChangeTaskSubject()
While SelectionDetailRecords.Next() Do
TaskObject = SelectionDetailRecords.Ref.GetObject(); // TaskObject
TaskObject.SubjectOf = SubjectOf;
// Don't check for the preliminary data edit lock:
// this change has a higher priority than the opened task forms.
//
//
TaskObject.Write();
EndDo;
CommitTransaction();
Expand Down Expand Up @@ -388,26 +386,26 @@ EndFunction

Procedure FillDefaultAccessValuesSets(Table)

// The default access rights
// - Read: Author OR Performer (addressing-wise) OR Supervisor (addressing-wise).
// - Update: Author.
//
//
//

// If the subject is not specified (the business process is not based on another subject), then the subject is not involved in the restriction logic.
//

// Read, Update: Set #1.
//
String = Table.Add();
String.SetNumber = 1;
String.Read = True;
String.Update = True;
String.AccessValue = Author;

// Read: Set #2.
//
String = Table.Add();
String.SetNumber = 2;
String.Read = True;
String.AccessValue = TaskPerformersGroup;

// Read: Set #3.
//
String = Table.Add();
String.SetNumber = 3;
String.Read = True;
Expand Down
Loading

0 comments on commit 1435ae8

Please sign in to comment.