Table of Contents

KVSKBACLLCMPComplianceDocLib

Events

OnBeforeCaseInShowDocument(Integer, RecordRef, Integer, Boolean) :

Summary: Integration event raised before opening a compliance document based on its source table type.

[IntegrationEvent(false, false)]
local procedure OnBeforeCaseInShowDocument(TableNo: Integer; RecRef: RecordRef; PageId: Integer; var IsHandled: Boolean): 

Parameters:

  • TableNo: The table number of the compliance document source.
  • RecRef: The record reference to the source record.
  • PageId: The page ID to open.
  • IsHandled: Output parameter indicating if the event was handled by a subscriber.

Remarks: Subscribers can implement custom logic to handle document display for specific table types. Set IsHandled to true if the document display is handled, preventing the default logic from running.

OnBeforeReleaseItemCard(Record Item) :

Summary: Integration event raised before releasing an item card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnBeforeReleaseItemCard(var item: Record "Item"): 

Parameters:

  • item: The item record to be released.

Remarks: Subscribers can implement custom logic before the item is released as part of the compliance process. This allows for additional validations or processing before item release.

OnAfterReleaseItemCard(Record Item) :

Summary: Integration event raised after releasing an item card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnAfterReleaseItemCard(item: Record "Item"): 

Parameters:

  • item: The released item record.

Remarks: Subscribers can implement custom logic after an item has been released as part of the compliance process. This allows for post-release processing or related updates.

OnBeforeReleaseComplianceDocument(Record KVSKBACLLCallHeader, Boolean) :

Summary: Integration event raised before releasing a compliance document.

[IntegrationEvent(false, false)]
local procedure OnBeforeReleaseComplianceDocument(var callHeader: Record "KVSKBACLLCallHeader"; var isHandled: Boolean): 

Parameters:

  • callHeader: The call header associated with the compliance document.
  • isHandled: Output parameter indicating if the event was handled by a subscriber.

Remarks: Subscribers can implement custom logic to handle compliance document release for specific table types. Set isHandled to true if the release is handled, preventing the default logic from running.

CallSourceTableCaseElseOnReleaseComplianceDocument(Record KVSKBACLLCallHeader) :

Summary: Integration event for handling additional table types during compliance document release.

[IntegrationEvent(false, false)]
local procedure CallSourceTableCaseElseOnReleaseComplianceDocument(var callHeader: Record "KVSKBACLLCallHeader"): 

Parameters:

  • callHeader: The call header associated with the compliance document.

Remarks: Subscribers can implement custom logic to handle compliance document release for custom table types not covered by the standard case statement in the release procedure.

OnReleaseCustomerCardOnBeforeModifyCustomer(Record Customer) :

Summary: Integration event raised before modifying a customer card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseCustomerCardOnBeforeModifyCustomer(var customer: Record "Customer"): 

Parameters:

  • customer: The customer record to be modified.

Remarks: Subscribers can implement custom logic before a customer record is modified as part of the compliance release process. This allows for additional validations or changes to customer data.

OnReleaseVendorCardOnBeforeModifyVendor(Record Vendor) :

Summary: Integration event raised before modifying a vendor card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseVendorCardOnBeforeModifyVendor(var vendor: Record "Vendor"): 

Parameters:

  • vendor: The vendor record to be modified.

Remarks: Subscribers can implement custom logic before a vendor record is modified as part of the compliance release process. This allows for additional validations or changes to vendor data.

OnReleaseItemCardOnBeforeModifyItem(Record Item) :

Summary: Integration event raised before modifying an item card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseItemCardOnBeforeModifyItem(var item: Record "Item"): 

Parameters:

  • item: The item record to be modified.

Remarks: Subscribers can implement custom logic before an item record is modified as part of the compliance release process. This allows for additional validations or changes to item data.

OnReleaseSerialNoInfoCardOnBeforeModifySerialNoInfo(Record Serial No. Information) :

Summary: Integration event raised before modifying a serial number information card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseSerialNoInfoCardOnBeforeModifySerialNoInfo(var serialNoInfo: Record "Serial No. Information"): 

Parameters:

  • serialNoInfo: The serial number information record to be modified.

Remarks: Subscribers can implement custom logic before a serial number information record is modified as part of the compliance release process. This allows for additional validations or changes to serial number data.

OnReleaseLotNoInfoCardOnBeforeModifyLotNoInfo(Record Lot No. Information) :

Summary: Integration event raised before modifying a lot number information card during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseLotNoInfoCardOnBeforeModifyLotNoInfo(var lotNoInfo: Record "Lot No. Information"): 

Parameters:

  • lotNoInfo: The lot number information record to be modified.

Remarks: Subscribers can implement custom logic before a lot number information record is modified as part of the compliance release process. This allows for additional validations or changes to lot number data.

OnReleaseRoutingOnBeforeModifyRoutingHeader(Record Routing Header) :

Summary: Integration event raised before modifying a routing header during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseRoutingOnBeforeModifyRoutingHeader(var routingHeader: Record "Routing Header"): 

Parameters:

  • routingHeader: The routing header record to be modified.

Remarks: Subscribers can implement custom logic before a routing header record is modified as part of the compliance release process. This allows for additional validations or changes to routing data.

OnReleaseRoutingVersionOnBeforeModifyRoutingVersion(Record Routing Version) :

Summary: Integration event raised before modifying a routing version during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseRoutingVersionOnBeforeModifyRoutingVersion(var routingVersion: Record "Routing Version"): 

Parameters:

  • routingVersion: The routing version record to be modified.

Remarks: Subscribers can implement custom logic before a routing version record is modified as part of the compliance release process. This allows for additional validations or changes to routing version data.

OnReleaseProductionBOMOnBeforeModifyProductionBOM(Record Production BOM Header) :

Summary: Integration event raised before modifying a production BOM header during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseProductionBOMOnBeforeModifyProductionBOM(var productionBOMHeader: Record "Production BOM Header"): 

Parameters:

  • productionBOMHeader: The production BOM header record to be modified.

Remarks: Subscribers can implement custom logic before a production BOM header record is modified as part of the compliance release process. This allows for additional validations or changes to production BOM data.

OnReleaseProdBOMVersionOnBeforeModifyProdBOMVersion(Record Production BOM Version) :

Summary: Integration event raised before modifying a production BOM version during compliance release.

[IntegrationEvent(false, false)]
local procedure OnReleaseProdBOMVersionOnBeforeModifyProdBOMVersion(var productionBOMVersion: Record "Production BOM Version"): 

Parameters:

  • productionBOMVersion: The production BOM version record to be modified.

Remarks: Subscribers can implement custom logic before a production BOM version record is modified as part of the compliance release process. This allows for additional validations or changes to production BOM version data.

OnBeforeGetSourceRecordId(Integer, Guid, Boolean) :

Summary: Integration event raised before retrieving the source record ID for a compliance document.

[IntegrationEvent(false, false)]
local procedure OnBeforeGetSourceRecordId(SourceTableNo: Integer; SourceRecordID: Guid; var IsHandled: Boolean): 

Parameters:

  • SourceTableNo: The source table number of the compliance document.
  • SourceRecordID: The source record ID.
  • IsHandled: Output parameter indicating if the event was handled by a subscriber.

Remarks: Subscribers can implement custom logic to handle source record ID retrieval for custom table types. Set IsHandled to true if the record ID is retrieved, preventing the default logic from running.