Skip to Content
0

Association to a custom object

Jun 09, 2017 at 12:41 PM

27

avatar image

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;

}

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers