Table of Contents

KVSKBAIntrastatManagement

Procedures

IsIntrastatCoreEnabledAndInstalled() : Boolean

Summary: This function determines whether the Microsoft core Intrastat functionality is enabled.

procedure IsIntrastatCoreEnabledAndInstalled(): Boolean

Returns: Returns true if the Intrastat Core App is installed.

Events

OnBeforeGetIntrastatReportVATNoBasedOnValue(Boolean, Integer) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event that allows customization of the Intrastat Report VAT No. Based On value retrieval.

[Obsolete('This Event ist obsolete, please use OnBeforeGetIntrastatReportSalesIntrastatInfoBasedOnValue and OnBeforeGetIntrastatReportPurchIntrastatInfoBasedOnValue instead.', '28.5')]
[IntegrationEvent(false, false)]
local procedure OnBeforeGetIntrastatReportVATNoBasedOnValue(var IsHandled: Boolean; var Result: Integer): 

Parameters:

  • IsHandled: Variable indicating whether a subscriber has handled the value retrieval (set to true to skip default logic)
  • Result: Variable for the VAT No. Based On value (can be set by subscribers)

Remarks: Use this event to provide custom logic for determining the VAT No. Based On value from Intrastat Report Setup

OnBeforeGetIntrastatReportSalesIntrastatInfoBasedOnValue(Boolean, Integer) :

Summary: Integration event that allows customization of the Intrastat Report Sales Intrastat Info Based On value retrieval.

[IntegrationEvent(false, false)]
local procedure OnBeforeGetIntrastatReportSalesIntrastatInfoBasedOnValue(var IsHandled: Boolean; var Result: Integer): 

Parameters:

  • IsHandled: Variable indicating whether a subscriber has handled the value retrieval (set to true to skip default logic)
  • Result: Variable for the Sales Intrastat Info Based On value (can be set by subscribers)

Remarks: Use this event to provide custom logic for determining the Sales Intrastat Info Based On value from Intrastat Report Setup

OnBeforeGetIntrastatReportPurchIntrastatInfoBasedOnValue(Boolean, Integer) :

Summary: Integration event that allows customization of the Intrastat Report Purch. Intrastat Info Based On value retrieval.

[IntegrationEvent(false, false)]
local procedure OnBeforeGetIntrastatReportPurchIntrastatInfoBasedOnValue(var IsHandled: Boolean; var Result: Integer): 

Parameters:

  • IsHandled: Variable indicating whether a subscriber has handled the value retrieval (set to true to skip default logic)
  • Result: Variable for the Purch. Intrastat Info Based On value (can be set by subscribers)

Remarks: Use this event to provide custom logic for determining the Purch. Intrastat Info Based On value from Intrastat Report Setup