Skip to main content

PurchaseReceivingItem

The PurchaseReceivingItem entity, mapped to the purchase_receiving_item table.

Tablepurchase_receiving_item
Tenant-scopedYes — extends TenantOwned
Columns3
Relationships3
Sourcebackend/src/main/java/com/motorph/payroll/model/PurchaseReceivingItem.java

Columns​

FieldTypeColumnNullNotes
receivingItemIdIntegerreceiving_item_id—primary key, generated
quantityReceivedIntegerquantity_received——
unitCostBigDecimalunit_costYes—

Plus tenant_id, inherited from TenantOwned. Hibernate stamps it on insert and adds where tenant_id = ? to every query, so it is never written or read by application code.

Relationships​

FieldKindTargetJoin columnRequired
receiving@ManyToOnePurchaseReceivingreceiving_idYes
item@ManyToOneInventoryItemitem_idYes
location@ManyToOneWarehouseLocationlocation_idYes

Referenced by​

EntityFieldKind
PurchaseReceivingitems@OneToMany

Neighbourhood​

Repository​

No Spring Data repository is declared over this entity. It is reached through another entity's association, through the EntityManager directly, or it is written only by a migration.


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