EInvoiceJourBaseMap_MX.currentLine Method [AX 2012]

Gets the current item of the map line collection.

public EInvoiceTransBaseMap_MX currentLine()

Run On

Server

Return Value

Type: EInvoiceTransBaseMap_MX Class
An instance of the EInvoiceTransBaseMap_MX class.

Use this method to iterate through the map lines.

You should call the nextLine method before the currentLine method to make sure that there is a valid current item.

The following example shows how to use the currentLine method:

while(map.nextLine()) 
{
   EInvoiceTransBaseMap = map.currentLine(); 
//Do stuff here
}

Community Additions

ADD
Show: