DocumentExtensionsGetDefaultCurrencyDirectoryT Method |
Finds and returns the default Currency Directory for the specified document according to its Document Date and Enterprise Company.
Namespace:
Aloe.EnterpriseOne.Model.General
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static CurrencyDirectory GetDefaultCurrencyDirectory<T>(
this T obj
)
where T : Document
<ExtensionAttribute>
Public Shared Function GetDefaultCurrencyDirectory(Of T As Document) (
obj As T
) As CurrencyDirectory
public:
[ExtensionAttribute]
generic<typename T>
where T : Document
static CurrencyDirectory^ GetDefaultCurrencyDirectory(
T obj
)
[<ExtensionAttribute>]
static member GetDefaultCurrencyDirectory :
obj : 'T -> CurrencyDirectory when 'T : Document
Parameters
- obj
- Type: T
The object.
Type Parameters
- T
- The document type
Return Value
Type:
CurrencyDirectory
The Currency Directory
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
The default Currency Directory should be defined for the same Enterprise Company and Document Date as the specified document. It should have
a state greater than Released and should be marked as valid, default and should not be voided.
See Also