codeunitAdministration & Setupofficial - Microsoftderived - from the source, no model text

Codeunit 5700 "User Setup Management"

Base Application · System.Security.User

Across versions

  1. BC23present
  2. BC241 procedures added
  3. BC252 events added
  4. BC26-27unchanged
  5. BC281 procedures added
  6. BC29-30unchanged

Neighbourhood 75 connected objects and pages

Table 5900 "Service Header" (calls, 8 links)Service HeaderCodeunit 99 "Posting Selection Management" (calls, 7 links)Posting Selection ManagementTable 36 "Sales Header" (calls, 6 links)Table 38 "Purchase Header" (calls, 5 links)Purchase HeaderTable 5965 "Service Contract Header" (calls, 4 links)Table 91 "User Setup" (calls, 4 links)User SetupCodeunit 5940 "ServContractManagement" (calls, 3 links)Table 83 "Item Journal Line" (calls, 3 links)Item Journal LineTable 98 "General Ledger Setup" (calls, 3 links)Codeunit 11 "Gen. Jnl.-Check Line" (calls, 2 links)Gen. Jnl.-Check LineCodeunit 5957 "Serv. Posting Selection Mgt." (calls, 2 links)Serv. Posting Selection Mgt.Codeunit 1011 "Job Jnl.-Check Line" (calls)Job Jnl.-Check LineCodeunit 21 "Item Jnl.-Check Line" (calls)Item Jnl.-Check LineCodeunit 211 "Res. Jnl.-Check Line" (calls)Codeunit 432 "Consolidate" (calls)ConsolidateCodeunit 5995 "Service Warehouse Mgt." (calls)Service Warehouse Mgt.Codeunit 7251 "Bank Acc. Rec. Trans. to Acc." (calls)Bank Acc. Rec. Trans. to Acc.Codeunit 799 "VAT Reporting Date Mgt" (calls)Page 41 "Sales Quote" (calls)Sales QuotePage 42 "Sales Order" (calls)Page 43 "Sales Invoice" (calls)Sales InvoicePage 44 "Sales Credit Memo" (calls)Page 49 "Purchase Quote" (calls)Page 50 "Purchase Order" (calls)Page 507 "Blanket Sales Order" (calls)Page 509 "Blanket Purchase Order" (calls)Page 51 "Purchase Invoice" (calls)Page 52 "Purchase Credit Memo" (calls)Page 5900 "Service Order" (calls)Page 5933 "Service Invoice" (calls)Page 5935 "Service Credit Memo" (calls)Page 5964 "Service Quote" (calls)Page 6050 "Service Contract" (calls)Page 6053 "Service Contract Quote" (calls)Page 6234 "Sustainability Goals" (calls)Page 6630 "Sales Return Order" (calls)Page 6640 "Purchase Return Order" (calls)Page 7252 "Trans. To GL Acc. AI Proposal" (calls)Report 202 "Sales Document - Test" (calls)Report 317 "Vendor Pre-Payment Journal" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.Security.User · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData Location = r, TableData “Responsibility Center” = r

Events published

  • OnAfterGetPurchFilter(var UserSetup: Record "User Setup"; var UserRespCenter: Code[10]; var UserLocation: Code[10]) (integration)
  • OnAfterGetSalesFilter(var UserSetup: Record "User Setup"; var UserRespCenter: Code[10]; var UserLocation: Code[10]) (integration)
  • OnAfterGetServiceFilter(var UserSetup: Record "User Setup"; var UserRespCenter: Code[10]; var UserLocation: Code[10]) (integration)
  • OnAfterGetSalesFilterProcedure(UserCode: Code[50]; Result: Code[10]) (integration)
  • OnAfterGetPurchasesFilter(UserCode: Code[50]; Result: Code[10]) (integration)
  • OnAfterGetServiceFilterProcedure(UserCode: Code[50]; Result: Code[10]) (integration)
  • OnBeforeCheckRespCenter2(DocType: Option Sales,Purchase,Service; AccRespCenter: Code[10]; UserCode: Code[50]; var IsHandled: Boolean; var Result: Boolean) (integration)
  • OnBeforeGetLocation(DocType: Option Sales,Purchase,Service; AccLocation: Code[10]; RespCenterCode: Code[10]; var LocationCode: Code[10]; var IsHandled: Boolean) (integration)
  • OnBeforeGetRespCenter(DocType: Option Sales,Purchase,Service; AccRespCenter: Code[10]; var IsHandled: Boolean; var UserRespCenter: Code[10]) (integration)
  • OnBeforeGetSalesFilter(UserCode: Code[50]; var UserLocation: Code[10]; var UserRespCenter: Code[10]; var IsHandled: Boolean) (integration)
  • OnBeforeIsPostingDateValidWithSetup(PostingDate: Date; var Result: Boolean; var IsHandled: Boolean; var SetupRecordID: RecordID) (integration)
  • OnBeforeIsDeferralPostingDateValidWithSetup(PostingDate: Date; var Result: Boolean; var IsHandled: Boolean; var SetupRecordID: RecordID) (integration)
  • OnBeforeIsVATDateValidWithSetup(VATDate: Date; var Result: Boolean; var IsHandled: Boolean; var SetupRecordID: RecordID; var FieldNo: Integer) (integration)
  • OnAfterGetSalesInvoicePostingPolicy(var UserSetup: Record "User Setup"; var PostQty: Boolean; var PostAmount: Boolean) + BC25 (integration)
  • OnAfterGetPurchaseInvoicePostingPolicy(var UserSetup: Record "User Setup"; var PostQty: Boolean; var PostAmount: Boolean) + BC25 (integration)

Procedures

  • GetSalesFilter(): Code[10]
  • GetPurchasesFilter(): Code[10]
  • GetServiceFilter(): Code[10]
  • GetSalesFilter(UserCode: Code[50]): Code[10]
  • GetPurchasesFilter(UserCode: Code[50]): Code[10]
  • GetServiceFilter(UserCode: Code[50]): Code[10]
  • GetRespCenter(DocType: Option Sales,Purchase,Service; AccRespCenter: Code[10]): Code[10]
  • CheckRespCenter(DocType: Option Sales,Purchase,Service; AccRespCenter: Code[10]): Boolean
  • CheckRespCenter(DocType: Option Sales,Purchase,Service; AccRespCenter: Code[10]; UserCode: Code[50]): Boolean
  • GetLocation(DocType: Option Sales,Purchase,Service; AccLocation: Code[10]; RespCenterCode: Code[10]): Code[10]
  • CheckAllowedPostingDate(PostingDate: Date)
  • TestAllowedPostingDate(PostingDate: Date; var ErrorText: Text[250]): Boolean
  • CheckAllowedVATDatesRange(AllowVATDateFrom: Date; AllowVATDateTo: Date; NotificationType: Option Error,Notification; InvokedBy: Integer)
  • CheckAllowedPostingDatesRange(AllowPostingFrom: Date; AllowPostingTo: Date; NotificationType: Option Error,Notification; InvokedBy: Integer)
  • CheckAllowedPostingDatesRange(AllowPostingFrom: Date; AllowPostingTo: Date; NotificationType: Option Error,Notification; InvokedBy: Integer; AllowPostingFromCaption: Text; AllowPostingToCaption: Text)
  • CheckAllowedVATDatesRange(AllowPostingFrom: Date; AllowPostingTo: Date; NotificationType: Option Error,Notification; InvokedBy: Integer; AllowVATFromCaption: Text; AllowVATToCaption: Text)
  • IsVATDateInAllowedPeriod(VATDate: Date; var SetupRecordID: RecordID; var FieldNo: Integer): Boolean
  • IsPostingDateValid(PostingDate: Date): Boolean
  • IsPostingDateValidWithSetup(PostingDate: Date; var SetupRecordID: RecordID): Boolean
  • IsDeferralPostingDateValidWithSetup(PostingDate: Date; var SetupRecordID: RecordID): Boolean
  • IsPostingDateValidWithGenJnlTemplate(PostingDate: Date; TemplateName: Code[20]): Boolean
  • IsPostingDateValidWithGenJnlTemplateWithSetup(PostingDate: Date; TemplateName: Code[20]; var SetupRecordID: RecordID): Boolean
  • GetDateRange(var AllowFrom: Date; var AllowTo: Date; AllowFromDateFormula: DateFormula; AllowToDateFormula: DateFormula; SetupRecordID: RecordID) + BC28
  • GetSalesInvoicePostingPolicy(var PostQty: Boolean; var PostAmount: Boolean)
  • GetPurchaseInvoicePostingPolicy(var PostQty: Boolean; var PostAmount: Boolean)
  • GetServiceInvoicePostingPolicy(var Ship: Boolean; var Consume: Boolean; var Invoice: Boolean) + BC24

Plus 1 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "User Setup Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources