/** * Posting status. DRAFT does not affect stock; POSTED does. */ export const OutboundShipmentStatus = { "DRAFT": "DRAFT", "CANCELLED": "CANCELLED", "POSTED": "POSTED" } as const; export type OutboundShipmentStatus = (typeof OutboundShipmentStatus)[keyof typeof OutboundShipmentStatus]; /** * Stock type affected by this line */ export const OutboundShipmentLineStockType = { "AVAILABLE": "AVAILABLE", "BLOCKED": "BLOCKED", "IN_TRANSIT": "IN_TRANSIT" } as const; export type OutboundShipmentLineStockType = (typeof OutboundShipmentLineStockType)[keyof typeof OutboundShipmentLineStockType]; /** * Source document type. Generic reference, not a typed foreign key. */ export const OutboundShipmentLineSourceDocumentType = { "SALES_ORDER": "SALES_ORDER" } as const; export type OutboundShipmentLineSourceDocumentType = (typeof OutboundShipmentLineSourceDocumentType)[keyof typeof OutboundShipmentLineSourceDocumentType];