Table "Payment Registration Setup"
Stores user-specific configuration settings for payment registration functionality. This table manages default values and preferences for the payment registration process.
Properties
| Name | Value |
|---|---|
| Caption | Payment Registration Setup |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "User ID" | Code[50] | Specifies the user ID for whom this payment registration setup applies. Each user can have their own personalized payment registration configuration. |
| "Journal Template Name" | Code[10] | Specifies the general journal template used for payment registration posting. Determines the template structure and defaults for payment journal entries. |
| "Journal Batch Name" | Code[10] | Specifies the general journal batch used for payment registration posting. Works in conjunction with the journal template to define posting behavior. |
| "Bal. Account Type" | Option | Specifies the type of balancing account used for payment registration entries. Determines whether payments are balanced against G/L accounts or bank accounts. |
| "Bal. Account No." | Code[20] | Specifies the number of the balancing account used for payment registration entries. Must correspond to an account of the type specified in the Bal. Account Type field. |
| "Use this Account as Def." | Boolean | Specifies whether this account setup should be used as the default for payment registration. When enabled, the balancing account settings are automatically applied. |
| "Auto Fill Date Received" | Boolean | Specifies whether the Date Received field should be automatically filled during payment registration. When enabled, the current date is automatically inserted when marking payments as received. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
GetGLBalAccountType
Retrieves the corresponding general journal line balance account type for the setup. Converts the setup's balance account type to the format used in general journal lines.
procedure GetGLBalAccountType(): Integer
Returns
| Type | Description |
|---|---|
| Integer |
Integer value corresponding to the general journal line balance account type. |
ValidateMandatoryFields
Validates that all mandatory fields for payment registration setup are populated. Ensures the setup is complete and ready for use in payment registration operations.
procedure ValidateMandatoryFields(ShowError: Boolean): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| ShowError | Boolean |
If true, shows error messages for missing fields; if false, returns validation status silently. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if all mandatory fields are populated, false otherwise. |
Events
OnBeforeValidateMandatoryFields
Integration event that fires before validating mandatory fields in payment registration setup. Subscribers can handle the validation process themselves and set IsHandled to true to skip the standard validation.
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateMandatoryFields(var PaymentRegistrationSetup: Record "Payment Registration Setup", ShowError: Boolean, var Result: Boolean, var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentRegistrationSetup | Table Microsoft.Bank.Payment."Payment Registration Setup" |
The payment registration setup record being validated. |
| ShowError | Boolean |
If true, shows error messages for missing fields; if false, returns validation status silently. |
| Result | Boolean |
The result of the validation process, to be returned if IsHandled is true. |
| IsHandled | Boolean |
Set to true if the event has been handled and the standard validation should be skipped. |