Codeunit 1801 Company Setup Service
Source AL, 35 lines
src/Layers/W1/BaseApp/Utilities/CompanySetupService.Codeunit.allines 9 to 24 of 35, Copyright (c) Microsoft Corporation. MIT
codeunit 1801 "Company Setup Service"{ trigger OnRun() begin end; procedure ConfigureCompany(Name: Text[50]; Address: Text[50]; Address2: Text[50]; City: Text[30]; County: Text[30]; PostCode: Code[20]; CountryCode: Code[10]; PhoneNo: Text[30]): Boolean var CompanyInformation: Record "Company Information"; begin CompanyInformation.LockTable(); if not CompanyInformation.Get() then CompanyInformation.Insert(); CompanyInformation.Name := Name; CompanyInformation.Address := Address;Public procedures 1 in 29
| Configure | 17-29 |