Codeunit 1302 Customer Mgt.

Base Application, Microsoft.Sales.Customer

src/Layers/W1/BaseApp/Sales/Customer/CustomerMgt.Codeunit.al31 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AvgDaysToPay line 35

  1. 39callsCalculatePaymentStats
  2. 40callsGetAvgDaysToPay

GetAvgDaysToPay line 43, local

  1. 48callsCodeunit 32 Customer Card Calculations GetAvgDaysToPayLabel

CalculatePaymentStats line 58

  1. 72callsSetFilterForPostedDocs
  2. 106callsCodeunit 32 Customer Card Calculations GetAvgDaysToPayLabel
  3. 107callsCodeunit 32 Customer Card Calculations GetPaidLateCountLabel
  4. 108callsCodeunit 32 Customer Card Calculations GetPaidOnTimeCountLabel
  5. 109callsCodeunit 32 Customer Card Calculations GetPercentPaidLateLabel
  6. 114callsCodeunit 32 Customer Card Calculations GetOverdueCountLabel
  7. 116callsCalcLastPaymentInfo
  8. 123callsCodeunit 32 Customer Card Calculations GetDaysSinceLastSaleLabel

CalcLastPaymentInfo line 131

  1. 143callsCodeunit 32 Customer Card Calculations GetLastPaymentDateLabel
  2. 144callsCodeunit 32 Customer Card Calculations GetLastPaymentAmountLabel
  3. 147callsCodeunit 32 Customer Card Calculations GetLastPaymentOnTimeLabel

CalcNumberOfDistinctItemsSold line 156

  1. 168callsCodeunit 32 Customer Card Calculations GetDistinctItemsSoldLabel

CalculateInteractionStats line 176

  1. 188callsGetCurrentYearFilter
  2. 199callsCodeunit 32 Customer Card Calculations GetInteractionCountLabel
  3. 201callsCodeunit 32 Customer Card Calculations GetLastInteractionDateLabel
  4. 203callsCodeunit 32 Customer Card Calculations GetLastInteractionTypeLabel
  5. 204callsCodeunit 32 Customer Card Calculations GetMostFrequentInteractionTypeLabel

CalculateStatistic line 220

  1. 222callsGetCurrentYearFilter
  2. 225callsCalculateStatisticsWithCurrentCustomerValues

CalculateStatisticsWithCurrentCustomerValues line 239

  1. 245raisesOnBeforeCalculateStatisticsWithCurrentCustomerValuesIsHandled
  2. 251callsCodeunit 5836 Cost Calculation Management NonInvtblCostAmt
  3. 252callsCodeunit 5836 Cost Calculation Management CalcCustActualCostLCY

CalcAmountsOnPostedInvoices line 272

  1. 276callsCalcAmountsOnPostedDocs

CalcAmountsOnPostedCrMemos line 285

  1. 289callsCalcAmountsOnPostedDocs

CalcAmountsOnOrders line 298

  1. 302callsCalculateAmountsOnUnpostedDocs

CalcAmountsOnQuotes line 311

  1. 315callsCalculateAmountsOnUnpostedDocs

CalcAmountsOnPostedDocs line 318, local

  1. 323callsSetFilterForPostedDocs

CalculateAmountsWithVATOnUnpostedDocuments line 334

  1. 342callsSetFilterForUnpostedLines
  2. 346callsSetFilterForUnpostedLines

CalculateAmountsOnUnpostedInvoices line 359

  1. 363callsCalculateAmountsOnUnpostedDocs

CalculateAmountsOnUnpostedCrMemos line 372

  1. 376callsCalculateAmountsOnUnpostedDocs

DrillDownOnPostedInvoices line 417

  1. 423callsGetCurrentYearFilter
  2. 425runsPage 143 Posted Sales Invoices

DrillDownOnPostedCrMemo line 432

  1. 438callsGetCurrentYearFilter
  2. 440runsPage 144 Posted Sales Credit Memos

DrillDownOnOrders line 447

  1. 455runsPage 9305 Sales Order List

DrillDownOnQuotes line 462

  1. 470runsPage 9300 Sales Quotes

DrillDownMoneyOwedExpected line 477

  1. 482callsSetFilterForUnpostedDocs
  2. 483runsPage 45 Sales List

DrillDownOnUnpostedInvoices line 490

  1. 495callsSetFilterForUnpostedDocs
  2. 496runsPage 9301 Sales Invoice List

DrillDownOnUnpostedCrMemos line 503

  1. 508callsSetFilterForUnpostedDocs
  2. 509runsPage 9302 Sales Credit Memos

SetFilterForUnpostedDocs line 512, local

  1. 515callsGetCurrentYearFilter

SetFilterForUnpostedLines line 523, local

  1. 527callsGetCurrentYearFilter
  2. 531raisesOnAfterSetFilterForUnpostedLines

SetFilterForPostedDocs line 534, local

  1. 537callsGetCurrentYearFilter
  2. 540raisesOnAfterSetFilterForPostedDocs

GetCurrentYearFilter line 547

  1. 554raisesSkipSettingFilter
  2. 559callsCodeunit 358 DateFilter-Calc CreateAccountingPeriodFilter
  3. 561callsCodeunit 358 DateFilter-Calc CreateFiscalYearFilter

GetTotalSales line 571

  1. 585raisesOnBeforeGetTotalSalesIsHandled
  2. 589callsCalcAmountsOnPostedInvoices
  3. 590callsCalcAmountsOnPostedCrMemos
  4. 592callsCalculateAmountsOnUnpostedInvoices
  5. 593callsCalculateAmountsOnUnpostedCrMemos

GetYTDSales line 604

  1. 609callsGetTotalSales

SearchForExternalDocNo line 620

  1. 628raisesOnBeforeSearchForExternalDocNoIsHandled

CalculateShipBillToOptions line 664

  1. 672callsTable 36 Sales Header ShipToAddressEqualsSellToAddress
  2. 674callsTable 36 Sales Header ShipToAddressEqualsSellToAddress
  3. 681callsTable 36 Sales Header BillToAddressEqualsSellToAddress
  4. 683callsTable 36 Sales Header BillToAddressEqualsSellToAddress
  5. 689raisesOnAfterCalculateShipBillToOptions