ProjIntercompanyParameters::getValidCategory Method
Retrieves a valid project category to be used in the lending company.
Syntax
client server public static ProjCategoryId getValidCategory(
ProjCategoryId _borrowingEntityCategory,
CompanyId _borrowingEntityId,
ProjTransType _transType)
Run On
Called
Parameters
- _borrowingEntityCategory
Type: ProjCategoryId Extended Data Type
The category ID from the borrowing legal entity set in intercompany transaction.
- _borrowingEntityId
Type: CompanyId Extended Data Type
The ID of the borrowing legal entity.
- _transType
Type: ProjTransType Enumeration
The ProjTransType value of the transaction related to the category.
Return Value
Type: ProjCategoryId Extended Data Type
A category ID to be used by the lending company.
Exceptions
Exception | Condition |
---|---|
Error | Invalid project transaction type was given. |