An alternative identity for an item, optionally narrowed to a SKU and a lot type, that can be selected on a document line instead of the item itself (OrderLine, InvoiceLine, DeliveryOrderLine, PurchaseOrderLine and OpportunityLine all carry an ItemAliasId). When a line is saved, ItemAliasService.SetItemAliasData back-fills the line's item, SKU and lot type from the alias wherever the line left them empty, and rejects the line if the item or SKU already on it contradicts the alias. The alias is matched purely by the id chosen on the line - the account and partner-account columns on the alias are not used to filter which aliases a document may pick.
Fields
| Field | Label | Type | Required | What it does |
AccountId | Account | Lookup → Account | | |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
Id | Id | Guid | Yes | |
ItemAliasCode | Item Alias Code | Text | | |
ItemId | Item | Lookup → Item | | The item the alias stands for. On save of a document line the alias fills this in when the line has none, and the line is rejected if it already names a different item. |
ItemLotTypeId | Item Lot Type | Lookup → ItemLotType | | |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | | |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | PartnerAccount | Lookup → Account | | Intended to scope the alias to a supplier or partner, but no code path filters aliases by it - any alias can be selected on any document, and the customer account column behaves the same way. |
RecordTypeId | Record Type | Guid, hidden | | |
SKUId | SKU | Lookup → SKU | | Optionally narrows the alias to one SKU. It is copied onto a document line that has no SKU, and a line naming a different SKU is rejected; the lot type is copied the same way but a conflicting lot type is not rejected. |
UIProps | UI Props | Text | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
BulkDelete | Delete | Delete | Delete the selected records. |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
Delete | Delete | Delete | Delete |
DeleteInList | Delete | Delete | Delete in a list page |
Edit | Edit | UIAction | Edit |
EditInLine | Edit | Edit | Delete in page. |
New | New | New | New |