ETASCOM CRM V3 - Documentation API
    Preparing search index...
    interface FormattedWorkOrder {
        id: string;
        number: string;
        status:
            | "DRAFT"
            | "CANCELLED"
            | "COMPLETED"
            | "IN_PROGRESS"
            | "PLANNED"
            | "PAUSED";
        priority: "LOW"
        | "NORMAL"
        | "HIGH"
        | "URGENT";
        plannedQuantity: number;
        producedQuantity: number;
        plannedStartDate: Date | null;
        plannedEndDate: Date | null;
        actualStartDate: Date | null;
        actualEndDate: Date | null;
        totalProductionTime: number | null;
        isTimerRunning: boolean;
        notes: string | null;
        createdAt: Date;
        updatedAt: Date;
        companyId: string | null;
        clientId: string | null;
        finishedProductId: string;
        routingId: string | null;
        equipmentId: string | null;
        product: {
            id: string;
            name: string;
            code: string;
            description: string | null;
            category: { id: string; name: string } | null;
            unitOfMeasure: { id: string; name: string; symbol: string } | null;
            billOfMaterials: BillOfMaterial[];
        };
        client: | {
            id: string;
            name: string;
            code: string;
            email: string
            | null;
            phone: string | null;
        }
        | null;
        billOfMaterials: BillOfMaterial[];
        steps: ProductionStep[];
        routings: Operation[];
        materials: ToolAssignment[];
        progress: number;
        isDelayed: boolean;
        scanInfo: {
            scannedAt: string;
            scannedBy: { id: string; name: string
            | null; email: string };
        };
        finishedProduct: any;
        routing: any;
        equipment: any;
        toolAssignments: any;
    }
    Index

    Properties

    id: string
    number: string
    status:
        | "DRAFT"
        | "CANCELLED"
        | "COMPLETED"
        | "IN_PROGRESS"
        | "PLANNED"
        | "PAUSED"
    priority: "LOW" | "NORMAL" | "HIGH" | "URGENT"
    plannedQuantity: number
    producedQuantity: number
    plannedStartDate: Date | null
    plannedEndDate: Date | null
    actualStartDate: Date | null
    actualEndDate: Date | null
    totalProductionTime: number | null
    isTimerRunning: boolean
    notes: string | null
    createdAt: Date
    updatedAt: Date
    companyId: string | null
    clientId: string | null
    finishedProductId: string
    routingId: string | null
    equipmentId: string | null
    product: {
        id: string;
        name: string;
        code: string;
        description: string | null;
        category: { id: string; name: string } | null;
        unitOfMeasure: { id: string; name: string; symbol: string } | null;
        billOfMaterials: BillOfMaterial[];
    }
    client:
        | {
            id: string;
            name: string;
            code: string;
            email: string
            | null;
            phone: string | null;
        }
        | null
    billOfMaterials: BillOfMaterial[]
    routings: Operation[]
    materials: ToolAssignment[]
    progress: number
    isDelayed: boolean
    scanInfo: {
        scannedAt: string;
        scannedBy: { id: string; name: string | null; email: string };
    }
    finishedProduct: any
    routing: any
    equipment: any
    toolAssignments: any