NetSuite FastTrack Toolkit (NFT) - v8.0.0
    Preparing search index...

    Function subrecordDescriptor

    • Decorator for sublist subrecord fields with the subrecord shape represented by T (which defines the properties you want on the subrecord)

      Type Parameters

      Parameters

      • ctor: new (rec: Omit<record.Record, "save">) => T

        Constructor for the subrecord class you want (e.g. AddressBase, InventoryDetail).

      Returns (target: any, propertyKey: string) => any