Skip to main content

LoadInfoFromCVR

What it does

A codeunit that does a lookup via danish CVR register and updates the given fields of the record.

Only the configurations that are set will be updated, allowing for fetching of specific fields.

First setup

Add a status action and set the codeunit Classname to: dk.tempusserva.codeunit.common.LoadInfoFromCVR

Set the following entity configurations

  • LoadInfoFromCVR.LookupField Field SYSTEMNAME containing the CVR to be looked up (required)
  • LoadInfoFromCVR.NameField Field SYSTEMNAME for the field to be populated with the name of the company
  • LoadInfoFromCVR.AddressField Field SYSTEMNAME for the field to be populated with the streetname and number of the company
  • LoadInfoFromCVR.PostalcodeField Field SYSTEMNAME for the field to be populated with the zip/postal code of the company
  • LoadInfoFromCVR.CityField Field SYSTEMNAME for the field to be populated with the cityname of the company
  • LoadInfoFromCVR.EmailField Field SYSTEMNAME for the field to be populated with the email of the company
  • LoadInfoFromCVR.PhoneField Field SYSTEMNAME for the field to be populated with the phonenumber of the company
  • LoadInfoFromCVR.FaxField Field SYSTEMNAME for the field to be populated with the fax of the company
  • LoadInfoFromCVR.EmployeeCountField Field SYSTEMNAME for the field to be populated with the employee count of the company
  • LoadInfoFromCVR.IndustryCodeField Field SYSTEMNAME for the field to be populated with the industry code of the company
  • LoadInfoFromCVR.CompanyCodeField Field SYSTEMNAME for the field to be populated with the company type code of the company

How to invoke

[Steps to enable codeunit]

Options

[Optional options, that can be set at runtime, eg. url-parameters]

Configuration

[All possible configurations and where to edit them]

Developer info

  • Type: CodeunitFormevents
  • Security: [eg. requires admin or session]
  • Classpath: dk.tempusserva.codeunit.common.LoadInfoFromCVR