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

    Type Declaration

      • <T extends NetsuiteCurrentRecord>(
            fieldId: string,
        ): (target: T, propertyKey: string) => void
      • Helper function to create an alias property that maps to another field id Example usage @FieldType.alias('custentity_foo') foo: string

        Type Parameters

        Parameters

        • fieldId: string

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

        any