• NetSuite SubRecord field type (reference to a subrecord object, usually described as 'summary' in the records browser. Pass in the (TypeScript) type that matches the subrecord this property points to

    Example

    the assemblybuild.inventorydetail property

    import { InventoryDetail } from './DataAceess/InventoryDetail'

    class AssemblyBuild {
    @FieldType.subrecord(InventoryDetail)
    inventorydetail: InventoryDetail
    }

    Type Parameters

    Parameters

    • ctor: (new (rec: Record) => T)
        • new (rec: Record): T
        • Parameters

          • rec: Record

          Returns T

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

      • (target: any, propertyKey: string): any
      • Parameters

        • target: any
        • propertyKey: string

        Returns any

Generated using TypeDoc