Hi,
with version 3.0.0, bound actions with the same name in different entities result in duplicate identifiers because of the removal of the "interfaceEntity.actions" namespace:
CDS definition:
entity OutputEventActivityTickets as
select from td.OutputEventActivityTickets {
*,
...
} actions {
action Approve() returns OutputEventActivityTickets;
};
entity OutputEventQuantityTickets as
select from td.OutputEventQuantityTickets {
*,
...
} actions {
action Approve() returns OutputEventQuantityTickets;
};
Result with previous versions:
export namespace IOutputEventActivityTickets.actions {
export enum ActionApprove {
name = 'Approve',
}
export type ActionApproveReturn = SFCService.IOutputEventActivityTickets;
}
export namespace IOutputEventQuantityTickets.actions {
export enum ActionApprove {
name = 'Approve',
}
export type ActionApproveReturn = SFCService.IOutputEventQuantityTickets;
}
With 3.0.0, we get duplicate identifiers:
export enum ActionApprove {
name = 'Approve',
}
export type ActionApproveReturn = IOutputEventActivityTickets;
export enum ActionApprove {
name = 'Approve',
}
export type ActionApproveReturn = IOutputEventQuantityTickets;
Thanks in advance.
Best regards,
Marc
Hi,
with version 3.0.0, bound actions with the same name in different entities result in duplicate identifiers because of the removal of the "interfaceEntity.actions" namespace:
CDS definition:
Result with previous versions:
With 3.0.0, we get duplicate identifiers:
Thanks in advance.
Best regards,
Marc