Table of Contents

KVSKBAEnumAssignmentManagement

Procedures

GetIntegerAsEnumfromPurchaseDocumentType(Enum Purchase Document Type) : Enum

procedure GetIntegerAsEnumfromPurchaseDocumentType(PurchaseDocumentType: Enum "Purchase Document Type"): Enum KVSKBAIntegerAsEnum

GetIntegerfromPurchaseDocumentType(Enum Purchase Document Type) : Integer

procedure GetIntegerfromPurchaseDocumentType(PurchaseDocumentType: Enum "Purchase Document Type"): Integer

GetIntegerAsEnumfromProdOrderStatus(Enum Production Order Status) : Enum

procedure GetIntegerAsEnumfromProdOrderStatus(ProdOrderStatus: Enum "Production Order Status"): Enum KVSKBAIntegerAsEnum

GetIntegerfromProdOrderStatus(Enum Production Order Status) : Integer

procedure GetIntegerfromProdOrderStatus(ProdOrderStatus: Enum "Production Order Status"): Integer

GetIntegerAsEnumfromProdOrderStatus(Option) : Enum

Summary: Converts a Production Order Status option to an IntegerAsEnum.

procedure GetIntegerAsEnumfromProdOrderStatus(ProdOrderStatus: Option): Enum KVSKBAIntegerAsEnum

Parameters:

  • ProdOrderStatus: The production order status option to convert

Returns: The corresponding IntegerAsEnum value

GetIntegerfromProdOrderStatus(Option) : Integer

Summary: Converts a Production Order Status option to an integer.

procedure GetIntegerfromProdOrderStatus(ProdOrderStatus: Option): Integer

Parameters:

  • ProdOrderStatus: The production order status option to convert

Returns: The corresponding integer value

GetIntegerAsEnumfromSalesDocumentType(Enum Sales Document Type) : Enum

procedure GetIntegerAsEnumfromSalesDocumentType(SalesDocumentType: Enum "Sales Document Type"): Enum KVSKBAIntegerAsEnum

GetIntegerfromSalesDocumentType(Enum Sales Document Type) : Integer

procedure GetIntegerfromSalesDocumentType(SalesDocumentType: Enum "Sales Document Type"): Integer

GetIntegerAsEnumfromServiceDocumentType(Enum Service Document Type) : Enum

procedure GetIntegerAsEnumfromServiceDocumentType(ServiceDocumentType: Enum "Service Document Type"): Enum KVSKBAIntegerAsEnum

GetIntegerfromServiceDocumentType(Enum Service Document Type) : Integer

procedure GetIntegerfromServiceDocumentType(ServiceDocumentType: Enum "Service Document Type"): Integer

GetIntegerAsEnumfromWhseShptRcptLineSourceSubType(Option) : Enum

Summary: Converts a warehouse shipment/receipt line source subtype option to an IntegerAsEnum.

procedure GetIntegerAsEnumfromWhseShptRcptLineSourceSubType(WhseShptRcptLineSourceSubType: Option): Enum KVSKBAIntegerAsEnum

Parameters:

  • WhseShptRcptLineSourceSubType: The warehouse source subtype option to convert

Returns: The corresponding IntegerAsEnum value

GetPurchaseDocumentTypefromIntegerAsEnum(Enum KVSKBAIntegerAsEnum) : Enum

Summary: Converts an IntegerAsEnum to a Purchase Document Type enum.

procedure GetPurchaseDocumentTypefromIntegerAsEnum(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"): Enum Purchase Document Type

Parameters:

  • IntegerAsEnum: The IntegerAsEnum value to convert

Returns: The corresponding Purchase Document Type enum

GetPurchaseDocumentTypefromInteger(Integer) : Enum

Summary: Converts an integer to a Purchase Document Type enum.

procedure GetPurchaseDocumentTypefromInteger(DocTypeInteger: Integer): Enum Purchase Document Type

Parameters:

  • DocTypeInteger: The integer value to convert

Returns: The corresponding Purchase Document Type enum

GetProdOrderStatusfromIntegerAsEnum(Enum KVSKBAIntegerAsEnum) : Option

Summary: Converts an IntegerAsEnum to a Production Order Status option.

procedure GetProdOrderStatusfromIntegerAsEnum(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"): Option

Parameters:

  • IntegerAsEnum: The IntegerAsEnum value to convert

Returns: The corresponding Production Order Status option

GetProdOrderStatusfromInteger(Integer) : Option

Summary: Converts an integer to a Production Order Status option.

procedure GetProdOrderStatusfromInteger(ProdOrderStatusInteger: Integer): Option

Parameters:

  • ProdOrderStatusInteger: The integer value to convert

Returns: The corresponding Production Order Status option

GetProdOrderStatusEnumfromIntegerAsEnum(Enum KVSKBAIntegerAsEnum) : Enum

Summary: Converts an IntegerAsEnum to a Production Order Status enum.

procedure GetProdOrderStatusEnumfromIntegerAsEnum(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"): Enum Production Order Status

Parameters:

  • IntegerAsEnum: The IntegerAsEnum value to convert

Returns: The corresponding Production Order Status enum

GetProdOrderStatusEnumfromInteger(Integer) : Enum

Summary: Converts an integer to a Production Order Status enum.

procedure GetProdOrderStatusEnumfromInteger(ProdOrderStatusInteger: Integer): Enum Production Order Status

Parameters:

  • ProdOrderStatusInteger: The integer value to convert

Returns: The corresponding Production Order Status enum

GetSalesDocumentTypefromIntegerAsEnum(Enum KVSKBAIntegerAsEnum) : Enum

Summary: Converts an IntegerAsEnum to a Sales Document Type enum.

procedure GetSalesDocumentTypefromIntegerAsEnum(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"): Enum Sales Document Type

Parameters:

  • IntegerAsEnum: The IntegerAsEnum value to convert

Returns: The corresponding Sales Document Type enum

GetSalesDocumentTypefromInteger(Integer) : Enum

Summary: Converts an integer to a Sales Document Type enum.

procedure GetSalesDocumentTypefromInteger(DocTypeInteger: Integer): Enum Sales Document Type

Parameters:

  • DocTypeInteger: The integer value to convert

Returns: The corresponding Sales Document Type enum

GetServiceDocumentTypefromIntegerAsEnum(Enum KVSKBAIntegerAsEnum) : Enum

Summary: Converts an IntegerAsEnum to a Service Document Type enum.

procedure GetServiceDocumentTypefromIntegerAsEnum(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"): Enum Service Document Type

Parameters:

  • IntegerAsEnum: The IntegerAsEnum value to convert

Returns: The corresponding Service Document Type enum

GetServiceDocumentTypefromInteger(Integer) : Enum

Summary: Converts an integer to a Service Document Type enum.

procedure GetServiceDocumentTypefromInteger(DocTypeInteger: Integer): Enum Service Document Type

Parameters:

  • DocTypeInteger: The integer value to convert

Returns: The corresponding Service Document Type enum

Events

OnGetIntegerAsEnumfromPurchaseDocumentTypeOnBeforeCaseElse(Enum Purchase Document Type, Enum KVSKBAIntegerAsEnum, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerAsEnumfromPurchaseDocumentTypeOnBeforeCaseElse(PurchaseDocumentType: Enum "Purchase Document Type"; var IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var IsHandled: Boolean): 

OnGetIntegerfromPurchaseDocumentTypeOnBeforeCaseElse(Enum Purchase Document Type, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerfromPurchaseDocumentTypeOnBeforeCaseElse(PurchaseDocumentType: Enum "Purchase Document Type"; var DocTypeInteger: Integer; var IsHandled: Boolean): 

OnGetIntegerAsEnumfromProdOrderStatusOnBeforeCaseElse(Option, Enum KVSKBAIntegerAsEnum, Boolean) :

Summary: Integration event that allows customization when converting Production Order Status option to IntegerAsEnum encounters an unhandled case.

[IntegrationEvent(false, false)]
local procedure OnGetIntegerAsEnumfromProdOrderStatusOnBeforeCaseElse(ProdOrderStatus: Option; var IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var IsHandled: Boolean): 

Parameters:

  • ProdOrderStatus: The production order status option that couldn't be converted
  • IntegerAsEnum: Variable for the result IntegerAsEnum (can be set by subscribers)
  • IsHandled: Variable indicating whether a subscriber handled the conversion (set to true to skip error)

Remarks: Use this event to handle custom production order status values not covered by the standard conversion logic

OnGetIntegerfromProdOrderStatusOnBeforeCaseElse(Option, Integer, Boolean) :

Summary: Integration event that allows customization when converting Production Order Status option to integer encounters an unhandled case.

[IntegrationEvent(false, false)]
local procedure OnGetIntegerfromProdOrderStatusOnBeforeCaseElse(ProdOrderStatus: Option; var ProdOrderStatusInteger: Integer; var IsHandled: Boolean): 

Parameters:

  • ProdOrderStatus: The production order status option that couldn't be converted
  • ProdOrderStatusInteger: Variable for the result integer (can be set by subscribers)
  • IsHandled: Variable indicating whether a subscriber handled the conversion (set to true to skip error)

Remarks: Use this event to handle custom production order status values not covered by the standard conversion logic

OnGetIntegerAsEnumfromProdOrderStatusEnumOnBeforeCaseElse(Enum Production Order Status, Enum KVSKBAIntegerAsEnum, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerAsEnumfromProdOrderStatusEnumOnBeforeCaseElse(ProdOrderStatus: Enum "Production Order Status"; var IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var IsHandled: Boolean): 

OnGetIntegerfromProdOrderStatusEnumOnBeforeCaseElse(Enum Production Order Status, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerfromProdOrderStatusEnumOnBeforeCaseElse(ProdOrderStatus: Enum "Production Order Status"; var ProdOrderStatusInteger: Integer; var IsHandled: Boolean): 

OnGetIntegerAsEnumfromSalesDocumentTypeOnBeforeCaseElse(Enum Sales Document Type, Enum KVSKBAIntegerAsEnum, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerAsEnumfromSalesDocumentTypeOnBeforeCaseElse(SalesDocumentType: Enum "Sales Document Type"; var IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var IsHandled: Boolean): 

OnGetIntegerfromSalesDocumentTypeOnBeforeCaseElse(Enum Sales Document Type, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerfromSalesDocumentTypeOnBeforeCaseElse(SalesDocumentType: Enum "Sales Document Type"; var DocTypeInteger: Integer; var IsHandled: Boolean): 

OnGetIntegerAsEnumfromServiceDocumentTypeOnBeforeCaseElse(Enum Service Document Type, Enum KVSKBAIntegerAsEnum, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerAsEnumfromServiceDocumentTypeOnBeforeCaseElse(ServiceDocumentType: Enum "Service Document Type"; var IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var IsHandled: Boolean): 

OnGetIntegerfromServiceDocumentTypeOnBeforeCaseElse(Enum Service Document Type, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetIntegerfromServiceDocumentTypeOnBeforeCaseElse(ServiceDocumentType: Enum "Service Document Type"; var DocTypeInteger: Integer; var IsHandled: Boolean): 

OnGetIntegerAsEnumfromWhseShptRcptLineSourceSubTypeOnBeforeCaseElse(Option, Enum KVSKBAIntegerAsEnum, Boolean) :

Summary: Integration event that allows customization when converting warehouse source subtype to IntegerAsEnum encounters an unhandled case.

[IntegrationEvent(false, false)]
local procedure OnGetIntegerAsEnumfromWhseShptRcptLineSourceSubTypeOnBeforeCaseElse(whseRcptLineSourceSubType: Option; var IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var IsHandled: Boolean): 

Parameters:

  • whseRcptLineSourceSubType: The warehouse source subtype that couldn't be converted
  • IntegerAsEnum: Variable for the result IntegerAsEnum (can be set by subscribers)
  • IsHandled: Variable indicating whether a subscriber handled the conversion (set to true to skip error)

Remarks: Use this event to handle custom warehouse source subtypes not covered by the standard conversion logic

OnGetPurchaseDocumentTypefromIntegerAsEnumOnBeforeCaseElse(Enum KVSKBAIntegerAsEnum, Enum Purchase Document Type, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetPurchaseDocumentTypefromIntegerAsEnumOnBeforeCaseElse(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var PurchaseDocumentType: Enum "Purchase Document Type"; var IsHandled: Boolean): 

OnGetPurchaseDocumentTypefromIntegerOnBeforeCaseElse(Integer, Enum Purchase Document Type, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetPurchaseDocumentTypefromIntegerOnBeforeCaseElse(DocTypeInteger: Integer; var PurchaseDocumentType: Enum "Purchase Document Type"; var IsHandled: Boolean): 

OnGetProdOrderStatusfromIntegerAsEnumOnBeforeCaseElse(Enum KVSKBAIntegerAsEnum, Option, Boolean) :

Summary: Integration event that allows customization when converting IntegerAsEnum to Production Order Status option encounters an unhandled case.

[IntegrationEvent(false, false)]
local procedure OnGetProdOrderStatusfromIntegerAsEnumOnBeforeCaseElse(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var ProdOrderStatus: Option; var IsHandled: Boolean): 

Parameters:

  • IntegerAsEnum: The IntegerAsEnum value that couldn't be converted
  • ProdOrderStatus: Variable for the result Production Order Status option (can be set by subscribers)
  • IsHandled: Variable indicating whether a subscriber handled the conversion (set to true to skip error)

Remarks: Use this event to handle custom IntegerAsEnum values not covered by the standard conversion logic

OnGetProdOrderStatusfromIntegerOnBeforeCaseElse(Integer, Option, Boolean) :

Summary: Integration event that allows customization when converting integer to Production Order Status option encounters an unhandled case.

[IntegrationEvent(false, false)]
local procedure OnGetProdOrderStatusfromIntegerOnBeforeCaseElse(ProdOrderStatusInteger: Integer; var ProdOrderStatus: Option; var IsHandled: Boolean): 

Parameters:

  • ProdOrderStatusInteger: The integer value that couldn't be converted
  • ProdOrderStatus: Variable for the result Production Order Status option (can be set by subscribers)
  • IsHandled: Variable indicating whether a subscriber handled the conversion (set to true to skip error)

Remarks: Use this event to handle custom integer values not covered by the standard conversion logic

OnGetProdOrderStatusEnumfromIntegerAsEnumOnBeforeCaseElse(Enum KVSKBAIntegerAsEnum, Enum Production Order Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetProdOrderStatusEnumfromIntegerAsEnumOnBeforeCaseElse(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var ProdOrderStatus: Enum "Production Order Status"; var IsHandled: Boolean): 

OnGetProdOrderStatusEnumfromIntegerOnBeforeCaseElse(Integer, Enum Production Order Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetProdOrderStatusEnumfromIntegerOnBeforeCaseElse(ProdOrderStatusInteger: Integer; var ProdOrderStatus: Enum "Production Order Status"; var IsHandled: Boolean): 

OnGetSalesDocumentTypefromIntegerAsEnumOnBeforeCaseElse(Enum KVSKBAIntegerAsEnum, Enum Sales Document Type, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetSalesDocumentTypefromIntegerAsEnumOnBeforeCaseElse(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var SalesDocumentType: Enum "Sales Document Type"; var IsHandled: Boolean): 

OnGetSalesDocumentTypefromIntegerOnBeforeCaseElse(Integer, Enum Sales Document Type, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetSalesDocumentTypefromIntegerOnBeforeCaseElse(DocTypeInteger: Integer; var SalesDocumentType: Enum "Sales Document Type"; var IsHandled: Boolean): 

OnGetServiceDocumentTypefromIntegerAsEnumOnBeforeCaseElse(Enum KVSKBAIntegerAsEnum, Enum Service Document Type, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetServiceDocumentTypefromIntegerAsEnumOnBeforeCaseElse(IntegerAsEnum: Enum "KVSKBAIntegerAsEnum"; var ServiceDocumentType: Enum "Service Document Type"; var IsHandled: Boolean): 

OnGetServiceDocumentTypefromIntegerOnBeforeCaseElse(Integer, Enum Service Document Type, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnGetServiceDocumentTypefromIntegerOnBeforeCaseElse(DocTypeInteger: Integer; var ServiceDocumentType: Enum "Service Document Type"; var IsHandled: Boolean): 

OnCapacityTypeRouting2KVSKBAProductBOMLineTypeOnBeforeCaseElse(Enum Capacity Type Routing, Enum KVSKBAProductBOMLineType, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnCapacityTypeRouting2KVSKBAProductBOMLineTypeOnBeforeCaseElse(i: Enum "Capacity Type Routing"; var o: Enum "KVSKBAProductBOMLineType"; var IsHandled: Boolean):