Table of Contents

KVSKBACustomer

Extends #437dbf0e84ff417a965ded2bb9650972#Customer

Summary: Extends Customer with LUCID, Dispatch Posting Type, and Bonus Group Code to support Customer.

Fields

Name Type Note
KVSKBALUCID Code[15]
KVSKBADispatchPostingType Option OptionMembers: Default,Ship,ShipAndInvoice
KVSKBANoofExtendedTexts Integer FlowField
KVSKBANoofAdvertisingGroups Integer FlowField
KVSKBAShipmentCopies Integer
KVSKBAMaintenance Enum (KVSKBAMaintenance)
KVSKBAStatusCheckingMandFields Enum (KVSKBAStatusCheckingMandFields)
KVSKBABlockedBy Enum (KVSKBABlockedBy)
KVSKBABlockedUser Enum Customer Blocked
KVSKBADonotFindBestPrice Boolean Warning: Obsolete
KVSKBADefaultPriceList Code[20]
KVSKBADefaultLineDiscountList Code[20]
KVSKBADisabledMinProfitCheck Boolean
KVSKBACustomerCommGrpCode Code[10]
KVSKBASalespersonCode2 Code[20]
KVSKBAPrintSalesperson Enum (KVSKBAPrintSalesPerson)
KVSKBAExitPoint Code[10]
KVSKBAArea Code[10]
KVSKBATransactionSpecification Code[10]
KVSKBAMinimumProfit Decimal
KVSKBANoofPriceInformation Integer FlowField
KVSKBANoofPstdShipments Integer FlowField
KVSKBANoofPstdInvoices Integer FlowField
KVSKBANoofPstdReturnReceipts Integer FlowField
KVSKBANoofPstdCreditMemos Integer FlowField
KVSKBABillToNoofPstdShipments Integer FlowField
KVSKBABillToNoofPstdInvoices Integer FlowField
KVSKBABillToNoofPstdReturnR Integer FlowField
KVSKBABillToNoofPstdCrMemos Integer FlowField
KVSKBAPricingCustomer Option OptionMembers: ,Sell-to Customer,Bill-to Customer
KVSKBATransSpecReturnCode Code[10]
KVSKBAPricingDate Enum (KVSKBAPricingCalculationDate)
KVSKBAEDocExtendTextExport Enum (KVSKBADefaultYesNo)
KVSKBAEDocExtendTextExportType Enum (KVSKBAEDocExtendTextExportType)
KVSKBAEDocExtTextMaxExpLength Integer
KVSKBAIncotermNamedCountry Code[10]
KVSKBAIncotermNamedPlace Text[50]
KVSKBAPackingSuggestionGroup Code[20]
KVSKBAInboundPackLocationCode Code[10]
KVSKBAInboundPackBinCode Code[20]
KVSKBAPrintCalenderWeek Option OptionMembers: Default,Yes,No

Procedures

KVSKBAGetEDocExtendTextExport(Enum KVSKBAEDocExtendTextExportType, Integer) : Boolean

Summary: Gets the E-Document extend text export settings for the customer.

procedure KVSKBAGetEDocExtendTextExport(var EDocExtendTextExportType: Enum "KVSKBAEDocExtendTextExportType"; var EDocExtTextMaxExpLength: Integer): Boolean

Parameters:

  • EDocExtendTextExportType: The E-Document extend text export type.
  • EDocExtTextMaxExpLength: The maximum expected length of the E-Document extend text.

Returns: True if the E-Document extend text export is enabled, otherwise false.

Remarks: This procedure checks the customer's E-Document extend text export settings and returns the relevant values.

Events

KVSKBAOnBeforeCheckMandatoryFieldsAction(Boolean, Boolean) :

Summary: Checks the mandatory fields for the customer and returns a list of any missing mandatory fields.

[IntegrationEvent(true, false)]
local procedure KVSKBAOnBeforeCheckMandatoryFieldsAction(ShowAction: Boolean; var IsHandled: Boolean): 

Parameters:

  • ShowAction: Indicates whether the action Check Mandatory Fields should be visible or invisible.
  • IsHandled: Set to true to skip the default logic.

Remarks: Subscribe to this event to implement custom logic before the mandatory fields check is performed. Setting IsHandled to true will bypass the standard check that determines the visibility of the action.