This topic contains 2 replies, has 3 voices, and was last updated by kalyan siva 5 years, 2 months ago.

  • Author
    Posts
  • #26098

    Alexander Lukin
    Member
    @alexander_lukin

    Hey, all.
    I added Custom Body Field (custbody_field_1) to Sales Order Transaction. This Custom Body has type: “List/Record” and refer to Custom Recordย  (custrecord_test_1).

    So, the questions is:

    Is it possible to get Custom Record Type (custrecord_test_1)ย  from Sales Order Custom Body Field (custbody_field_1) using N/record or N/currentRecord or any other NS modules?

    record.getValue(‘custbody_field_1’) returns ID but I do not know how to load the Record using ID because RecordType is unknown

    record.getField(‘custbody_field_1’) returns info about field type (“SELECT”) but no info about RecordType.

  • #26109

    Prince Raza kru
    Member
    @prince_raza_kru

    I find life patner

  • #26114

    kalyan siva
    Member
    @kalyan_siva

    Hi Alex,

    Yes. we can get to know record type based on the drop-down on Standard record. we can take a saved search help by using join fields.

     

You must be logged in to reply to this topic.