Id: | 12919 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 2.03.00 |
Opened: | 15/05/2015 |
Closed: | 25/05/2015 |
Released: | 09/07/2015 |
Job: | J015476 |
![]() |
|
![]() |
Credit Enquiries; changes to Summary Page function parameters
When generating the Summary Page for Credit Enquiries finPOWER Connect was passing the Credit Enquiry Response object to the script.
This has changed so only the primary key of the Service Log involved is passed through. This allows more flexibility for the future where more complicated scenarios are involved, e.g. where a Credit Enquiry involves a multi-step process.
If you have customised the script that generates Credit Enquiry Summary Pages, you will need to make a small change to the script code, as the script is now passed the ServiceLogPk instead of the Response in the "source" parameter. This means the following code needs to be added at the start of the Main function (this converts the ServiceLogPk into a Response object), and the two lines shown commented out:
' Get Credit Enquiry Response
Try
finBL.CreditBureau.GetCreditEnquiryResponseFromServiceLogPk(CInt(source), Response)
Catch ex As Exception
finBL.Error.ErrorBeginFromException(ex)
Return False
End Try
' ' Get Response
' Response = DirectCast(source, ISCreditEnquiryResponse)
In addition the following Business Layer changes have been made that might affect your script code:
finCreditBureau
Deleted GetCreditEnquiryHtmlFromResponse
finSummaryPageFunctions
Public Function CreditEnquiryReport(forceBuiltIn As Boolean, response As ISCreditBureau2.ISCreditEnquiryResponse, target As iseSummaryPageTarget) As String
is now
Public Function CreditEnquiryReport(forceBuiltIn As Boolean, serviceLogPk As Integer, target As iseSummaryPageTarget) As String
Public Function CreditEnquiryReport(forceBuiltIn As Boolean, response As ISCreditBureau2.ISCreditEnquiryResponse, scriptContextData As ISKeyValueList) As String
is now
Public Function CreditEnquiryReport(forceBuiltIn As Boolean, serviceLogPk As Integer, scriptContextData As ISKeyValueList) As String
The following built-in summary pages have been updated:
- "SummaryPage_CreditEnquiryReport_ABNLookup" has been updated to version 1.02 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_CentrixNZ" has been updated to version 1.23 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_CompaniesOfficeNZ" has been updated to version 1.02 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_CreditWorksNZ" has been updated to version 1.04 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_DBConsumer" has been updated to version 1.02 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_GreenId" has been updated to version 1.03 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_VedaXMLAU" has been updated to version 1.07 on 22/05/2015.
- "SummaryPage_CreditEnquiryReport_VedaXMLNZ" has been updated to version 1.19 on 22/05/2015.
- "SummaryPage2_CreditEnquiryReport_VedaConnectAU" has been updated to version 1.00 on 22/05/2015.