ProjectSourceDocumentLineItemHelper::canProcessProjectFromLineRecId Method [AX 2012]

Determines whether project extensions to the source document framework can handle a source document line item.

server public static boolean canProcessProjectFromLineRecId(RecId _sourceDocumentLineRecId)

Run On

Server

Parameters

_sourceDocumentLineRecId
Type: RecId Extended Data Type
The record ID of the source document line.

Return Value

Type: boolean
true if project extensions to the source document framework can handle a source document line item; otherwise, false.

This method is exposed so a client can call with a record ID and push to the server by using a single RPC. If the canProcessProject method was used instead, a SourceDocumentLineItem instance would have to be constructed on the client which would cause a significant number of RPCs.

Show: