I want that If i select cashInflow ,3 Options in form of dropdown should come from a whole set of Enum should appear in another field and if i select outflow another 3 should Appear from same set.how can i achieve this.
field(2; "Level-01_Descrption"; Enum CashflowLevel1Description)
{
Editable = false;
trigger OnValidate()
var
OptionsVar: Enum CashflowLevel1Description;
begin
OptionsVar := "Level-01_Descrption";
case OptionsVar OF
OptionsVar::"Cash Inflow":
begin
"Level-02_Descrption":= "Level-02_Descrption":: ???????????????
end;
OptionsVar::"Cash Outflow":
begin
"Level-02_Descrption":= "Level-02_Descrption":: ????????????
end;
end;
end;
}
field(3; "Level-02_Code"; Enum CashFlowLevel2Code)
{
}
field(4; "Level-02_Descrption"; Enum CashflowLevel2Description)
{
}