Execute a Credit Enquiry request.

This is a shortcut to Service('ServiceId').ExecuteISCreditEnquiryRequest but will not cause an error if ServiceId is not valid.

Syntax

finCreditBureau.ExecuteCreditEnquiry(request, response, [serviceLogCreateDetails], [createLogs], [workflowPk], [workflowItemPk], [executePostFailed], [clientLogPk], [accountAppLogPk], [getDocuments])

Parameters

NameTypeOptionalByRefDescription
request ISCreditEnquiryRequest Request information.
response ISCreditEnquiryResponse ByRef The Response.
serviceLogCreateDetails ISServiceLogCreateDetails Optional ByRef Details to use when creating a Service Log. This will be updated with the Primary Key of the Service Log record that was created. If omitted, a value of Nothing is assumed.
createLogs Boolean Optional Indicates whether to create a Client and/ or Account Application Log to record the Credit Enquiry (only if the request specifies a ClientId or AccountAppId and AccountAppApplicantPk). If omitted, a value of False is assumed.
workflowPk Integer Optional The primary key of the Workflow to link the Client Log to. If omitted, a value of 0 is assumed.
workflowItemPk Integer Optional The primary key of the Workflow Item to link the Client Log to. If omitted, a value of 0 is assumed.
executePostFailed Boolean Optional ByRef Returns True is the "ExecuteCreditEnquiryPost" event script fails. If omitted, a value of False is assumed.
clientLogPk Integer Optional ByRef The primary key of the Client Log created (a Client Log will not be created if an Account Application Log is able to be created). If omitted, a value of 0 is assumed.
accountAppLogPk Integer Optional ByRef The primary key of the Account Application Log that was created to record the Credit Enquiry. If omitted, a value of 0 is assumed.
getDocuments Boolean Optional ByRef Returns True if related Documents were also successfully retrieved. Note, only applies to some Services/ Products. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finCreditBureau
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0