Share via


TmpNumberSeqCreate::buildWizardListInternal Method

Generates TmpNumberSeqCreate records and adds them to the specified TmpNumberSeqCreate table.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server private static void buildWizardListInternal(
            TmpNumberSeqCreate tmpNumberSeqCreate, 
            Map _lastCodeForPrefixMap, 
            int _scopeType)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server private static void buildWizardListInternal(
            TmpNumberSeqCreate tmpNumberSeqCreate, 
            Map _lastCodeForPrefixMap, 
            NumberSeqScope _scope)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server private static void buildWizardListInternal(
            TmpNumberSeqCreate tmpNumberSeqCreate, 
            Map _lastCodeForPrefixMap, 
            NumberSeqScope _scope)

  Microsoft Dynamics AX 2012 (FPK)
          client server private static void buildWizardListInternal(
            TmpNumberSeqCreate tmpNumberSeqCreate, 
            Map _lastCodeForPrefixMap, 
            NumberSeqScope _scope)

  Microsoft Dynamics AX 2012 (SYS)
          client server private static void buildWizardListInternal(
            TmpNumberSeqCreate tmpNumberSeqCreate, 
            Map _lastCodeForPrefixMap, 
            NumberSeqScope _scope)

Run On

Called

Parameters

  • _lastCodeForPrefixMap
    Type: Map Class
    A map that has a key of a string and the value of a string. All the TmpNumberSeqCreaterecords that are generated by this method have a NumberSequenceCode of the following format: [DatatypePrefix]_[IntegerPortion] where [DatatypePrefix] = a string of up to 4 characters based on the specified NumberSequenceDatatype. [IntegerPortion] = an integral value. The key of this map is a value mapping to a [DatatypePrefix]. The value of this map is the last NumberSequenceCode with that prefix generated by a previous call to this method.
  • _scopeType
    Type: int
    The number sequence scope type.

Remarks

This method will generate a TmpNumberSeqCreate record for each NumberSequenceDatatypethat does not have a NumberSequenceTable record associated to it in the specified scope. The _lastCodeForPrefixMap parameter is used to avoid unnecessary calls to NumberSequenceTable::findNextAutoId method.

See Also

Reference

TmpNumberSeqCreate Table