1C: Enterprise 8.2 (8.2.17.153)
Create a document "customer order":
НовыйДок = Документы.ЗаказКлиента.СоздатьДокумент();
I fill the fields "Дата"
, "Контрагент"
, ...
I add the goods. I fill in their fields Номенклатура
, Количество
, КоличествоУпаковок
СтавкаНДС
, Цена
, Сумма
, СтавкаНДС
, Склад
.
I write down the document:
НовыйДок.Записать(РежимЗаписиДокумента.Проведение);
1c gives an error:
{General Module. Additional Module. Module (247)}: Error while calling the context method (Write): The record is not correct! The period can not be empty! (Register of accumulation: the movement of goods; Line number: 1)
I tried to add this период
both to the document itself and to the goods, but it gives an error: "The object field was not found."
What is this "Период"
and where to screw it?