Kandra.DtoCommon.Printing.CodeDateRef
An id/code/date lookup result — the Document-flavored sibling of CodeNameRef. Documents have Code+Date, not Code+Name (see DocumentBase), so a Document-typed reference (e.g. a resolved subconto value) doesn't fit CodeNameRef's shape.
Constructors
| Constructor | Description |
|---|
CodeDateRef(Guid, String, DateTime) | An id/code/date lookup result — the Document-flavored sibling of CodeNameRef. Documents have Code+Date, not Code+Name (see DocumentBase), so a Document-typed reference (e.g. a resolved subconto value) doesn't fit CodeNameRef's shape. |
Properties
| Property | Description |
|---|
DisplayText | The "Code - Date" display convention for a document reference, mirroring DisplayText's "Code - Name" for a dictionary reference. |
Methods
| Method | Description |
|---|
Combine(String, DateTime) | Same combination, for call sites holding a separate Code/Date pair rather than a CodeDateRef instance. |
Kandra.DtoCommon.Printing.CodeNameRef
An id/code/name lookup result — the Forms-plane (client-visible) sibling of Kandra.Domain's server-only IdNameLookupModel, used to enrich report/document print output (e.g. resolved warehouse/item filters) without exposing raw Guids.
Constructors
| Constructor | Description |
|---|
CodeNameRef(Guid, String, String) | An id/code/name lookup result — the Forms-plane (client-visible) sibling of Kandra.Domain's server-only IdNameLookupModel, used to enrich report/document print output (e.g. resolved warehouse/item filters) without exposing raw Guids. |
Properties
| Property | Description |
|---|
DisplayText | The single "Code - Name" display convention every Code+Name combination in this codebase should share (report grid composite columns, lookup picker labels, print output, ...) — call this instead of re-deriving the format inline. |
Methods
| Method | Description |
|---|
Combine(String, String) | Same combination, for call sites holding separate Code/Name values rather than a CodeNameRef instance (e.g. a report line Dto's own flat WarehouseCode/WarehouseName columns). |