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