KVSKBAVendorCard
Extends #437dbf0e84ff417a965ded2bb9650972#Vendor Card
Procedures
KVSKBAGetAllFieldsEditable() : Boolean
Summary: Gets the value indicating whether all fields on the vendor card are editable.
procedure KVSKBAGetAllFieldsEditable(): Boolean
Returns: Returns true if all fields are editable; otherwise, false.
Remarks: Use this function to determine if all fields on the vendor card are editable, which can be useful for controlling user interactions and enforcing business rules.
KVSKBASetAllFieldsEditable(Boolean) :
Summary: Sets the value indicating whether all fields on the vendor card are editable.
procedure KVSKBASetAllFieldsEditable(NewValueAllFieldsEditable: Boolean):
Parameters:
NewValueAllFieldsEditable: The new value indicating whether all fields are editable.
Remarks: Use this function to programmatically control the editability of all fields on the vendor card, allowing for dynamic user interface behavior based on business logic.
KVSKBAGetContactEditable() : Boolean
Summary: Gets the value indicating whether the contact fields on the vendor card are editable.
procedure KVSKBAGetContactEditable(): Boolean
Returns: Returns true if the contact fields are editable; otherwise, false.
Remarks: Use this function to determine if the contact fields on the vendor card are editable, which can be useful for controlling user interactions and enforcing business rules.
KVSKBASetContactEditable(Boolean) :
Summary: Sets the value indicating whether the contact fields on the vendor card are editable.
procedure KVSKBASetContactEditable(NewValueContactEditable: Boolean):
Parameters:
NewValueContactEditable: The new value indicating whether the contact fields are editable.
Remarks: Use this function to programmatically control the editability of the contact fields on the vendor card, allowing for dynamic user interface behavior based on business logic.
Events
KVSKBAOnBeforeQueryClosePage(Record Vendor, Action, Boolean, Boolean, Boolean) :
Summary: Integration event raised before closing the vendor card page.
[IntegrationEvent(false, false)]
local procedure KVSKBAOnBeforeQueryClosePage(Vendor: Record "Vendor"; CloseAction: Action; DoShowMandatoryFieldCheckNotification: Boolean; ResultValue: Boolean; var IsHandled: Boolean):
Parameters:
Vendor: The vendor record.CloseAction: The action that triggered the page close.DoShowMandatoryFieldCheckNotification: Indicates whether to show the mandatory field check notification.ResultValue: The result value indicating whether the page can be closed.IsHandled: Indicates whether the event has been handled.
Remarks: Subscribe to this event to override or extend the default behavior before closing the vendor card page, for example to apply custom logic or additional checks.
Protected Variables
KVSKBAAllFieldsEditable
Type: Boolean
KVSKBAContactEditable
Type: Boolean
KVSKBAExtendedPurchasePriceCalcEnabled
Type: Boolean
KVSKBAIsDefaultPricingVendor
Type: Boolean
KVSKBAOldStandardPurchasePriceCalcEnabled
Type: Boolean
KVSKBAStandardPurchasePriceCalcEnabled
Type: Boolean