NetSuite FastTrack Toolkit (NFT) - v8.0.0
    Preparing search index...
    namevaluelist: <T extends SublistLine>(target: T, propertyKey: string) => any = defaultSublistDescriptor

    Type Declaration

      • <T extends SublistLine>(target: T, propertyKey: string): any
      • Generic property descriptor with basic default algorithm that exposes the field value directly with no other processing. If the target field name ends with 'Text' it uses NetSuite getText()/setText() otherwise (default) uses getValue()/setValue() Apply this decorator (or its aliases) to properties on SublistLine subtypes

        Type Parameters

        Parameters

        • target: T
        • propertyKey: string

        Returns any

        an object property descriptor to be used with Object.defineProperty