Share via


AgreementHeader.moduleType Method

Retrieves the type of the agreement that is either purchase or sales.

Syntax

public ModuleSalesPurch moduleType()

Run On

Called

Return Value

Type: ModuleSalesPurch Enumeration
The type of agreement.

Exceptions

Exception Condition
Error

The type of agreement is unknown.

Remarks

This method should be overridden in the subtype tables. For more information, see the PurchAgreementHeader Table, SalesAgreementHeader Table.

See Also

Reference

AgreementHeader Table