IOutput: { marketplaceCreateWriteoffDraft: { authorized_at?: null | string; coopname: string; created_at: string; cycle_started_at: string; decided_by_account?: null | string; decision_id?: null | number; decision_log: { action: string; actor: string; at: string; }[]; executed_at?: null | string; id: string; items: { amount: string; asset_title: string; braname: string; branch_name?: null | string; executed: boolean; inventory_ids: string[]; package_size?: null | number; quantity: string; reason: string; unit_of_measure?: null | MarketplaceUnitOfMeasure; }[]; proposal_hash: string; proposed_by_account?: null | string; reject_reason?: null | string; rejected_at?: null | string; status: MarketplaceWriteoffProposalStatus; submitted_at?: null | string; total_amount: string; trigger: MarketplaceWriteoffProposalTrigger; updated_at: string; }; } Type declaration
marketplaceCreateWriteoffDraft: {
authorized_at?: null | string;
coopname: string;
created_at: string;
cycle_started_at: string;
decided_by_account?: null | string;
decision_id?: null | number;
decision_log: {
action: string;
actor: string;
at: string;
}[];
executed_at?: null | string;
id: string;
items: {
amount: string;
asset_title: string;
braname: string;
branch_name?: null | string;
executed: boolean;
inventory_ids: string[];
package_size?: null | number;
quantity: string;
reason: string;
unit_of_measure?: null | MarketplaceUnitOfMeasure;
}[];
proposal_hash: string;
proposed_by_account?: null | string;
reject_reason?: null | string;
rejected_at?: null | string;
status: MarketplaceWriteoffProposalStatus;
submitted_at?: null | string;
total_amount: string;
trigger: MarketplaceWriteoffProposalTrigger;
updated_at: string;
}
Optional authorized_at?: null | string
coopname: string
created_at: string
cycle_started_at: string
Optional decided_by_account?: null | string
Optional decision_id?: null | number
decision_log: {
action: string;
actor: string;
at: string;
}[]
Optional executed_at?: null | string
id: string
items: {
amount: string;
asset_title: string;
braname: string;
branch_name?: null | string;
executed: boolean;
inventory_ids: string[];
package_size?: null | number;
quantity: string;
reason: string;
unit_of_measure?: null | MarketplaceUnitOfMeasure;
}[]
proposal_hash: string
Optional proposed_by_account?: null | string
Optional reject_reason?: null | string
Optional rejected_at?: null | string
Optional submitted_at?: null | string
total_amount: string
updated_at: string
Создаёт ручной черновик проекта списания. На кооператив может быть только один открытый черновик и один проект, отправленный в совет.