Table of Contents

KVSKBACustomerCard

Extends #437dbf0e84ff417a965ded2bb9650972#Customer Card

Procedures

KVSKBAGetAllFieldsEditable() : Boolean

Summary: Returns true if all fields on the page are editable, otherwise returns false.

procedure KVSKBAGetAllFieldsEditable(): Boolean

Returns: True if all fields on the page are editable, otherwise false.

Remarks: This function is used to determine whether all fields on the page are editable or not. It returns a boolean value indicating the editability of the fields.

KVSKBASetAllFieldsEditable(Boolean) :

Summary: Sets the value indicating whether all fields on the page are editable.

procedure KVSKBASetAllFieldsEditable(NewValueAllFieldsEditable: Boolean): 

Parameters:

  • NewValueAllFieldsEditable: The new value indicating whether all fields on the page are editable.

Remarks: This function is used to set the editability of all fields on the page. It updates the internal state to reflect whether all fields should be editable or not.

KVSKBAGetContactEditable() : Boolean

Summary: Returns true if the contact fields on the page are editable, otherwise returns false.

procedure KVSKBAGetContactEditable(): Boolean

Returns: True if the contact fields on the page are editable, otherwise false.

Remarks: This function is used to determine whether the contact fields on the page are editable or not. It returns a boolean value indicating the editability of the contact fields.

KVSKBASetContactEditable(Boolean) :

Summary: Sets the value indicating whether the contact fields on the page are editable.

procedure KVSKBASetContactEditable(NewValueContactEditable: Boolean): 

Parameters:

  • NewValueContactEditable: The new value indicating whether the contact fields on the page are editable.

Remarks: This function is used to set the editability of the contact fields on the page. It updates the internal state to reflect whether the contact fields should be editable or not.

KVSKBAGetShowPrintCalenderWeekDefaultYes() : Boolean

Summary: Determines whether the "Print Calendar Week" field should be displayed on the page.

procedure KVSKBAGetShowPrintCalenderWeekDefaultYes(): Boolean

Returns: True if the "Print Calendar Week" field should be shown, otherwise false.

Events

KVSKBAOnBeforeQueryClosePage(Record Customer, Action, Boolean, Boolean, Boolean) :

Summary: Event raised before the query close of the customer card page.

[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeQueryClosePage(Customer: Record "Customer"; CloseAction: Action; DoShowMandatoryFieldCheckNotification: Boolean; ResultValue: Boolean; var IsHandled: Boolean): 

Parameters:

  • Customer: The customer record.
  • CloseAction: The action that triggered the close of the page.
  • DoShowMandatoryFieldCheckNotification: Indicates whether to show the mandatory field check notification.
  • ResultValue: The result value indicating whether the page should be closed or not.
  • IsHandled: Indicates whether the event has been handled or not.

Remarks: This event allows subscribers to perform custom logic before the customer card page is closed. Subscribers can use this event to determine whether the mandatory field check notification should be shown and to control whether the page should be closed or not based on custom conditions.

Protected Variables

KVSKBAAllFieldsEditable

Type: Boolean

KVSKBAContactEditable

Type: Boolean

KVSKBAExtendedSalesPriceCalcEnabled

Type: Boolean

KVSKBAIsDefaultPricingCustomer

Type: Boolean

KVSKBAIsDefaultPricingDate

Type: Boolean

KVSKBAOldStandardSalesPriceCalcEnabled

Type: Boolean

KVSKBAShowPrintCalenderWeekDefaultYes

Type: Boolean

KVSKBAStandardSalesPriceCalcEnabled

Type: Boolean