- Fix property enumeration to dedupe overridden/shadowed properties, ensuring only the most-derived is included (affects serialization and schema). - Update TOON_ISSUES.md: close duplicate property issue, document root cause and resolution. - Make CargoPartnerId nullable in Shipping and IShipping; clarify ToonDescription for carrier/truck/trailer fields. - Refine ShippingDocument ToonDescription for clarity. - Minor null-safety and style cleanup in GridShipping.razor. |
||
|---|---|---|
| .. | ||
| CargoPartner.cs | ||
| CargoTruck.cs | ||
| CustomerCredit.cs | ||
| Files.cs | ||
| MeasuringItemPalletBase.cs | ||
| OrderItemPallet.cs | ||
| Pallet.cs | ||
| Partner.cs | ||
| PartnerBase.cs | ||
| Preorder.cs | ||
| PreorderItem.cs | ||
| README.md | ||
| Shipping.cs | ||
| ShippingDocument.cs | ||
| ShippingDocumentToFiles.cs | ||
| ShippingItem.cs | ||
| ShippingItemPallet.cs | ||
| StockQuantityHistoryExt.cs | ||
| StockTaking.cs | ||
| StockTakingItem.cs | ||
| StockTakingItemPallet.cs | ||
README.md
Entities
Domain entities for inbound/outbound goods tracking and inventory. All map to fb-prefixed database tables.
Shipping (Inbound)
Shipping.cs— Physical delivery event (truck arrival). Table:fbShipping.ShippingDocument.cs— Supplier delivery note/invoice. Table:fbShippingDocument.ShippingItem.cs— Product line on document with declared vs measured discrepancies. Table:fbShippingItem.ShippingItemPallet.cs— Measurement record for incoming goods. Table:fbShippingItemPallet.ShippingDocumentToFiles.cs— Many-to-many link: document ↔ file with DocumentType. Table:fbShippingDocumentToFiles.Partner.cs— External supplier with address and tax info. Table:fbPartner.
Cargo / Logistics
CargoPartner.cs— Freight/haulage partner (carrier). Distinct fromPartner(supplier) — this is the transport side. HasCargoTrucksandShippingscollections. Table:fbCargoPartner.CargoTruck.cs— Individual truck belonging to aCargoPartner(LicencePlate,CountryCode,IsTrailerfor trailers). Table:fbCargoTruck.
Order (Outbound)
OrderItemPallet.cs— Measurement record for outgoing goods with RevisorId for audit. Table:fbOrderItemPallet.
Inventory
StockTaking.cs— Inventory session record. Table:fbStockTaking.StockTakingItem.cs— Line item reconciling snapshot vs measured quantities. Table:fbStockTakingItem.StockTakingItemPallet.cs— Measurement record for inventory. Table:fbStockTakingItemPallet.StockQuantityHistoryExt.cs— Extended weight metadata for stock reconciliation.
Shared
MeasuringItemPalletBase.cs— Abstract base for all three measurement hierarchies. Defines NetWeight formula, validation methods, CreatorId/ModifierId tracking.Pallet.cs— Physical pallet type definition (name, size, weight). Table:fbPallet.Files.cs— Uploaded file with OCR-extracted RawText. Table:fbFiles.
Critical: "Pallet" Naming
Despite the name, XxxItemPallet entities are measurement records, NOT physical pallets. They are ALWAYS created for every item. For non-measurable products, weights = 0.0 and only TrayQuantity is tracked.