Table "Payment Reporting Argument"

ID 1062
Namespace: Microsoft.Bank.Setup

Temporary table for passing payment service arguments and configuration data. Used for communication between payment processing and external payment service providers.

Remarks

Supports integration with PayPal, Microsoft Wallet, WorldPay, and other payment services. Contains logos, URLs, and service-specific configuration for payment provider integration.

Properties

Name Value
Caption Payment Reporting Argument
Permissions TableData "Payment Reporting Argument" = rimd
ReplicateData False
TableType Temporary
DataClassification CustomerContent

Fields

Name Type Description
"Key" Integer

Auto-incrementing unique identifier for each payment reporting argument record.

"Document Record ID" RecordId

Record ID of the source document being processed for payment. Links the payment argument to the originating transaction record.

"Setup Record ID" RecordId

Record ID of the payment setup configuration being used. References the payment service setup that defines processing parameters.

Logo Blob

Payment service provider logo stored as binary data. Used for branding in payment forms and customer communications.

"URL Caption" Text[250]

Display caption for the payment service URL link. Shown to users as the clickable text for payment service access.

"Target URL" Blob

Target URL for the payment service stored as binary data. Contains the actual web address for payment processing.

"Language Code" Code[10]

Language code for localization of payment service interface. Determines the language used in payment provider communications.

"Payment Service ID" Integer

Identifier for the specific payment service provider. Maps to predefined payment service types (PayPal, Microsoft Wallet, WorldPay).

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

GetTargetURL

Retrieves the target URL from the BLOB field as a text string. Extracts the payment service URL for use in web requests and redirects.

procedure GetTargetURL(): Text

Returns

Type Description
Text

The target URL as a text string, or empty string if no URL is stored

SetTargetURL

Sets the target URL by storing it in the BLOB field after validation. Validates that the URL is properly formatted and uses HTTP/HTTPS protocol.

procedure SetTargetURL(ServiceURL: Text)

Parameters

Name Type Description
ServiceURL Text

The payment service URL to store

TrySetTargetURL

Attempts to set the target URL with error handling. Returns success/failure status without throwing exceptions.

[TryFunction]
procedure TrySetTargetURL(ServiceURL: Text): Boolean

Parameters

Name Type Description
ServiceURL Text

The payment service URL to store

Returns

Type Description
Boolean

True if URL was successfully set, false if validation failed

GetCurrencyCode

Returns the currency code, defaulting to local currency if not specified. Ensures a valid currency code is always available for payment processing.

procedure GetCurrencyCode(CurrencyCode: Code[10]): Code[10]

Parameters

Name Type Description
CurrencyCode Code[10]

Input currency code that may be empty

Returns

Type Description
Code[10]

The input currency code if specified, otherwise the local currency code

GetPayPalServiceID

Returns the service identifier for PayPal payment processing. Used to identify PayPal as the selected payment service provider.

procedure GetPayPalServiceID(): Integer

Returns

Type Description
Integer

Integer identifier for PayPal service

GetMSWalletServiceID

Returns the service identifier for Microsoft Wallet payment processing. Used to identify Microsoft Wallet as the selected payment service provider.

procedure GetMSWalletServiceID(): Integer

Returns

Type Description
Integer

Integer identifier for Microsoft Wallet service

GetWorldPayServiceID

Returns the service identifier for WorldPay payment processing. Used to identify WorldPay as the selected payment service provider.

procedure GetWorldPayServiceID(): Integer

Returns

Type Description
Integer

Integer identifier for WorldPay service

GetPayPalLogoFile

Returns the filename for the PayPal logo image resource. Used for displaying PayPal branding in payment interfaces.

procedure GetPayPalLogoFile(): Text

Returns

Type Description
Text

Filename of the PayPal logo image

GetMSWalletLogoFile

Returns the filename for the Microsoft Wallet logo image resource. Used for displaying Microsoft branding in payment interfaces.

procedure GetMSWalletLogoFile(): Text

Returns

Type Description
Text

Filename of the Microsoft Wallet logo image

GetWorldPayLogoFile

Returns the filename for the WorldPay logo image resource. Used for displaying WorldPay branding in payment interfaces.

procedure GetWorldPayLogoFile(): Text

Returns

Type Description
Text

Filename of the WorldPay logo image

See also