NS Tools/DAL - v0.0.1
    Preparing search index...
    join: <T extends NetsuiteCurrentRecord>(
        fieldId: string,
        classReference: any,
    ) => (target: T, propertyKey: string) => void = Join

    Type Declaration

      • <T extends NetsuiteCurrentRecord>(
            fieldId: string,
            classReference: any,
        ): (target: T, propertyKey: string) => void
      • Helper decorator to define a join relationship to another record type. Example usage: @FieldType.join('entity', Customer) customer: Customer

        Type Parameters

        Parameters

        • fieldId: string
        • classReference: any

        Returns (target: T, propertyKey: string) => void

        NCurrentRecord