cancel
Showing results for 
Search instead for 
Did you mean: 

Association to a custom object

0 Kudos

Hello,

I have created two custom objects in the Cloud Application Studio: 'Equipment' (vehicle) and 'Route'.

Now I want to make an association between the two of them. So in the object 'Route', I have added an element 'Equipment' of type EquipmentID and made an association to Equipment.

The system shows the following errorcode:

Definition of data type 'EquipmentID' not found; Add an import statement for the missing namespace or use a fully qualified name.

I cannot figure out which statement that needs to be imported, or what the fully qualified name of the object is. Can anyone help out? Thanks.

The code of object 'Route':

import AP.Common.GDT as apCommonGDT;

businessobject Route {

[AlternativeKey] [Label("Route ID")] element RouteID : ID;

element Equipment : EquipmentID;

association ToEquipment to Equipment;

}

Accepted Solutions (0)

Answers (0)