Mapi.findNext Method [AX 2012]
Finds the first or next message in the message store.
public str findNext(
[str messageType,
str seedMessageID,
int flags])
Run On
CalledParameters
- messageType
- Type: str
The message type; optional. For standard IPMs (interpersonal messages), use " ". If you implement a system that supports other message types, you can specify a specific message type here; optional.
- seedMessageID
- Type: str
The message ID at which to start the search. This is typically a messageid value that is returned from a previous call to the FindNext method; optional.
- flags
- Type: int
Flags that indicate first in, first out (FIFO) or unread; optional.
This parameter has two possible values:
Return Value
Type: strThe message ID of the message that is found; an empty string if no message is found.
Community Additions
ADD
Show: