Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,9 @@ Procedure ICheckOrCreateDocumentObjectsAtServer(ObjectName, Values, DataExchange
Continue;
EndIf;
If Column.Name = "Posted" Or Column.Name = "Проведен" Then
If DataExchange Then
Obj.Posted = (Row[Column.Name] = "True");
EndIf;
Continue;
EndIf;
If (Column.Name = "DeletionMark" Or Column.Name = "ПометкаУдаления")
Expand All @@ -524,9 +527,10 @@ Procedure ICheckOrCreateDocumentObjectsAtServer(ObjectName, Values, DataExchange
EndDo;
FoundColumn = ObjectAttributes.Columns.Find("Posted");
If FoundColumn = Undefined Then
FoundColumn = ObjectAttributes.Columns.Find("Проведен");
FoundColumn = ObjectAttributes.Columns.Find("Проведен");
EndIf;
If FoundColumn <> Undefined
If Not DataExchange
And FoundColumn <> Undefined
And Row[FoundColumn.Name] = "True" Then
DocumentWriteModeValue = DocumentWriteMode.Posting;
Else
Expand Down