PdsMRCDocument::findActiveDoc Method
Gets the current active document.
Syntax
server public static PdsMRCDocument findActiveDoc(
ItemId _itemId,
TransDate _date,
AddressCountryRegionId _countryId,
LanguageId _languageId,
PdsMRCBOMId _bomId)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The item for which to find the active document.
- _date
Type: TransDate Extended Data Type
The date for which the document should be active.
- _countryId
Type: AddressCountryRegionId Extended Data Type
The country or region that the document will be active.
- _languageId
Type: LanguageId Extended Data Type
The language in which the active document is composed.
- _bomId
Type: PdsMRCBOMId Extended Data Type
A BOM record for which the document exists.
Return Value
Type: PdsMRCDocument Table
The active document found.