LoadInfoFromCVR

From TempusServa wiki
Revision as of 15:38, 15 December 2022 by Tvi (talk | contribs) (Created page with "== What is it? == 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. == How to set up == 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 (re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What is it?

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.

How to set up

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 compoany type code of the company