What to write in the expression while testing a CDT in an expression rule......

What to write in the expression while testing a CDT in an expression rule......
i.e How to enter values for the sub-dataTypes of a Complex Data Type....?

OriginalPostID-193913

OriginalPostID-193913

  Discussion posts and replies are publicly visible

Parents
  • @akhilt That should be quiet simple. For instance, the CDT in your case should be constructed as follows:
    type!myCDT(
    dateStmtBegin:date(2014,10,2),
    /* I don't think hardcoding the value as 2014/10/2 will not work and will give you an error.*/
    datePost:fn!today()
    )

    Let's say you have a nested CDT in the main CDT. Then it should be as follows:
    type!myCDT(
    dateStmtBegin:date(2014,10,2),
    subCdt:type!mySubCDT(
    field1:,
    field2: and so on..
    ),
    datePost:fn!today()
    )

    If you want to provide an array, make use of curly braces and include as many type! definitions as you want.
Reply
  • @akhilt That should be quiet simple. For instance, the CDT in your case should be constructed as follows:
    type!myCDT(
    dateStmtBegin:date(2014,10,2),
    /* I don't think hardcoding the value as 2014/10/2 will not work and will give you an error.*/
    datePost:fn!today()
    )

    Let's say you have a nested CDT in the main CDT. Then it should be as follows:
    type!myCDT(
    dateStmtBegin:date(2014,10,2),
    subCdt:type!mySubCDT(
    field1:,
    field2: and so on..
    ),
    datePost:fn!today()
    )

    If you want to provide an array, make use of curly braces and include as many type! definitions as you want.
Children
No Data