Table of Contents

KVSCCEvents

Events

OnBeforeCheck(Record KVSCCEntity, Boolean) :

Summary: OnBeforeCheck is called before creating the request data and sending the request. You can use this event in order to manipulate the entity data by yourselves. If you want to break the standard processing, you can use (activate) the referenced "Handled" parameter in order to make the logic not process the check anymore.

[IntegrationEvent(true, false)]
procedure OnBeforeCheck(var entityVar: Record "KVSCCEntity"; var Handled: Boolean): 

Parameters:

  • entityVar: Referenced Record of type KVSCCEntity. This record holds all the data that is used for the current check.
  • Handled: VAR Boolean Parameter to skip the standard processing.

OnAfterCheck(Record KVSCCEntity) :

Summary: OnAfterCheck is called after handling the data request and modifying the entity. You can use this event in order to start an own processing logic based on the entity results.

[IntegrationEvent(true, false)]
procedure OnAfterCheck(var entityVar: Record "KVSCCEntity"): 

Parameters:

  • entityVar: Referenced Record of type KVSCCEntity. This record holds all the data (request and response) that is used for and returned by the current check.

OnBeforeSkipShippedInvoice(Record Sales Header, Boolean) :

Summary: OnBeforeSkipShippedInvoice is called before the check if the invoice should be skipped.

[IntegrationEvent(false, false)]
procedure OnBeforeSkipShippedInvoice(SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 

Parameters:

  • SalesHeader: Referenced Record of type "Sales Header". This record holds all the data that is used for the current check.
  • IsHandled: VAR Boolean Parameter to skip the standard processing

OnBeforeFieldErrorCheckOnPostSalesShipment(Record Sales Header, Boolean) :

Summary: OnBeforeFieldErrorCheckOnPostSalesShpt is called before the standard field error check on posting a sales shipment. You can use this event in order to skip the standard field error check by setting the referenced "IsHandled" parameter to true.

[IntegrationEvent(false, false)]
procedure OnBeforeFieldErrorCheckOnPostSalesShipment(SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 

Parameters:

  • SalesHeader: Record of type "Sales Header". This record holds all the data that is used for the current check.
  • IsHandled: >VAR Boolean Parameter to skip the standard field error check.

OnBeforeFieldErrorCheckOnPostServiceShipment(Record Service Header, Boolean) :

Summary: OnBeforeFieldErrorCheckOnPostServiceShpt is called before the standard field error check on posting a service shipment. You can use this event in order to skip the standard field error check by setting the referenced "IsHandled" parameter to true.

[IntegrationEvent(false, false)]
procedure OnBeforeFieldErrorCheckOnPostServiceShipment(ServiceHeader: Record "Service Header"; var IsHandled: Boolean): 

Parameters:

  • ServiceHeader: >Record of type "Service Header". This record holds all the data that is used for the current check.
  • IsHandled: >VAR Boolean Parameter to skip the standard field error check.

OnBeforeFieldErrorCheckOnPostPurchaseReceipt(Record Purchase Header, Boolean) :

Summary: OnBeforeFieldErrorCheckOnPostPurchaseReceipt is called before the standard field error check on posting a purchase receipt. You can use this event in order to skip the standard field error check by setting the referenced "IsHandled" parameter to true.

[IntegrationEvent(false, false)]
procedure OnBeforeFieldErrorCheckOnPostPurchaseReceipt(PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean): 

Parameters:

  • PurchaseHeader: Record of type "Purchase Header". This record holds all the data that is used for the current check.
  • IsHandled: >VAR Boolean Parameter to skip the standard field error check.