/**
 * Goods-receipt lifecycle status
 */
export const GoodsReceiptStatus = {
  "DRAFT": "DRAFT",
  "POSTED": "POSTED",
  "CANCELLED": "CANCELLED"
} as const;
export type GoodsReceiptStatus = (typeof GoodsReceiptStatus)[keyof typeof GoodsReceiptStatus];

/**
 * Purchase-bill lifecycle status
 */
export const PurchaseBillStatus = {
  "DRAFT": "DRAFT",
  "BLOCKED": "BLOCKED",
  "MATCHED": "MATCHED",
  "CANCELLED": "CANCELLED"
} as const;
export type PurchaseBillStatus = (typeof PurchaseBillStatus)[keyof typeof PurchaseBillStatus];

/**
 * Purchase-order lifecycle status
 */
export const PurchaseOrderStatus = {
  "DRAFT": "DRAFT",
  "SUBMITTED": "SUBMITTED",
  "ORDERED": "ORDERED",
  "PARTIALLY_RECEIVED": "PARTIALLY_RECEIVED",
  "RECEIVED": "RECEIVED",
  "PARTIALLY_BILLED": "PARTIALLY_BILLED",
  "BILLED": "BILLED",
  "CANCELLED": "CANCELLED",
  "CLOSED": "CLOSED"
} as const;
export type PurchaseOrderStatus = (typeof PurchaseOrderStatus)[keyof typeof PurchaseOrderStatus];

/**
 * Lifecycle status: ACTIVE, INACTIVE
 */
export const PurchasePaymentTermStatus = {
  "ACTIVE": "ACTIVE",
  "INACTIVE": "INACTIVE"
} as const;
export type PurchasePaymentTermStatus = (typeof PurchasePaymentTermStatus)[keyof typeof PurchasePaymentTermStatus];

/**
 * Lifecycle status: ACTIVE, INACTIVE
 */
export const PurchasePriceListStatus = {
  "ACTIVE": "ACTIVE",
  "INACTIVE": "INACTIVE"
} as const;
export type PurchasePriceListStatus = (typeof PurchasePriceListStatus)[keyof typeof PurchasePriceListStatus];

/**
 * Lifecycle status: ACTIVE, INACTIVE
 */
export const PurchasePriceRuleStatus = {
  "ACTIVE": "ACTIVE",
  "INACTIVE": "INACTIVE"
} as const;
export type PurchasePriceRuleStatus = (typeof PurchasePriceRuleStatus)[keyof typeof PurchasePriceRuleStatus];
