Skip to main content

Inventory & Portal

", "/api/government-forms", "/api/government-filings", "/api/tin-compliance", "/api/ewt-payees", "/api/ewt-transactions"); } The hiring funnel, including the two genuinely public careers endpoints.

Controllers14
Endpoints86
Tables22
Screens17
API reference/api/ — group inventory-and-portal
OpenAPI spec/openapi/inventory-and-portal.json

URL prefixes​

Endpoints belong to this module by URL, exactly as the OpenAPI group defines it in backend/src/main/java/com/motorph/payroll/config/OpenApiConfiguration.java.

  • /api/inventory/**
  • /api/portal/**

Controllers​

ControllerBase pathEndpointsGETPOSTPUTPATCHDELETE
BarcodeController/api/inventory11————
InventoryController/api/inventory38187535
InventoryReportController/api/inventory/reports33————
ItemPriceController—6311—1
OrderController/api/inventory/orders6221—1
PortalAdminController/api/portal/admin32—1——
PortalAuthController/api/portal/auth2—2———
PortalCatalogController/api/portal/catalog33————
PortalOrderController/api/portal/orders421——1
PortalProfileController/api/portal/profile311—1—
ProfitController/api/inventory/profit32—1——
SerialLotController/api/inventory522—1—
StoreController/api/inventory/stores7312—1
WarehouseTransferController/api/inventory/transfers211———

Across the module: 43 GET, 18 POST, 11 PUT, 5 PATCH, 9 DELETE.

Tables​

Everything this module's controllers can reach through a repository, including through a shared service — so this is the upper bound of what the module touches, not the set of tables it owns. A table appearing under two modules means two modules can read it.

EntityTableColumnsTenant-scoped
CustomerOrdercustomer_order7Yes
Employeeemployee24Yes
InventoryIteminventory_item9Yes
InventoryLotinventory_lot7Yes
InventoryOrderinventory_order7Yes
InventoryStockinventory_stock2Yes
ItemCategoryitem_category3Yes
ItemPriceitem_price11Yes
ItemPriceHistoryitem_price_history5Yes
ItemSerialitem_serial5Yes
Notificationnotifications5Yes
PortalUserportal_user8—
PurchaseReceivingpurchase_receiving6Yes
ShipmentTrackingshipment_tracking6Yes
StockTransactionstock_transaction8Yes
Storestore9Yes
StoreInventorystore_inventory3Yes
Suppliersupplier7Yes
Userusers11—
Warehousewarehouse4Yes
WarehouseLocationwarehouse_location7Yes
WarehouseTransferwarehouse_transfer5Yes

Screens​

Frontend routes gated by a permission this module's endpoints also require — the link between a page and its API is the permission string, not the URL.

RouteComponentRequires
/inventory/dashboardInventoryDashboardinventory.dashboard.view
/inventory/itemsInventoryItemsinventory.items.view
/inventory/lotsInventoryLotsinventory.serials.view
/inventory/ordersInventoryOrdersinventory.orders.view
/inventory/portal-ordersPortalAdmininventory.portal.manage
/inventory/pricingInventoryPricinginventory.prices.view
/inventory/profitInventoryProfitinventory.profit.view
/inventory/receivingInventoryReceivinginventory.receiving.view
/inventory/reportsInventoryReportsinventory.reports.view
/inventory/scanInventoryScanStationinventory.stock.manage
/inventory/serialsInventorySerialsinventory.serials.view
/inventory/stockInventoryStockinventory.stock.view
/inventory/storesInventoryStoresinventory.stores.view
/inventory/suppliersInventorySuppliersinventory.suppliers.view
/inventory/transactionsInventoryTransactionsinventory.stock.view
/inventory/transfersInventoryTransfersinventory.transfers.view
/inventory/warehousesInventoryWarehousesinventory.locations.view

Unauthenticated endpoints​

2 endpoint(s) in this module are permitted without a token by PUBLIC_ENDPOINTS in backend/src/main/java/com/motorph/payroll/config/SecurityConfiguration.java.

MethodPath
POST/api/portal/auth/register
POST/api/portal/auth/login

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.