backbone-inventory 0.9.29

Inventory: stock ledger of record (SLE) + moving-average valuation; emits COGS/asset AccountingPost (Delivery/Receipt -> GL)
Documentation
//! Application services
//!
//! Generated by metaphor-schema. Do not edit manually.
//!
//! Each entity service is a type alias over `GenericCrudService`.

pub mod error;
pub use error::{ServiceError, ServiceResult};

pub mod picking_batch_service;
pub mod delivery_note_service;
pub mod delivery_note_item_service;
pub mod inventory_company_setting_service;
pub mod landed_cost_service;
pub mod landed_cost_line_service;
pub mod landed_cost_adjustment_line_service;
pub mod location_service;
pub mod stock_move_service;
pub mod stock_move_line_service;
pub mod operation_type_service;
pub mod transfer_service;
pub mod route_service;
pub mod route_rule_service;
pub mod reordering_rule_service;
pub mod purchase_receipt_service;
pub mod purchase_receipt_item_service;
pub mod quant_service;
pub mod scrap_service;
pub mod scrap_reason_tag_service;
pub mod stock_entry_service;
pub mod stock_entry_item_service;
pub mod stock_ledger_entry_service;
pub mod bin_service;
pub mod stock_reconciliation_service;
pub mod stock_reconciliation_item_service;
pub mod package_type_service;
pub mod storage_category_service;
pub mod storage_category_capacity_service;
pub mod putaway_rule_service;
pub mod lot_service;
pub mod package_service;
pub mod warehouse_service;
pub mod stock_item_service;

// <<< CUSTOM
// Hand-authored (user-owned): domain events, the GL-posting port, the valuation engine + writes,
// the read-model (availability/stock-balance), and the DeliveryRequested intake.
pub mod inventory_events;
pub mod inventory_gl;
pub mod inventory_write_service;
// The write surface, chunked: each is an `impl InventoryWriteService` block over the vocabulary
// that stays in `inventory_write_service` (so the `inventory_write_service::{NewReceipt, ...}`
// import paths are unchanged).
pub mod inventory_masters;
pub mod inventory_receipt;
pub mod inventory_delivery;
pub mod inventory_transfer;
pub mod inventory_reconciliation;
// The picking-batch satellite (SB-1): header mint, membership verbs, projection probes.
// The batch state is a stored compute over its member pickings — this file never writes it.
pub mod inventory_batch;
// The scrap satellite door: draft header, process through the ONE move engine (scrapped
// move to the loss sink), terminal done-stamp. Deferred-GL form for the HTTP surface.
pub mod inventory_scrap;
pub mod inventory_read;
// The two-scope availability read (display vs checkout) at one warehouse pivot, computed
// fresh per call off the quant reservation triangle — plus the AvailabilityScopePort
// contract (refusing default) a composing service fills.
pub mod availability_scope;
pub mod inventory_intake;
pub mod inventory_cancellation;
// The converged stock-move engine (_action_confirm / _action_assign / _action_done /
// _action_cancel) over quant-grain reservation — the stock-convergence service layer. Also the
// MovePipeline impl the scheduler drives. Declared `user_owned`.
pub mod inventory_move_engine;
// Procurement configuration (stock.route / stock.rule / warehouse.orderpoint): rule
// selection, pull/push move minting, the orderpoint computes, and the MovePipeline port the
// stock-move engine implements for the daily scheduler. Declared `user_owned`.
pub mod procurement_service;
// The org-scoped posting posture (cost-method vocabulary, the perpetual/periodic axis,
// the anglo-saxon delivery-debit swap) the door posts and the move engine consult. The
// `_custom` suffix keeps it outside generator territory by naming convention.
pub mod inventory_posture;
// Landed-cost documents: draft → validate (split by quantity/value/weight over the target
// receipt's DONE moves, remaining-share revaluation through the engine's adjustment verb,
// one door-owned GL envelope) → done; cancel from draft only. Also `_custom`-named.
pub mod landed_cost_service_custom;
pub mod inventory_reservation;
pub use inventory_reservation::{
    HoldAckLine, HoldLine, ReservationError, ReservationService,
};
// END CUSTOM

pub use picking_batch_service::PickingBatchService;
pub use delivery_note_service::DeliveryNoteService;
pub use delivery_note_item_service::DeliveryNoteItemService;
pub use inventory_company_setting_service::InventoryCompanySettingService;
pub use landed_cost_service::LandedCostService;
pub use landed_cost_line_service::LandedCostLineService;
pub use landed_cost_adjustment_line_service::LandedCostAdjustmentLineService;
pub use location_service::LocationService;
pub use stock_move_service::StockMoveService;
pub use stock_move_line_service::StockMoveLineService;
pub use operation_type_service::OperationTypeService;
pub use transfer_service::TransferService;
pub use route_service::RouteService;
pub use route_rule_service::RouteRuleService;
pub use reordering_rule_service::ReorderingRuleService;
pub use purchase_receipt_service::PurchaseReceiptService;
pub use purchase_receipt_item_service::PurchaseReceiptItemService;
pub use quant_service::QuantService;
pub use scrap_service::ScrapService;
pub use scrap_reason_tag_service::ScrapReasonTagService;
pub use stock_entry_service::StockEntryService;
pub use stock_entry_item_service::StockEntryItemService;
pub use stock_ledger_entry_service::StockLedgerEntryService;
pub use bin_service::BinService;
pub use stock_reconciliation_service::StockReconciliationService;
pub use stock_reconciliation_item_service::StockReconciliationItemService;
pub use package_type_service::PackageTypeService;
pub use storage_category_service::StorageCategoryService;
pub use storage_category_capacity_service::StorageCategoryCapacityService;
pub use putaway_rule_service::PutawayRuleService;
pub use lot_service::LotService;
pub use package_service::PackageService;
pub use warehouse_service::WarehouseService;
pub use stock_item_service::StockItemService;
// <<< CUSTOM
pub use inventory_events::{
    InventoryEvent, InventoryEventSink, OrderpointTriggered, StockDelivered, StockMoved,
    StockReceived, StockReconciled,
};
pub use inventory_gl::{
    AccountingPostEnvelope, GlPostAck, GlPostLine, GlPostRejected, GlPostSink,
};
pub use inventory_write_service::{
    DeliveryLine, InventoryError, InventoryWriteService, NewDelivery, NewReceipt, NewReconciliation,
    NewStockItem, NewTransfer, NewWarehouse, ReceiptLine, ReconLine, SubmitOutcome,
};
pub use inventory_read::{AvailabilityView, InventoryReadService, QuantAvailability, StockBalance};
pub use availability_scope::{
    AvailabilityScopeError, AvailabilityScopePort, AvailabilityScopeRead, CheckoutDemand,
    CheckoutFreeQty, RefusingAvailabilityScopePort, ScopedAvailability, SoldOutVerdict,
};
pub use inventory_intake::{
    DeliveryIntake, DeliveryRequestLine, DeliveryRequested, ReceiptExpected, ReceiptRequestLine,
};
pub use procurement_service::{
    AssignSweepReport, MovePipeline, MovePipelineError, NewOrderpoint, NewRoute, NewRouteRule,
    ProcurementError, ProcurementRequest, ProcurementService, ReorderOutcome,
};
pub use inventory_move_engine::{
    BackorderPolicy, MoveAssignOutcome, MoveDoneOutcome, MoveGlDirective, NewStockMove,
};
// END CUSTOM