Skip to main content

Inventory & Portal

", "/api/job-offers", "/api/interview-schedules", "/api/interview-feedback", "/api/staffing-plans", "/api/public/job-openings", "/api/public/job-applications"); } @Bean public GroupedOpenApi crmApi() { return group("crm", "/api/crm"); } The ERP document chains: quotation to payment on the sell side, requisition to supplier payment on the buy side, and the tax codes and payment terms both sides share.

Controllers14
Endpoints99
Tables25
Screens18
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/production/**
  • /api/portal/**
  • /api/public/catalog-media/**

Controllers​

ControllerBase pathEndpointsGETPOSTPUTPATCHDELETE
BarcodeController/api/inventory11————
InventoryController/api/inventory38187535
InventoryReportController/api/inventory/reports33————
ItemPriceController—6311—1
OrderController/api/inventory/orders6221—1
PortalAdminController/api/portal/admin4211——
PortalAuthController/api/portal/auth6—6———
PortalCatalogController/api/portal/catalog88————
PortalOrderController/api/portal/orders751——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: 51 GET, 23 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_order10Yes
Employeeemployee39Yes
EwtPayeeewt_payees12Yes
InventoryIteminventory_item16Yes
InventoryLotinventory_lot8Yes
InventoryOrderinventory_order7Yes
InventoryStockinventory_stock2Yes
ItemCategoryitem_category3Yes
ItemPriceitem_price11Yes
ItemPriceHistoryitem_price_history5Yes
ItemSerialitem_serial5Yes
Notificationnotifications5Yes
PortalEmailVerificationTokenportal_email_verification_tokens8—
PortalPasswordResetTokenportal_password_reset_tokens7—
PortalUserportal_user10—
PurchaseReceivingpurchase_receiving7Yes
ShipmentTrackingshipment_tracking6Yes
StockTransactionstock_transaction18Yes
Storestore9Yes
StoreInventorystore_inventory5Yes
Suppliersupplier10Yes
Userusers11—
Warehousewarehouse5Yes
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/lookupInventoryStockLookupinventory.stock.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​

6 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/verify-email
POST/api/portal/auth/resend-verification
POST/api/portal/auth/login
POST/api/portal/auth/forgot-password
POST/api/portal/auth/reset-password

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/.