RequisitionReleaseStrategy::findOrCreateReleaseStrategy Method [AX 2012]
Finds or creates an appropriate instance of RequisitionReleaseStrategy class in the map for a requisition line.
Syntax
server public static RequisitionReleaseStrategy findOrCreateReleaseStrategy(Map _releaseStrategies, PurchReqLine _purchReqLine)
Run On
Server
Parameters
- _releaseStrategies
Type: Map Class
A map containing RequisitionReleaseStrategy objects.
- _purchReqLine
Type: PurchReqLine Table
A requisition line to find a RequisitionReleaseStrategy for.
Return Value
Type: RequisitionReleaseStrategy Class
An instance of RequisitionReleaseStrategy class.
Remarks
A key for the map is a container that consists of requisition purpose and requisition release type.