---
title: "Table 18 Customer, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/18-customer/points/
object: https://jonas-paprotka.de/ref/table/18-customer/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/18-customer/source/
checked: 2026-11-19
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 18 Customer, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/18-customer/points/

111 procedures and triggers with a step in src/Layers/W1/BaseApp/Sales/Customer/Customer.Table.al, in source order, read from the text, not from a run.

## No..OnValidate

[Line 102](https://jonas-paprotka.de/ref/table/18-customer/source/#L102), trigger.

- [104](https://jonas-paprotka.de/ref/table/18-customer/source/#L104) calls `TestNoSeries`

## Name.OnValidate

[Line 118](https://jonas-paprotka.de/ref/table/18-customer/source/#L118), trigger.

- [123](https://jonas-paprotka.de/ref/table/18-customer/source/#L123) calls `UpdateMyCustomer`

## City.OnLookup

[Line 175](https://jonas-paprotka.de/ref/table/18-customer/source/#L175), trigger.

- [177](https://jonas-paprotka.de/ref/table/18-customer/source/#L177) raises `OnBeforeLookupCity`
- [179](https://jonas-paprotka.de/ref/table/18-customer/source/#L179) calls [Table 225 Post Code](https://jonas-paprotka.de/ref/table/225-post-code/) `LookupPostCode`
- [181](https://jonas-paprotka.de/ref/table/18-customer/source/#L181) raises `OnAfterLookupCity`

## City.OnValidate

[Line 184](https://jonas-paprotka.de/ref/table/18-customer/source/#L184), trigger.

- [189](https://jonas-paprotka.de/ref/table/18-customer/source/#L189) raises `OnBeforeValidateCity`, IsHandled
- [191](https://jonas-paprotka.de/ref/table/18-customer/source/#L191) calls [Table 225 Post Code](https://jonas-paprotka.de/ref/table/225-post-code/) `ValidateCity`
- [193](https://jonas-paprotka.de/ref/table/18-customer/source/#L193) calls [Codeunit 200 Alt. Cust. VAT. Reg. Facade](https://jonas-paprotka.de/ref/codeunit/200-alt-cust-vat-reg-facade/) `CheckCustomerConsistency`
- [195](https://jonas-paprotka.de/ref/table/18-customer/source/#L195) raises `OnAfterValidateCity`

## Contact.OnLookup

[Line 207](https://jonas-paprotka.de/ref/table/18-customer/source/#L207), trigger.

- [209](https://jonas-paprotka.de/ref/table/18-customer/source/#L209) calls `LookupContactList`

## Contact.OnValidate

[Line 212](https://jonas-paprotka.de/ref/table/18-customer/source/#L212), trigger.

- [217](https://jonas-paprotka.de/ref/table/18-customer/source/#L217) raises `OnBeforeValidateContact`, IsHandled
- [224](https://jonas-paprotka.de/ref/table/18-customer/source/#L224) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify
- [225](https://jonas-paprotka.de/ref/table/18-customer/source/#L225) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnModify`
- [226](https://jonas-paprotka.de/ref/table/18-customer/source/#L226) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `InsertNewContactPerson`
- [227](https://jonas-paprotka.de/ref/table/18-customer/source/#L227) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify(true)

## Phone No..OnValidate

[Line 241](https://jonas-paprotka.de/ref/table/18-customer/source/#L241), trigger.

- [251](https://jonas-paprotka.de/ref/table/18-customer/source/#L251) calls `SetForceUpdateContact`
- [253](https://jonas-paprotka.de/ref/table/18-customer/source/#L253) calls `UpdateMyCustomer`

## Global Dimension 1 Code.OnValidate

[Line 309](https://jonas-paprotka.de/ref/table/18-customer/source/#L309), trigger.

- [311](https://jonas-paprotka.de/ref/table/18-customer/source/#L311) calls `ValidateShortcutDimCode`

## Global Dimension 2 Code.OnValidate

[Line 324](https://jonas-paprotka.de/ref/table/18-customer/source/#L324), trigger.

- [326](https://jonas-paprotka.de/ref/table/18-customer/source/#L326) calls `ValidateShortcutDimCode`

## Currency Code.OnValidate

[Line 373](https://jonas-paprotka.de/ref/table/18-customer/source/#L373), trigger.

- [375](https://jonas-paprotka.de/ref/table/18-customer/source/#L375) calls `UpdateCurrencyId`

## Language Code.OnValidate

[Line 396](https://jonas-paprotka.de/ref/table/18-customer/source/#L396), trigger.

- [398](https://jonas-paprotka.de/ref/table/18-customer/source/#L398) calls `UpdateFormatRegion`

## Registration Number.OnValidate

[Line 410](https://jonas-paprotka.de/ref/table/18-customer/source/#L410), trigger.

- [415](https://jonas-paprotka.de/ref/table/18-customer/source/#L415) raises `OnBeforeValidateRegistrationNumber`, IsHandled

## Payment Terms Code.OnValidate

[Line 439](https://jonas-paprotka.de/ref/table/18-customer/source/#L439), trigger.

- [441](https://jonas-paprotka.de/ref/table/18-customer/source/#L441) calls `UpdatePaymentTermsId`

## Salesperson Code.OnValidate

[Line 462](https://jonas-paprotka.de/ref/table/18-customer/source/#L462), trigger.

- [464](https://jonas-paprotka.de/ref/table/18-customer/source/#L464) calls `ValidateSalesPersonCode`

## Shipment Method Code.OnValidate

[Line 476](https://jonas-paprotka.de/ref/table/18-customer/source/#L476), trigger.

- [478](https://jonas-paprotka.de/ref/table/18-customer/source/#L478) calls `UpdateShipmentMethodId`

## Shipping Agent Code.OnValidate

[Line 491](https://jonas-paprotka.de/ref/table/18-customer/source/#L491), trigger.

- [494](https://jonas-paprotka.de/ref/table/18-customer/source/#L494) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Shipping Agent Service Code`

## Country/Region Code.OnValidate

[Line 532](https://jonas-paprotka.de/ref/table/18-customer/source/#L532), trigger.

- [534](https://jonas-paprotka.de/ref/table/18-customer/source/#L534) calls [Table 225 Post Code](https://jonas-paprotka.de/ref/table/225-post-code/) `CheckClearPostCodeCityCounty`
- [537](https://jonas-paprotka.de/ref/table/18-customer/source/#L537) calls `VATRegistrationValidation`
- [538](https://jonas-paprotka.de/ref/table/18-customer/source/#L538) calls [Codeunit 200 Alt. Cust. VAT. Reg. Facade](https://jonas-paprotka.de/ref/codeunit/200-alt-cust-vat-reg-facade/) `CheckCustomerConsistency`

## Payment Method Code.OnValidate

[Line 645](https://jonas-paprotka.de/ref/table/18-customer/source/#L645), trigger.

- [647](https://jonas-paprotka.de/ref/table/18-customer/source/#L647) calls `UpdatePaymentMethodId`
- [652](https://jonas-paprotka.de/ref/table/18-customer/source/#L652) calls `UpdateDirectDebitPmtTermsCode`

## VAT Registration No..OnValidate

[Line 1120](https://jonas-paprotka.de/ref/table/18-customer/source/#L1120), trigger.

- [1125](https://jonas-paprotka.de/ref/table/18-customer/source/#L1125) raises `OnBeforeValidateVATRegistrationNo`, IsHandled
- [1131](https://jonas-paprotka.de/ref/table/18-customer/source/#L1131) calls `VATRegistrationValidation`

## Gen. Bus. Posting Group.OnValidate

[Line 1152](https://jonas-paprotka.de/ref/table/18-customer/source/#L1152), trigger.

- [1155](https://jonas-paprotka.de/ref/table/18-customer/source/#L1155) calls [Table 250 Gen. Business Posting Group](https://jonas-paprotka.de/ref/table/250-gen-business-posting-group/) `ValidateVatBusPostingGroup`
- [1156](https://jonas-paprotka.de/ref/table/18-customer/source/#L1156) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `VAT Bus. Posting Group`

## GLN.OnValidate

[Line 1168](https://jonas-paprotka.de/ref/table/18-customer/source/#L1168), trigger.

- [1173](https://jonas-paprotka.de/ref/table/18-customer/source/#L1173) calls [Codeunit 1607 GLN Calculator](https://jonas-paprotka.de/ref/codeunit/1607-gln-calculator/) `AssertValidCheckDigit13`

## Post Code.OnLookup

[Line 1188](https://jonas-paprotka.de/ref/table/18-customer/source/#L1188), trigger.

- [1190](https://jonas-paprotka.de/ref/table/18-customer/source/#L1190) raises `OnBeforeLookupPostCode`
- [1192](https://jonas-paprotka.de/ref/table/18-customer/source/#L1192) calls [Table 225 Post Code](https://jonas-paprotka.de/ref/table/225-post-code/) `LookupPostCode`
- [1194](https://jonas-paprotka.de/ref/table/18-customer/source/#L1194) raises `OnAfterLookupPostCode`

## Post Code.OnValidate

[Line 1197](https://jonas-paprotka.de/ref/table/18-customer/source/#L1197), trigger.

- [1202](https://jonas-paprotka.de/ref/table/18-customer/source/#L1202) raises `OnBeforeValidatePostCode`, IsHandled
- [1204](https://jonas-paprotka.de/ref/table/18-customer/source/#L1204) calls [Table 225 Post Code](https://jonas-paprotka.de/ref/table/225-post-code/) `ValidatePostCode`
- [1206](https://jonas-paprotka.de/ref/table/18-customer/source/#L1206) calls [Codeunit 200 Alt. Cust. VAT. Reg. Facade](https://jonas-paprotka.de/ref/codeunit/200-alt-cust-vat-reg-facade/) `CheckCustomerConsistency`
- [1208](https://jonas-paprotka.de/ref/table/18-customer/source/#L1208) raises `OnAfterValidatePostCode`

## E-Mail.OnValidate

[Line 1320](https://jonas-paprotka.de/ref/table/18-customer/source/#L1320), trigger.

- [1322](https://jonas-paprotka.de/ref/table/18-customer/source/#L1322) calls `ValidateEmail`

## Tax Area Code.OnValidate

[Line 1405](https://jonas-paprotka.de/ref/table/18-customer/source/#L1405), trigger.

- [1407](https://jonas-paprotka.de/ref/table/18-customer/source/#L1407) calls `UpdateTaxAreaId`

## VAT Bus. Posting Group.OnValidate

[Line 1427](https://jonas-paprotka.de/ref/table/18-customer/source/#L1427), trigger.

- [1429](https://jonas-paprotka.de/ref/table/18-customer/source/#L1429) calls `UpdateTaxAreaId`

## Block Payment Tolerance.OnValidate

[Line 1495](https://jonas-paprotka.de/ref/table/18-customer/source/#L1495), trigger.

- [1497](https://jonas-paprotka.de/ref/table/18-customer/source/#L1497) calls `UpdatePaymentTolerance`

## IC Partner Code.OnValidate

[Line 1543](https://jonas-paprotka.de/ref/table/18-customer/source/#L1543), trigger.

- [1565](https://jonas-paprotka.de/ref/table/18-customer/source/#L1565) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [1575](https://jonas-paprotka.de/ref/table/18-customer/source/#L1575) writes [Table 413 IC Partner](https://jonas-paprotka.de/ref/table/413-ic-partner/) Modify
- [1580](https://jonas-paprotka.de/ref/table/18-customer/source/#L1580) writes [Table 413 IC Partner](https://jonas-paprotka.de/ref/table/413-ic-partner/) Modify

## Primary Contact No..OnLookup

[Line 1837](https://jonas-paprotka.de/ref/table/18-customer/source/#L1837), trigger.

- [1839](https://jonas-paprotka.de/ref/table/18-customer/source/#L1839) calls `LookupContactList`

## Primary Contact No..OnValidate

[Line 1842](https://jonas-paprotka.de/ref/table/18-customer/source/#L1842), trigger.

- [1851](https://jonas-paprotka.de/ref/table/18-customer/source/#L1851) calls `CheckCustomerContactRelation`
- [1859](https://jonas-paprotka.de/ref/table/18-customer/source/#L1859) calls `CopyContactPicture`
- [1863](https://jonas-paprotka.de/ref/table/18-customer/source/#L1863) calls `UpdateMyCustomer`

## Price Calculation Method.OnValidate

[Line 1957](https://jonas-paprotka.de/ref/table/18-customer/source/#L1957), trigger.

- [1963](https://jonas-paprotka.de/ref/table/18-customer/source/#L1963) calls [Codeunit 7001 Price Calculation Mgt.](https://jonas-paprotka.de/ref/codeunit/7001-price-calculation-mgt/) `VerifyMethodImplemented`

## Currency Id.OnValidate

[Line 2256](https://jonas-paprotka.de/ref/table/18-customer/source/#L2256), trigger.

- [2258](https://jonas-paprotka.de/ref/table/18-customer/source/#L2258) calls `UpdateCurrencyCode`

## Payment Terms Id.OnValidate

[Line 2269](https://jonas-paprotka.de/ref/table/18-customer/source/#L2269), trigger.

- [2271](https://jonas-paprotka.de/ref/table/18-customer/source/#L2271) calls `UpdatePaymentTermsCode`

## Shipment Method Id.OnValidate

[Line 2282](https://jonas-paprotka.de/ref/table/18-customer/source/#L2282), trigger.

- [2284](https://jonas-paprotka.de/ref/table/18-customer/source/#L2284) calls `UpdateShipmentMethodCode`

## Payment Method Id.OnValidate

[Line 2295](https://jonas-paprotka.de/ref/table/18-customer/source/#L2295), trigger.

- [2297](https://jonas-paprotka.de/ref/table/18-customer/source/#L2297) calls `UpdatePaymentMethodCode`

## Tax Area ID.OnValidate

[Line 2307](https://jonas-paprotka.de/ref/table/18-customer/source/#L2307), trigger.

- [2309](https://jonas-paprotka.de/ref/table/18-customer/source/#L2309) calls `UpdateTaxAreaCode`

## OnDelete

[Line 2401](https://jonas-paprotka.de/ref/table/18-customer/source/#L2401), trigger.

- [2408](https://jonas-paprotka.de/ref/table/18-customer/source/#L2408) raises `OnBeforeOnDelete`, IsHandled
- [2412](https://jonas-paprotka.de/ref/table/18-customer/source/#L2412) calls [Codeunit 1535 Approvals Mgmt.](https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/) `OnCancelCustomerApprovalRequest`
- [2418](https://jonas-paprotka.de/ref/table/18-customer/source/#L2418) calls [Codeunit 361 MoveEntries](https://jonas-paprotka.de/ref/codeunit/361-moveentries/) `MoveCustEntries`
- [2420](https://jonas-paprotka.de/ref/table/18-customer/source/#L2420) calls `DeleteRelatedData`
- [2422](https://jonas-paprotka.de/ref/table/18-customer/source/#L2422) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnDelete`
- [2424](https://jonas-paprotka.de/ref/table/18-customer/source/#L2424) calls [Codeunit 249 VAT Registration Log Mgt.](https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/) `DeleteCustomerLog`
- [2426](https://jonas-paprotka.de/ref/table/18-customer/source/#L2426) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `DeleteDefaultDim`
- [2427](https://jonas-paprotka.de/ref/table/18-customer/source/#L2427) calls `DeleteDimValuePerAccount`
- [2429](https://jonas-paprotka.de/ref/table/18-customer/source/#L2429) calls [Codeunit 7600 Calendar Management](https://jonas-paprotka.de/ref/codeunit/7600-calendar-management/) `DeleteCustomizedBaseCalendarData`

## OnInsert

[Line 2432](https://jonas-paprotka.de/ref/table/18-customer/source/#L2432), trigger.

- [2438](https://jonas-paprotka.de/ref/table/18-customer/source/#L2438) raises `OnBeforeInsert`, IsHandled
- [2446](https://jonas-paprotka.de/ref/table/18-customer/source/#L2446) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `AreRelated`
- [2448](https://jonas-paprotka.de/ref/table/18-customer/source/#L2448) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [2452](https://jonas-paprotka.de/ref/table/18-customer/source/#L2452) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [2459](https://jonas-paprotka.de/ref/table/18-customer/source/#L2459) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnInsert`
- [2462](https://jonas-paprotka.de/ref/table/18-customer/source/#L2462) calls `SetDefaultSalesperson`
- [2464](https://jonas-paprotka.de/ref/table/18-customer/source/#L2464) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateDefaultDim`
- [2468](https://jonas-paprotka.de/ref/table/18-customer/source/#L2468) calls `UpdateReferencedIds`
- [2469](https://jonas-paprotka.de/ref/table/18-customer/source/#L2469) calls `SetLastModifiedDateTime`
- [2471](https://jonas-paprotka.de/ref/table/18-customer/source/#L2471) raises `OnAfterOnInsert`

## OnModify

[Line 2474](https://jonas-paprotka.de/ref/table/18-customer/source/#L2474), trigger.

- [2476](https://jonas-paprotka.de/ref/table/18-customer/source/#L2476) calls `UpdateReferencedIds`
- [2477](https://jonas-paprotka.de/ref/table/18-customer/source/#L2477) calls `SetLastModifiedDateTime`
- [2478](https://jonas-paprotka.de/ref/table/18-customer/source/#L2478) calls `IsContactUpdateNeeded`
- [2479](https://jonas-paprotka.de/ref/table/18-customer/source/#L2479) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify
- [2480](https://jonas-paprotka.de/ref/table/18-customer/source/#L2480) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnModify`

## OnRename

[Line 2488](https://jonas-paprotka.de/ref/table/18-customer/source/#L2488), trigger.

- [2493](https://jonas-paprotka.de/ref/table/18-customer/source/#L2493) raises `OnBeforeOnRename`, IsHandled
- [2497](https://jonas-paprotka.de/ref/table/18-customer/source/#L2497) calls [Codeunit 1535 Approvals Mgmt.](https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/) `OnRenameRecordInApprovalRequest`
- [2498](https://jonas-paprotka.de/ref/table/18-customer/source/#L2498) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `RenameDefaultDim`
- [2499](https://jonas-paprotka.de/ref/table/18-customer/source/#L2499) calls [Table 97 Comment Line](https://jonas-paprotka.de/ref/table/97-comment-line/) `RenameCommentLine`
- [2501](https://jonas-paprotka.de/ref/table/18-customer/source/#L2501) calls `SetLastModifiedDateTime`
- [2504](https://jonas-paprotka.de/ref/table/18-customer/source/#L2504) calls `UpdateCustomerTemplateInvoiceDiscCodes`
- [2506](https://jonas-paprotka.de/ref/table/18-customer/source/#L2506) calls [Codeunit 7600 Calendar Management](https://jonas-paprotka.de/ref/codeunit/7600-calendar-management/) `RenameCustomizedBaseCalendarData`

## AssistEdit

[Line 2570](https://jonas-paprotka.de/ref/table/18-customer/source/#L2570).

- [2577](https://jonas-paprotka.de/ref/table/18-customer/source/#L2577) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `LookupRelatedNoSeries`
- [2578](https://jonas-paprotka.de/ref/table/18-customer/source/#L2578) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [2580](https://jonas-paprotka.de/ref/table/18-customer/source/#L2580) raises `OnAssistEditOnBeforeExit`

## DeleteRelatedData

[Line 2585](https://jonas-paprotka.de/ref/table/18-customer/source/#L2585), local.

- [2597](https://jonas-paprotka.de/ref/table/18-customer/source/#L2597) writes [Table 97 Comment Line](https://jonas-paprotka.de/ref/table/97-comment-line/) DeleteAll
- [2600](https://jonas-paprotka.de/ref/table/18-customer/source/#L2600) writes [Table 287 Customer Bank Account](https://jonas-paprotka.de/ref/table/287-customer-bank-account/) DeleteAll
- [2603](https://jonas-paprotka.de/ref/table/18-customer/source/#L2603) writes [Table 222 Ship-to Address](https://jonas-paprotka.de/ref/table/222-ship-to-address/) DeleteAll
- [2608](https://jonas-paprotka.de/ref/table/18-customer/source/#L2608) writes [Table 459 Sales Prepayment %](https://jonas-paprotka.de/ref/table/459-sales-prepayment/) DeleteAll
- [2611](https://jonas-paprotka.de/ref/table/18-customer/source/#L2611) writes [Table 172 Standard Customer Sales Code](https://jonas-paprotka.de/ref/table/172-standard-customer-sales-code/) DeleteAll(true)
- [2613](https://jonas-paprotka.de/ref/table/18-customer/source/#L2613) calls `CheckIfSalesOrderLinesExist`
- [2622](https://jonas-paprotka.de/ref/table/18-customer/source/#L2622) calls [Codeunit 7030 Campaign Target Group Mgt](https://jonas-paprotka.de/ref/codeunit/7030-campaign-target-group-mgt/) `ConverttoContact`
- [2629](https://jonas-paprotka.de/ref/table/18-customer/source/#L2629) writes [Table 5777 Item Reference](https://jonas-paprotka.de/ref/table/5777-item-reference/) DeleteAll
- [2633](https://jonas-paprotka.de/ref/table/18-customer/source/#L2633) writes [Table 9657 Custom Report Selection](https://jonas-paprotka.de/ref/table/9657-custom-report-selection/) DeleteAll
- [2636](https://jonas-paprotka.de/ref/table/18-customer/source/#L2636) writes [Table 9150 My Customer](https://jonas-paprotka.de/ref/table/9150-my-customer/) DeleteAll
- [2638](https://jonas-paprotka.de/ref/table/18-customer/source/#L2638) raises `OnAfterDeleteRelatedData`

## ValidateShortcutDimCode

[Line 2646](https://jonas-paprotka.de/ref/table/18-customer/source/#L2646).

- [2651](https://jonas-paprotka.de/ref/table/18-customer/source/#L2651) raises `OnBeforeValidateShortcutDimCode`, IsHandled
- [2655](https://jonas-paprotka.de/ref/table/18-customer/source/#L2655) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ValidateDimValueCode`
- [2657](https://jonas-paprotka.de/ref/table/18-customer/source/#L2657) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `SaveDefaultDim`
- [2658](https://jonas-paprotka.de/ref/table/18-customer/source/#L2658) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify
- [2661](https://jonas-paprotka.de/ref/table/18-customer/source/#L2661) raises `OnAfterValidateShortcutDimCode`

## ShowContact

[Line 2667](https://jonas-paprotka.de/ref/table/18-customer/source/#L2667).

- [2676](https://jonas-paprotka.de/ref/table/18-customer/source/#L2676) raises `OnBeforeShowContact`
- [2677](https://jonas-paprotka.de/ref/table/18-customer/source/#L2677) calls [Codeunit 1630 Office Management](https://jonas-paprotka.de/ref/codeunit/1630-office-management/) `GetContact`
- [2679](https://jonas-paprotka.de/ref/table/18-customer/source/#L2679) raises `OnShowContactOnBeforeOpenContactCard`
- [2689](https://jonas-paprotka.de/ref/table/18-customer/source/#L2689) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [2691](https://jonas-paprotka.de/ref/table/18-customer/source/#L2691) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `InsertNewContact`
- [2703](https://jonas-paprotka.de/ref/table/18-customer/source/#L2703) raises `OnShowContactOnBeforeOpenContactList`

## LookupContactList

[Line 2711](https://jonas-paprotka.de/ref/table/18-customer/source/#L2711).

- [2719](https://jonas-paprotka.de/ref/table/18-customer/source/#L2719) raises `OnBeforeLookupContactList`, IsHandled
- [2724](https://jonas-paprotka.de/ref/table/18-customer/source/#L2724) calls [Table 5054 Contact Business Relation](https://jonas-paprotka.de/ref/table/5054-contact-business-relation/) `FindByRelation`
- [2739](https://jonas-paprotka.de/ref/table/18-customer/source/#L2739) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Primary Contact No.`

## CheckBlockedCustOnDocs

[Line 2759](https://jonas-paprotka.de/ref/table/18-customer/source/#L2759).

- [2763](https://jonas-paprotka.de/ref/table/18-customer/source/#L2763) calls `IsOnBeforeCheckBlockedCustHandled`
- [2767](https://jonas-paprotka.de/ref/table/18-customer/source/#L2767) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CustPrivacyBlockedErrorMessage`
- [2777](https://jonas-paprotka.de/ref/table/18-customer/source/#L2777) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CustBlockedErrorMessage`

## CheckBlockedCustOnJnls

[Line 2786](https://jonas-paprotka.de/ref/table/18-customer/source/#L2786).

- [2790](https://jonas-paprotka.de/ref/table/18-customer/source/#L2790) calls `IsOnBeforeCheckBlockedCustHandled`
- [2794](https://jonas-paprotka.de/ref/table/18-customer/source/#L2794) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CustPrivacyBlockedErrorMessage`
- [2799](https://jonas-paprotka.de/ref/table/18-customer/source/#L2799) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CustBlockedErrorMessage`

## CheckBlockedCustOnJnls

[Line 2808](https://jonas-paprotka.de/ref/table/18-customer/source/#L2808).

- [2813](https://jonas-paprotka.de/ref/table/18-customer/source/#L2813) raises `OnBeforeCheckBlockedCustOnJnls`, IsHandled

## CustBlockedErrorMessage

[Line 2825](https://jonas-paprotka.de/ref/table/18-customer/source/#L2825).

- [2831](https://jonas-paprotka.de/ref/table/18-customer/source/#L2831) raises `OnBeforeCustBlockedErrorMessage`, IsHandled

## DisplayMap

[Line 2883](https://jonas-paprotka.de/ref/table/18-customer/source/#L2883).

- [2887](https://jonas-paprotka.de/ref/table/18-customer/source/#L2887) calls [Codeunit 802 Online Map Management](https://jonas-paprotka.de/ref/codeunit/802-online-map-management/) `MakeSelectionIfMapEnabled`

## GetPriceCalculationMethod

[Line 2894](https://jonas-paprotka.de/ref/table/18-customer/source/#L2894).

- [2899](https://jonas-paprotka.de/ref/table/18-customer/source/#L2899) calls `GetCustomerPriceGroupPriceCalcMethod`

## GetPrimaryContact

[Line 2912](https://jonas-paprotka.de/ref/table/18-customer/source/#L2912).

- [2919](https://jonas-paprotka.de/ref/table/18-customer/source/#L2919) calls `GetContact`

## GetTotalAmountLCY

[Line 2949](https://jonas-paprotka.de/ref/table/18-customer/source/#L2949).

- [2955](https://jonas-paprotka.de/ref/table/18-customer/source/#L2955) raises `OnBeforeGetTotalAmountLCY`, IsHandled
- [2962](https://jonas-paprotka.de/ref/table/18-customer/source/#L2962) raises `OnGetTotalAmountLCYOnAfterCalcFields`
- [2966](https://jonas-paprotka.de/ref/table/18-customer/source/#L2966) calls `GetTotalAmountLCYCommon`

## GetTotalAmountLCYUI

[Line 2973](https://jonas-paprotka.de/ref/table/18-customer/source/#L2973).

- [2975](https://jonas-paprotka.de/ref/table/18-customer/source/#L2975) raises `OnBeforeGetTotalAmountLCYUI`
- [2978](https://jonas-paprotka.de/ref/table/18-customer/source/#L2978) raises `OnGetTotalAmountLCYUIOnAfterSetAutoCalcFields`
- [2980](https://jonas-paprotka.de/ref/table/18-customer/source/#L2980) calls `GetTotalAmountLCYCommon`

## GetTotalAmountLCYCommon

[Line 2983](https://jonas-paprotka.de/ref/table/18-customer/source/#L2983), local.

- [2995](https://jonas-paprotka.de/ref/table/18-customer/source/#L2995) raises `OnBeforeGetTotalAmountLCYCommon`, IsHandled
- [3000](https://jonas-paprotka.de/ref/table/18-customer/source/#L3000) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `OutstandingInvoiceAmountFromShipment`
- [3002](https://jonas-paprotka.de/ref/table/18-customer/source/#L3002) calls `GetInvoicedPrepmtAmountLCY`
- [3003](https://jonas-paprotka.de/ref/table/18-customer/source/#L3003) calls `GetReturnRcdNotInvAmountLCY`
- [3014](https://jonas-paprotka.de/ref/table/18-customer/source/#L3014) raises `OnAfterGetTotalAmountLCYCommon`

## GetSalesLCY

[Line 3022](https://jonas-paprotka.de/ref/table/18-customer/source/#L3022).

- [3031](https://jonas-paprotka.de/ref/table/18-customer/source/#L3031) raises `OnBeforeGetSalesLCY`, IsHandled
- [3035](https://jonas-paprotka.de/ref/table/18-customer/source/#L3035) calls [Codeunit 358 DateFilter-Calc](https://jonas-paprotka.de/ref/codeunit/358-datefilter-calc/) `CreateFiscalYearFilter`

## GetTopCustomerHeadlineQueryDocumentTypeFilter

[Line 3047](https://jonas-paprotka.de/ref/table/18-customer/source/#L3047).

- [3051](https://jonas-paprotka.de/ref/table/18-customer/source/#L3051) raises `OnAfterGetTopCustomerHeadlineQueryDocumentTypeFilter`

## CalcAvailableCredit

[Line 3058](https://jonas-paprotka.de/ref/table/18-customer/source/#L3058).

- [3060](https://jonas-paprotka.de/ref/table/18-customer/source/#L3060) calls `CalcAvailableCreditCommon`

## CalcAvailableCreditUI

[Line 3067](https://jonas-paprotka.de/ref/table/18-customer/source/#L3067).

- [3069](https://jonas-paprotka.de/ref/table/18-customer/source/#L3069) calls `CalcAvailableCreditCommon`

## CalcAvailableCreditCommon

[Line 3072](https://jonas-paprotka.de/ref/table/18-customer/source/#L3072), local.

- [3079](https://jonas-paprotka.de/ref/table/18-customer/source/#L3079) raises `OnBeforeCalcAvailableCreditCommon`, IsHandled
- [3086](https://jonas-paprotka.de/ref/table/18-customer/source/#L3086) calls `GetTotalAmountLCYUI`
- [3087](https://jonas-paprotka.de/ref/table/18-customer/source/#L3087) calls `GetTotalAmountLCY`

## CalcOverdueBalance

[Line 3094](https://jonas-paprotka.de/ref/table/18-customer/source/#L3094).

- [3101](https://jonas-paprotka.de/ref/table/18-customer/source/#L3101) raises `OnBeforeCalcOverdueBalance`, IsHandled

## SetStyle

[Line 3136](https://jonas-paprotka.de/ref/table/18-customer/source/#L3136).

- [3138](https://jonas-paprotka.de/ref/table/18-customer/source/#L3138) calls `CalcAvailableCredit`

## HasValidDDMandate

[Line 3148](https://jonas-paprotka.de/ref/table/18-customer/source/#L3148).

- [3152](https://jonas-paprotka.de/ref/table/18-customer/source/#L3152) calls [Table 1230 SEPA Direct Debit Mandate](https://jonas-paprotka.de/ref/table/1230-sepa-direct-debit-mandate/) `GetDefaultMandate`

## GetInvoicedPrepmtAmountLCY

[Line 3176](https://jonas-paprotka.de/ref/table/18-customer/source/#L3176).

- [3183](https://jonas-paprotka.de/ref/table/18-customer/source/#L3183) raises `OnBeforeGetInvoicedPrepmtAmountLCY`, IsHandled

## CreateAndShowNewInvoice

[Line 3216](https://jonas-paprotka.de/ref/table/18-customer/source/#L3216).

- [3222](https://jonas-paprotka.de/ref/table/18-customer/source/#L3222) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetDefaultPaymentServices`
- [3223](https://jonas-paprotka.de/ref/table/18-customer/source/#L3223) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Insert(true)
- [3225](https://jonas-paprotka.de/ref/table/18-customer/source/#L3225) runs [Page 43 Sales Invoice](https://jonas-paprotka.de/ref/page/43-sales-invoice/)

## CreateAndShowNewOrder

[Line 3231](https://jonas-paprotka.de/ref/table/18-customer/source/#L3231).

- [3237](https://jonas-paprotka.de/ref/table/18-customer/source/#L3237) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetDefaultPaymentServices`
- [3238](https://jonas-paprotka.de/ref/table/18-customer/source/#L3238) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Insert(true)
- [3240](https://jonas-paprotka.de/ref/table/18-customer/source/#L3240) runs [Page 42 Sales Order](https://jonas-paprotka.de/ref/page/42-sales-order/)

## CreateAndShowNewCreditMemo

[Line 3246](https://jonas-paprotka.de/ref/table/18-customer/source/#L3246).

- [3252](https://jonas-paprotka.de/ref/table/18-customer/source/#L3252) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Insert(true)
- [3254](https://jonas-paprotka.de/ref/table/18-customer/source/#L3254) runs [Page 44 Sales Credit Memo](https://jonas-paprotka.de/ref/page/44-sales-credit-memo/)

## CreateAndShowNewQuote

[Line 3260](https://jonas-paprotka.de/ref/table/18-customer/source/#L3260).

- [3266](https://jonas-paprotka.de/ref/table/18-customer/source/#L3266) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Insert(true)
- [3268](https://jonas-paprotka.de/ref/table/18-customer/source/#L3268) runs [Page 41 Sales Quote](https://jonas-paprotka.de/ref/page/41-sales-quote/)

## UpdatePaymentTolerance

[Line 3271](https://jonas-paprotka.de/ref/table/18-customer/source/#L3271), local.

- [3277](https://jonas-paprotka.de/ref/table/18-customer/source/#L3277) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `DelTolCustLedgEntry`
- [3282](https://jonas-paprotka.de/ref/table/18-customer/source/#L3282) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CalcTolCustLedgEntry`

## HasAddressIgnoreCountryCode

[Line 3301](https://jonas-paprotka.de/ref/table/18-customer/source/#L3301).

- [3309](https://jonas-paprotka.de/ref/table/18-customer/source/#L3309) raises `OnAfterHasAddressIgnoreCountryCode`

## HasAddress

[Line 3316](https://jonas-paprotka.de/ref/table/18-customer/source/#L3316).

- [3318](https://jonas-paprotka.de/ref/table/18-customer/source/#L3318) calls `HasAddressIgnoreCountryCode`

## HasDifferentAddress

[Line 3326](https://jonas-paprotka.de/ref/table/18-customer/source/#L3326).

- [3334](https://jonas-paprotka.de/ref/table/18-customer/source/#L3334) raises `OnAfterHasDifferentAddress`

## GetBalanceAsVendor

[Line 3342](https://jonas-paprotka.de/ref/table/18-customer/source/#L3342).

- [3347](https://jonas-paprotka.de/ref/table/18-customer/source/#L3347) calls `GetLinkedVendor`
- [3349](https://jonas-paprotka.de/ref/table/18-customer/source/#L3349) raises `OnGetBalanceAsVendorOnBeforeCalcBalance`

## GetLinkedVendor

[Line 3359](https://jonas-paprotka.de/ref/table/18-customer/source/#L3359).

- [3364](https://jonas-paprotka.de/ref/table/18-customer/source/#L3364) calls [Table 5054 Contact Business Relation](https://jonas-paprotka.de/ref/table/5054-contact-business-relation/) `GetLinkedTables`

## GetCustNo

[Line 3374](https://jonas-paprotka.de/ref/table/18-customer/source/#L3374).

- [3376](https://jonas-paprotka.de/ref/table/18-customer/source/#L3376) calls `GetCustNoOpenCard`

## GetCustNoOpenCard

[Line 3386](https://jonas-paprotka.de/ref/table/18-customer/source/#L3386).

- [3397](https://jonas-paprotka.de/ref/table/18-customer/source/#L3397) raises `OnBeforeGetCustNoOpenCard`, IsHandled
- [3408](https://jonas-paprotka.de/ref/table/18-customer/source/#L3408) raises `OnGetCustNoOpenCardOnBeforeFilterCustomer`
- [3412](https://jonas-paprotka.de/ref/table/18-customer/source/#L3412) raises `OnGetCustNoOpenCardOnBeforeCustomerFindFirst`, IsHandled
- [3421](https://jonas-paprotka.de/ref/table/18-customer/source/#L3421) raises `OnGetCustNoOpenCardOnBeforeCustomerFindSet`
- [3432](https://jonas-paprotka.de/ref/table/18-customer/source/#L3432) raises `OnGetCustNoOpenCardOnAfterOnAfterCustomerFilterFromStart`
- [3446](https://jonas-paprotka.de/ref/table/18-customer/source/#L3446) raises `OnGetCustNoOpenCardOnAfterSetCustomerFilters`
- [3449](https://jonas-paprotka.de/ref/table/18-customer/source/#L3449) calls `MarkCustomersWithSimilarName`
- [3459](https://jonas-paprotka.de/ref/table/18-customer/source/#L3459) raises `OnGetCustNoOpenCardOnAfterMarkCustomersWithSimilarName`
- [3470](https://jonas-paprotka.de/ref/table/18-customer/source/#L3470) calls `CreateNewCustomer`
- [3479](https://jonas-paprotka.de/ref/table/18-customer/source/#L3479) calls `PickCustomer`

## MarkCustomersWithSimilarName

[Line 3491](https://jonas-paprotka.de/ref/table/18-customer/source/#L3491), local.

- [3509](https://jonas-paprotka.de/ref/table/18-customer/source/#L3509) raises `OnMarkCustomersWithSimilarNameOnBeforeCustomerFindSet`
- [3514](https://jonas-paprotka.de/ref/table/18-customer/source/#L3514) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `TextDistance`

## CreateNewCustomer

[Line 3526](https://jonas-paprotka.de/ref/table/18-customer/source/#L3526).

- [3536](https://jonas-paprotka.de/ref/table/18-customer/source/#L3536) raises `OnBeforeCreateNewCustomer`, IsHandled
- [3541](https://jonas-paprotka.de/ref/table/18-customer/source/#L3541) calls [Codeunit 1381 Customer Templ. Mgt.](https://jonas-paprotka.de/ref/codeunit/1381-customer-templ-mgt/) `InsertCustomerFromTemplate`
- [3542](https://jonas-paprotka.de/ref/table/18-customer/source/#L3542) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Insert(true)
- [3546](https://jonas-paprotka.de/ref/table/18-customer/source/#L3546) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify(true)
- [3549](https://jonas-paprotka.de/ref/table/18-customer/source/#L3549) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnCustomerChanged`

## PickCustomer

[Line 3562](https://jonas-paprotka.de/ref/table/18-customer/source/#L3562), local.

- [3567](https://jonas-paprotka.de/ref/table/18-customer/source/#L3567) calls `MarkCustomersByFilters`

## ToPriceSource

[Line 3617](https://jonas-paprotka.de/ref/table/18-customer/source/#L3617).

- [3621](https://jonas-paprotka.de/ref/table/18-customer/source/#L3621) validates [Table 7005 Price Source](https://jonas-paprotka.de/ref/table/7005-price-source/) `Source Type`
- [3622](https://jonas-paprotka.de/ref/table/18-customer/source/#L3622) validates [Table 7005 Price Source](https://jonas-paprotka.de/ref/table/7005-price-source/) `Source No.`

## TestNoSeries

[Line 3625](https://jonas-paprotka.de/ref/table/18-customer/source/#L3625), local.

- [3631](https://jonas-paprotka.de/ref/table/18-customer/source/#L3631) raises `OnBeforeTestNoSeries`, IsHandled
- [3638](https://jonas-paprotka.de/ref/table/18-customer/source/#L3638) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `TestManual`

## OpenCustomerLedgerEntries

[Line 3647](https://jonas-paprotka.de/ref/table/18-customer/source/#L3647).

- [3654](https://jonas-paprotka.de/ref/table/18-customer/source/#L3654) raises `OnBeforeOpenCustomerLedgerEntries`, IsHandled
- [3666](https://jonas-paprotka.de/ref/table/18-customer/source/#L3666) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `DrillDownOnEntries`

## IsContactUpdateNeeded

[Line 3692](https://jonas-paprotka.de/ref/table/18-customer/source/#L3692).

- [3723](https://jonas-paprotka.de/ref/table/18-customer/source/#L3723) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `ContactNameIsBlank`
- [3728](https://jonas-paprotka.de/ref/table/18-customer/source/#L3728) raises `OnBeforeIsContactUpdateNeeded`

## HasAnyOpenOrPostedDocuments

[Line 3751](https://jonas-paprotka.de/ref/table/18-customer/source/#L3751).

- [3777](https://jonas-paprotka.de/ref/table/18-customer/source/#L3777) raises `OnAfterHasAnyOpenOrPostedDocuments`

## CopyFromNewCustomerTemplate

[Line 3785](https://jonas-paprotka.de/ref/table/18-customer/source/#L3785).

- [3799](https://jonas-paprotka.de/ref/table/18-customer/source/#L3799) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Terms Code`
- [3800](https://jonas-paprotka.de/ref/table/18-customer/source/#L3800) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Method Code`
- [3804](https://jonas-paprotka.de/ref/table/18-customer/source/#L3804) raises `OnAfterCopyFromNewCustomerTemplate`

## CopyContactPicture

[Line 3807](https://jonas-paprotka.de/ref/table/18-customer/source/#L3807), local.

- [3815](https://jonas-paprotka.de/ref/table/18-customer/source/#L3815) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [3820](https://jonas-paprotka.de/ref/table/18-customer/source/#L3820) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `GetServerDirectoryFilesList`
- [3826](https://jonas-paprotka.de/ref/table/18-customer/source/#L3826) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify
- [3827](https://jonas-paprotka.de/ref/table/18-customer/source/#L3827) calls [Codeunit 419 File Management](https://jonas-paprotka.de/ref/codeunit/419-file-management/) `DeleteServerFile`

## SetDefaultSalesperson

[Line 3848](https://jonas-paprotka.de/ref/table/18-customer/source/#L3848), protected.

- [3854](https://jonas-paprotka.de/ref/table/18-customer/source/#L3854) raises `OnBeforeSetDefaultSalesperson`, IsHandled
- [3862](https://jonas-paprotka.de/ref/table/18-customer/source/#L3862) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Salesperson Code`

## SetLastModifiedDateTime

[Line 3865](https://jonas-paprotka.de/ref/table/18-customer/source/#L3865), protected.

- [3869](https://jonas-paprotka.de/ref/table/18-customer/source/#L3869) raises `OnAfterSetLastModifiedDateTime`

## VATRegistrationValidation

[Line 3875](https://jonas-paprotka.de/ref/table/18-customer/source/#L3875).

- [3887](https://jonas-paprotka.de/ref/table/18-customer/source/#L3887) raises `OnBeforeVATRegistrationValidation`, IsHandled
- [3891](https://jonas-paprotka.de/ref/table/18-customer/source/#L3891) calls [Table 381 VAT Registration No. Format](https://jonas-paprotka.de/ref/table/381-vat-registration-no-format/) `Test`
- [3899](https://jonas-paprotka.de/ref/table/18-customer/source/#L3899) calls [Table 248 VAT Reg. No. Srv Config](https://jonas-paprotka.de/ref/table/248-vat-reg-no-srv-config/) `VATRegNoSrvIsEnabled`
- [3901](https://jonas-paprotka.de/ref/table/18-customer/source/#L3901) calls [Codeunit 249 VAT Registration Log Mgt.](https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/) `ValidateVATRegNoWithVIES`
- [3908](https://jonas-paprotka.de/ref/table/18-customer/source/#L3908) calls [Codeunit 249 VAT Registration Log Mgt.](https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/) `LogCustomer`

## ValidateEmail

[Line 3911](https://jonas-paprotka.de/ref/table/18-customer/source/#L3911), local.

- [3917](https://jonas-paprotka.de/ref/table/18-customer/source/#L3917) raises `OnBeforeValidateEmail`, IsHandled
- [3923](https://jonas-paprotka.de/ref/table/18-customer/source/#L3923) calls [Codeunit 9520 Mail Management](https://jonas-paprotka.de/ref/codeunit/9520-mail-management/) `CheckValidEmailAddresses`

## SetAddress

[Line 3936](https://jonas-paprotka.de/ref/table/18-customer/source/#L3936).

- [3944](https://jonas-paprotka.de/ref/table/18-customer/source/#L3944) calls [Codeunit 5056 CustCont-Update](https://jonas-paprotka.de/ref/codeunit/5056-custcont-update/) `OnModify`

## UpdateReferencedIds

[Line 3980](https://jonas-paprotka.de/ref/table/18-customer/source/#L3980).

- [3987](https://jonas-paprotka.de/ref/table/18-customer/source/#L3987) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [3990](https://jonas-paprotka.de/ref/table/18-customer/source/#L3990) calls `UpdateCurrencyId`
- [3991](https://jonas-paprotka.de/ref/table/18-customer/source/#L3991) calls `UpdatePaymentTermsId`
- [3992](https://jonas-paprotka.de/ref/table/18-customer/source/#L3992) calls `UpdateShipmentMethodId`
- [3993](https://jonas-paprotka.de/ref/table/18-customer/source/#L3993) calls `UpdatePaymentMethodId`
- [3994](https://jonas-paprotka.de/ref/table/18-customer/source/#L3994) calls `UpdateTaxAreaId`

## GetReferencedIds

[Line 4001](https://jonas-paprotka.de/ref/table/18-customer/source/#L4001).

- [4005](https://jonas-paprotka.de/ref/table/18-customer/source/#L4005) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `InsertFieldToBuffer`
- [4006](https://jonas-paprotka.de/ref/table/18-customer/source/#L4006) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `InsertFieldToBuffer`
- [4007](https://jonas-paprotka.de/ref/table/18-customer/source/#L4007) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `InsertFieldToBuffer`
- [4008](https://jonas-paprotka.de/ref/table/18-customer/source/#L4008) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `InsertFieldToBuffer`
- [4009](https://jonas-paprotka.de/ref/table/18-customer/source/#L4009) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `InsertFieldToBuffer`

## UpdateCurrencyCode

[Line 4021](https://jonas-paprotka.de/ref/table/18-customer/source/#L4021), local.

- [4028](https://jonas-paprotka.de/ref/table/18-customer/source/#L4028) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Currency Code`

## UpdatePaymentTermsCode

[Line 4032](https://jonas-paprotka.de/ref/table/18-customer/source/#L4032), local.

- [4040](https://jonas-paprotka.de/ref/table/18-customer/source/#L4040) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Terms Code`

## UpdateShipmentMethodCode

[Line 4043](https://jonas-paprotka.de/ref/table/18-customer/source/#L4043), local.

- [4051](https://jonas-paprotka.de/ref/table/18-customer/source/#L4051) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Shipment Method Code`

## UpdatePaymentMethodCode

[Line 4054](https://jonas-paprotka.de/ref/table/18-customer/source/#L4054), local.

- [4062](https://jonas-paprotka.de/ref/table/18-customer/source/#L4062) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Method Code`

## UpdateDirectDebitPmtTermsCode

[Line 4141](https://jonas-paprotka.de/ref/table/18-customer/source/#L4141), local.

- [4147](https://jonas-paprotka.de/ref/table/18-customer/source/#L4147) raises `OnBeforeUpdateDirectDebitPmtTermsCode`, IsHandled
- [4154](https://jonas-paprotka.de/ref/table/18-customer/source/#L4154) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Terms Code`

## UpdateTaxAreaId

[Line 4161](https://jonas-paprotka.de/ref/table/18-customer/source/#L4161).

- [4167](https://jonas-paprotka.de/ref/table/18-customer/source/#L4167) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `UseVat`

## UpdateTaxAreaCode

[Line 4192](https://jonas-paprotka.de/ref/table/18-customer/source/#L4192), local.

- [4201](https://jonas-paprotka.de/ref/table/18-customer/source/#L4201) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `UseVat`

## ValidateSalesPersonCode

[Line 4212](https://jonas-paprotka.de/ref/table/18-customer/source/#L4212), local.

- [4216](https://jonas-paprotka.de/ref/table/18-customer/source/#L4216) calls [Table 13 Salesperson/Purchaser](https://jonas-paprotka.de/ref/table/13-salesperson-purchaser/) `VerifySalesPersonPurchaserPrivacyBlocked`
- [4217](https://jonas-paprotka.de/ref/table/18-customer/source/#L4217) calls [Table 13 Salesperson/Purchaser](https://jonas-paprotka.de/ref/table/13-salesperson-purchaser/) `GetPrivacyBlockedGenericText`

## CheckCustomerContactRelation

[Line 4220](https://jonas-paprotka.de/ref/table/18-customer/source/#L4220), local.

- [4225](https://jonas-paprotka.de/ref/table/18-customer/source/#L4225) calls [Table 5054 Contact Business Relation](https://jonas-paprotka.de/ref/table/5054-contact-business-relation/) `FindOrRestoreContactBusinessRelation`
- [4228](https://jonas-paprotka.de/ref/table/18-customer/source/#L4228) raises `OnBeforeCheckCustomerContactRelation`, IsHandled

## CheckIfSalesOrderLinesExist

[Line 4234](https://jonas-paprotka.de/ref/table/18-customer/source/#L4234), local.

- [4239](https://jonas-paprotka.de/ref/table/18-customer/source/#L4239) raises `OnBeforeCheckIfOrderSalesLinesExist`, IsHandled

## UpdateCustomerTemplateInvoiceDiscCodes

[Line 4254](https://jonas-paprotka.de/ref/table/18-customer/source/#L4254), local.

- [4259](https://jonas-paprotka.de/ref/table/18-customer/source/#L4259) writes [Table 1381 Customer Templ.](https://jonas-paprotka.de/ref/table/1381-customer-templ/) ModifyAll

## CheckAllowMultiplePostingGroups

[Line 4265](https://jonas-paprotka.de/ref/table/18-customer/source/#L4265).

- [4269](https://jonas-paprotka.de/ref/table/18-customer/source/#L4269) raises `OnBeforeCheckAllowMultiplePostingGroups`, IsHandled

## UpdateFormatRegion

[Line 4278](https://jonas-paprotka.de/ref/table/18-customer/source/#L4278), local.

- [4290](https://jonas-paprotka.de/ref/table/18-customer/source/#L4290) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Format Region`

## GetVATRegistrationNo

[Line 4297](https://jonas-paprotka.de/ref/table/18-customer/source/#L4297).

- [4301](https://jonas-paprotka.de/ref/table/18-customer/source/#L4301) raises `OnAfterGetVATRegistrationNo`

## GetDefaultLocation

[Line 4353](https://jonas-paprotka.de/ref/table/18-customer/source/#L4353).

- [4366](https://jonas-paprotka.de/ref/table/18-customer/source/#L4366) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetLocation`

## UpdateMyCustomer

[Line 4370](https://jonas-paprotka.de/ref/table/18-customer/source/#L4370), local.

- [4379](https://jonas-paprotka.de/ref/table/18-customer/source/#L4379) writes [Table 9150 My Customer](https://jonas-paprotka.de/ref/table/9150-my-customer/) ModifyAll
- [4385](https://jonas-paprotka.de/ref/table/18-customer/source/#L4385) writes [Table 9150 My Customer](https://jonas-paprotka.de/ref/table/9150-my-customer/) ModifyAll

## DeleteDimValuePerAccount

[Line 4406](https://jonas-paprotka.de/ref/table/18-customer/source/#L4406), local.

- [4413](https://jonas-paprotka.de/ref/table/18-customer/source/#L4413) writes [Table 356 Dim. Value per Account](https://jonas-paprotka.de/ref/table/356-dim-value-per-account/) DeleteAll(true)

## IsOnBeforeCheckBlockedCustHandled

[Line 4568](https://jonas-paprotka.de/ref/table/18-customer/source/#L4568), local.

- [4570](https://jonas-paprotka.de/ref/table/18-customer/source/#L4570) raises `OnBeforeCheckBlockedCust`, IsHandled

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 6db4b18d1676c984833b094fda95694836e0bae3.

JOP-AL, 2026-11-19.
