Skip to content

KVSCRSCompanySelection#

Fields#

Name Type Note
Creditsafe ID Text[30]
Creditsafe SafeNumber Text[30]
Last Modification at Date
Online Report possible Boolean
Monitoring possible Boolean
Basic Report possible Boolean
Full Report possible Boolean
Name Text[151]
Type Text[30]
Status Text[30]
Register No. Text[30]
Address Text[151]
Post Code Text[30]
City Text[30]
Country Code[2]
DE Reason Code Enum (KVSCRSDEReasonCodes)
Company Type Integer
Company No. Code[20]

Procedures#

CreateContact(Record KVSCRSIDLanguage, Boolean) : Code[20]#

Summary: Creates a contact record from the selected Creditsafe company data.

procedure CreateContact(crsIDLanguage: Record "KVSCRSIDLanguage"; showAfterInsert: Boolean): Code[20]

Parameters:

  • crsIDLanguage: Language settings for the ID format
  • showAfterInsert: Whether to show the contact card after creation

Returns: The contact number of the created contact

CreateCustomer(Record KVSCRSIDLanguage, Boolean) :#

Summary: Creates a customer record from the selected Creditsafe company data.

procedure CreateCustomer(crsIDLanguage: Record "KVSCRSIDLanguage"; showAfterInsert: Boolean): 

Parameters:

  • crsIDLanguage: Language settings for the ID format
  • showAfterInsert: Whether to show the customer card after creation

CreateVendor(Record KVSCRSIDLanguage, Boolean) :#

Summary: Creates a vendor record from the selected Creditsafe company data.

procedure CreateVendor(crsIDLanguage: Record "KVSCRSIDLanguage"; showAfterInsert: Boolean): 

Parameters:

  • crsIDLanguage: Language settings for the ID format
  • showAfterInsert: Whether to show the vendor card after creation

GetReportForKnown(Variant) :#

Summary: Retrieves a credit report for a known company record.

procedure GetReportForKnown(variantRec: Variant): 

Parameters:

  • variantRec: The company record (Customer, Vendor, or Contact) to get the report for

GetReportForUnknown(Record KVSCRSIDLanguage) :#

Summary: Retrieves a credit report for an unknown company from Creditsafe data.

procedure GetReportForUnknown(var crsIDLanguage: Record "KVSCRSIDLanguage"): 

Parameters:

  • crsIDLanguage: Language settings for the report format

GetRecRefByCompanySelection(RecordRef) : Boolean#

Summary: Gets a record reference to the associated company record (Customer, Vendor, or Contact).

procedure GetRecRefByCompanySelection(var recRef: RecordRef): Boolean

Parameters:

  • recRef: The record reference that will be populated with the company record

Returns: True if a matching record was found, false otherwise