Multiplicity Property

Version: Available or changed with runtime version 6.3.

Specify the multiplicity of the part.

Applies to

  • Page Part

Property Value

Value Available or changed with Description
ZeroOrOne runtime version 6.3 Zero or one entity
Many runtime version 6.3 Any number of entities.

Syntax


    part(carModels; "API Car Model")
    {
        Caption = 'Car Models';
        Multiplicity = Many;
        EntityName = 'carModel';
        EntitySetName = 'carModels';
        SubPageLink = "Brand Id" = Field(SystemId);
    }

    part(vendor; "API Vendor")
    {
        Caption = 'Vendor';
        Multiplicity = ZeroOrOne;
        EntityName = 'vendor';
        SubPageLink = "id" = Field(SystemId);
    }
        

Remarks

This property is used on page parts on API pages. For more information, see API Page Type. By default multiplicity for parts is defined as 1:N. For more in-depth examples and information, see Developing a Custom API.

See Also

Get Started with AL
Developing Extensions