Share via


ReasonFormTable::reasonCodeLookupMultipleAccounts Method [AX 2012]

Displays a filtered version of the Reasons lookup form to the user based on the AccountType and OffsetAccountType parameters.

Syntax

client server public static void reasonCodeLookupMultipleAccounts(
    FormControl _formControl, 
    LedgerJournalACType _offsetAccountType, 
    LedgerJournalACType _accountMainType, 
   [boolean _useMainAccount, 
    boolean _useOffsetAccount, 
    LedgerJournalACType _accountType, 
    boolean _useAccountType])

Run On

Called

Parameters

  • _formControl
    Type: FormControl Class
    The form control on which the lookup will be performed.
  • _useMainAccount
    Type: boolean
    true when an account number value has been entered on the calling form; otherwise, false. optional.
  • _useOffsetAccount
    Type: boolean
    true when an offset account number value has been entered on the calling form; otherwise false.
    optional.
  • _useAccountType
    Type: boolean
    true when an account number value has been entered on the calling form; otherwise false. optional.

Remarks

This method is called when the user opens the reason code lookup form. It allows an OR clause when selecting the fields to show

See Also

Reference

ReasonFormTable Class