4

SAP CAPM Association Modelling yielding inconsistent attribute names on foreign...

 8 months ago
source link: https://answers.sap.com/questions/14033274/sap-capm-association-modelling-yielding-inconsiste.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
14 minutes ago

SAP CAPM Association Modelling yielding inconsistent attribute names on foreign key joins

7 Views

I have two entities defines as below

entity VoucherProgram: managed{

key PROGRAM_ID : UUID @(Core.Computed : true);

VOUCHER_DESC : String(2000);

VoucherDenomination : Association to many VoucherDenomination on VoucherDenomination.PROGRAM_ID = $self

entity VoucherDenomination: managed{

key DENOM_ID: UUID @(Core.Computed: true);

PROGRAM_ID: Association to VoucherProgram @assert.integrity; DENOMINATION: String(50)

In the above VoucherDenomination is generating foreign key constraint to PROGRAM_ID in voucherprogram.But the problem is VoucherDenom is having column name as PROGRAM_ID_PROGRAM_ID which establishes the foreign key constraint instead of PROGRAM_ID.My requirement is to have these two tables with PROGRAM_ID as foreign key


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK