KVSCRSCountry
Summary: Stores the countries that are supported by the Creditsafe service together with the services that are available for each of them (online report, monitoring, basic report and full report). The records are retrieved from the Creditsafe service and are mapped to the Business Central countries/regions, so that a request can be sent with the correct Creditsafe country code.
Fields
| Name | Type | Note |
|---|---|---|
| Creditsafe Code | Code[2] | |
| Online Report possible | Boolean | |
| Monitoring possible | Boolean | |
| Basic Report possible | Boolean | |
| Full Report possible | Boolean | |
| Creditsafe API Name | Text[100] | |
| Preferred Language | Code[2] | |
| Country Code | Code[10] | |
| Country Name | Text[50] | FlowField |
Procedures
RefreshCountries() :
Summary: Refreshes Creditsafe country references.
procedure RefreshCountries():
Remarks: Retrieves the latest country configuration from Creditsafe so the table stays aligned with the external service.
GetBCCountryByCreditsafeCountry(Code[2]) : Code[10]
Summary: Gets the Business Central country code for a Creditsafe country.
procedure GetBCCountryByCreditsafeCountry(CrsCountryCode: Code[2]): Code[10]
Parameters:
CrsCountryCode: Creditsafe country code to be translated to Business Central country code
Returns: Business Central country code corresponding to the given Creditsafe country code, or an empty string if not found
Remarks: Provides the mapping so other processes can translate Creditsafe identifiers to Business Central country codes.