Body:
- startDate (string): Дата початку виробництва
- finishDate (string): Дата завершення виробництва
- products (array): Масив продукції
- nomenclature (string): UUID номенклатури
- quantity (number): Кількість
- specification (string): UUID специфікації
- order? (string): UUID замовлення покупця (invoiceForCustomerPayment)
- responsible? (string): UUID відповідального
- date? (string): Дата документа
- number? (string): Номер документа
- comment? (string): Коментар
- manufacturer? (string): UUID виробника (складу)
- status? (string): UUID статусу
- baseDocument? (string): UUID документа-основи
-
operationType? (number): Код типу операції
operationKind? (number): Код виду операції
createProductionOrdersForMaterials? (boolean): Автоматично створювати ЗНВ на матеріали
documentType? (string): Код типу документа
withoutSpecification? (boolean): Без специфікації
productionType? (number): Код типу виробництва
unfulfilledCount? (number): Кількість невиконаних позицій
author? (string): UUID автора
project? (string): UUID проєкту
lineOfBusiness? (string): UUID напрямку діяльності
archived? (boolean): Чи в архіві
distributionType? (number): Тип розподілу собівартості (0 | 1)
banDate? (string | null)
banUpsert? (boolean)products (array): Продукція
nomenclature (string): UUID номенклатури
quantity (number): Кількість
specification (string): UUID специфікації
order? (string): UUID замовлення покупця
uniqueId? (string): Унікальний id рядка
price? (number): Ціна
totalSum? (number): Сума
costShare? (number): Частка вартості
comment? (string): Коментар
reserve? (number): Резерв
unit? (string): UUID од. вимірюванняmaterials? (array): Матеріали
nomenclature (string): UUID номенклатури
quantity (number): Кількість
warehouse? (string): UUID складу
price (number): Ціна
totalSum (number): Сума
reserve? (number): Резерв
stockBalance? (number): Залишок на складі
readyQuantity? (number): Кількість готового виробу
specificationQuantity? (number): Кількість у специфікації
uniqueId? (string): Унікальний id рядка
relatesTo? (string): uniqueId рядка продукції
stageId? (string): uniqueId етапу
unit? (string): UUID од. вимірювання
specification? (string): UUID специфікації
batch? (object | null): Партія { uuid, name? }
supplier? (object | null): Постачальник { uuid, name? }
contract? (object | null): Договір { uuid, name? }
analogWriteOffMethod? (number): Спосіб списання аналогівproductionStages? (array): Етапи виробництва
uniqueId? (string): Унікальний id рядка
relatesTo? (string): uniqueId рядка продукції
stage? (object | null): { uuid, name?, catalogType? }
priority? (number): Пріоритет / порядок
quantity? (number): Кількість
executionTime? (number): Час виконання
sum? (number): СумаproductionOperations? (array): Операції виробництва
uniqueId? (string): Унікальний id рядка
relatesTo? (string): uniqueId етапу
technologicalOperation? (object | null): { uuid, name?, catalogType? }
performer? (object | null): { uuid, name?, catalogType? }
contract? (object | null): { uuid, name? }
executionTime? (number)
quantity? (number)
price? (number)
sum? (number)
nomenclature? (object | null): { uuid, name? }
characteristic? (object | null): { uuid, name? }operationDependencies? (array): Залежності операцій
uniqueId? (string): uniqueId залежної операції
relatesTo? (string): uniqueId попередньої операції
previousOperation? (string): Ідентифікатор попередньої операції
Response:
{ uuid: string }