Share via


Codeunit "Enum Assignment Management"

ID 500
Namespace: Microsoft.Utilities

Methods

GetSalesApprovalDocumentType

procedure GetSalesApprovalDocumentType(SalesDocumentType: Enum "Sales Document Type"): Enum "Approval Document Type"

Parameters

Name Type Description
SalesDocumentType Enum Microsoft.Sales.Document."Sales Document Type"

Returns

Type Description
Enum System.Automation."Approval Document Type"

GetSalesIncomingDocumentType

procedure GetSalesIncomingDocumentType(SalesDocumentType: Enum "Sales Document Type"): Enum "Incoming Document Type"

Parameters

Name Type Description
SalesDocumentType Enum Microsoft.Sales.Document."Sales Document Type"

Returns

Type Description
Enum Microsoft.EServices.EDocument."Incoming Document Type"

GetServiceIncomingDocumentType

Obsolete

This element will become obsolete from version 25.0. Replaced by sane procedure in codeunit ServDocExchangeMgt

[Obsolete(Replaced by sane procedure in codeunit ServDocExchangeMgt,25.0)]
procedure GetServiceIncomingDocumentType(ServiceDocumentType: Enum "Service Document Type"): Enum "Incoming Document Type"

Parameters

Name Type Description
ServiceDocumentType Enum Microsoft.Service.Document."Service Document Type"

Returns

Type Description
Enum Microsoft.EServices.EDocument."Incoming Document Type"

GetPurchApprovalDocumentType

procedure GetPurchApprovalDocumentType(PurchDocumentType: Enum "Purchase Document Type"): Enum "Approval Document Type"

Parameters

Name Type Description
PurchDocumentType Enum Microsoft.Purchases.Document."Purchase Document Type"

Returns

Type Description
Enum System.Automation."Approval Document Type"

GetPurchIncomingDocumentType

procedure GetPurchIncomingDocumentType(PurchDocumentType: Enum "Purchase Document Type"): Enum "Incoming Document Type"

Parameters

Name Type Description
PurchDocumentType Enum Microsoft.Purchases.Document."Purchase Document Type"

Returns

Type Description
Enum Microsoft.EServices.EDocument."Incoming Document Type"

GetSalesLineTypeFromPurchLineType

procedure GetSalesLineTypeFromPurchLineType(PurchLineType: Enum "Purchase Line Type"): Enum "Sales Line Type"

Parameters

Name Type Description
PurchLineType Enum Microsoft.Purchases.Document."Purchase Line Type"

Returns

Type Description
Enum Microsoft.Sales.Document."Sales Line Type"

GetPurchLineTypeFromSalesLineType

procedure GetPurchLineTypeFromSalesLineType(SalesLineType: Enum "Sales Line Type"): Enum "Purchase Line Type"

Parameters

Name Type Description
SalesLineType Enum Microsoft.Sales.Document."Sales Line Type"

Returns

Type Description
Enum Microsoft.Purchases.Document."Purchase Line Type"

Events

OnGetSalesApprovalDocumentType

[IntegrationEvent(False,False)]
local procedure OnGetSalesApprovalDocumentType(SalesDocumentType: Enum "Sales Document Type", var ApprovalDocumentType: Enum "Approval Document Type", var IsHandled: Boolean)

Parameters

Name Type Description
SalesDocumentType Enum Microsoft.Sales.Document."Sales Document Type"
ApprovalDocumentType Enum System.Automation."Approval Document Type"
IsHandled Boolean

OnGetSalesIncomingDocumentType

[IntegrationEvent(False,False)]
local procedure OnGetSalesIncomingDocumentType(SalesDocumentType: Enum "Sales Document Type", var IncomingDocumentType: Enum "Incoming Document Type", var IsHandled: Boolean)

Parameters

Name Type Description
SalesDocumentType Enum Microsoft.Sales.Document."Sales Document Type"
IncomingDocumentType Enum Microsoft.EServices.EDocument."Incoming Document Type"
IsHandled Boolean

OnGetPurchApprovalDocumentType

[IntegrationEvent(False,False)]
local procedure OnGetPurchApprovalDocumentType(PurchDocumentType: Enum "Purchase Document Type", var ApprovalDocumentType: Enum "Approval Document Type", var IsHandled: Boolean)

Parameters

Name Type Description
PurchDocumentType Enum Microsoft.Purchases.Document."Purchase Document Type"
ApprovalDocumentType Enum System.Automation."Approval Document Type"
IsHandled Boolean

OnGetPurchIncomingDocumentType

[IntegrationEvent(False,False)]
local procedure OnGetPurchIncomingDocumentType(PurchDocumentType: Enum "Purchase Document Type", var IncomingDocumentType: Enum "Incoming Document Type", var IsHandled: Boolean)

Parameters

Name Type Description
PurchDocumentType Enum Microsoft.Purchases.Document."Purchase Document Type"
IncomingDocumentType Enum Microsoft.EServices.EDocument."Incoming Document Type"
IsHandled Boolean

OnGetSalesLineTypeFromPurchLineType

[IntegrationEvent(False,False)]
local procedure OnGetSalesLineTypeFromPurchLineType(PurchLineType: Enum "Purchase Line Type", var SalesLineType: Enum "Sales Line Type", var IsHandled: Boolean)

Parameters

Name Type Description
PurchLineType Enum Microsoft.Purchases.Document."Purchase Line Type"
SalesLineType Enum Microsoft.Sales.Document."Sales Line Type"
IsHandled Boolean

OnGetPurchLineTypeFromSalesLineType

[IntegrationEvent(False,False)]
local procedure OnGetPurchLineTypeFromSalesLineType(SalesLineType: Enum "Sales Line Type", var PurchLineType: Enum "Purchase Line Type", var IsHandled: Boolean)

Parameters

Name Type Description
SalesLineType Enum Microsoft.Sales.Document."Sales Line Type"
PurchLineType Enum Microsoft.Purchases.Document."Purchase Line Type"
IsHandled Boolean

See also