PurchReqLine::lookupItemId Method
Sets and executes a query that pulls all records from the CatProcurementCatalogProductSiteAll table that filtered with catalog policy.
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 public static void lookupItemId(
FormStringControl _ctrl,
RefRecId _legalEntityRecId,
RefRecId _operatingUnitRecId,
PurchReqRequiredDate _requiredDate,
[RequisitionPurpose _requisitionPurpose])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void lookupItemId(
FormStringControl _ctrl,
RefRecId _legalEntityRecId,
RefRecId _operatingUnitRecId,
PurchReqRequiredDate _requiredDate,
[RequisitionPurpose _requisitionPurpose])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void lookupItemId(
FormStringControl _ctrl,
RefRecId _legalEntityRecId,
RefRecId _operatingUnitRecId,
PurchReqRequiredDate _requiredDate)
Microsoft Dynamics AX 2012 (FPK)
client server public static void lookupItemId(
FormStringControl _ctrl,
RefRecId _legalEntityRecId,
RefRecId _operatingUnitRecId,
PurchReqRequiredDate _requiredDate)
Microsoft Dynamics AX 2012 (SYS)
client server public static void lookupItemId(
FormStringControl _ctrl,
RefRecId _legalEntityRecId,
RefRecId _operatingUnitRecId,
PurchReqRequiredDate _requiredDate)
Run On
Called
Parameters
- _ctrl
Type: FormStringControl Class
The form control that is currently selected.
- _legalEntityRecId
Type: RefRecId Extended Data Type
The ID of the buying legal entity of the purchase requisition line.
- _operatingUnitRecId
Type: RefRecId Extended Data Type
The ID of the receiving operating unit of the purchase requisition line.
- _requiredDate
Type: PurchReqRequiredDate Extended Data Type
The required date of the purchase requisition line.
- _requisitionPurpose
Type: RequisitionPurpose Enumeration