Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Conversation

danjoa
Copy link
Member

@danjoa danjoa commented May 14, 2025

Demonstrates how to add common code lists for Units of Measures, like packaging units, weights, lengths, ..., which could then be used like that in own models:

using { sap.common.uom.PackagingUnit } from '@capire/common';

entity SomeDelivery {
  key ID : UUID;
  title : String;
  units : PackagingUnit;
}

Note: As the new entities inherit from sap.common.CodeList provided through @sap/cds/common, they also inherit all related features, like being auto-exposed and automatically provided Value Help on Fiori UIs.

@danjoa danjoa enabled auto-merge (squash) May 14, 2025 12:11
@chgeo chgeo marked this pull request as draft July 8, 2025 07:51
auto-merge was automatically disabled July 8, 2025 07:51

Pull request was converted to draft

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants