Table "Payment Jnl. Export Error Text"
Stores error messages and details that occur during payment journal export operations. This table provides detailed error tracking for payment file generation and validation processes.
Properties
| Name | Value |
|---|---|
| Caption | Payment Jnl. Export Error Text |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Journal Template Name" | Code[10] | Specifies the name of the journal template associated with the payment export error. This field links the error to a specific journal template configuration. |
| "Journal Batch Name" | Code[10] | Specifies the name of the journal batch associated with the payment export error. This field links the error to a specific batch within the journal template. |
| "Journal Line No." | Integer | Specifies the line number of the journal line that caused the export error. This field identifies the specific journal line where the error occurred. |
| "Line No." | Integer | Specifies the sequential line number for multiple errors related to the same journal line. This field allows multiple error messages to be stored for a single journal line. |
| "Error Text" | Text[250] | Contains the error message text describing the payment export error. This field provides detailed information about what went wrong during the export process. |
| "Document No." | Code[20] | Specifies the document number associated with the journal line that caused the error. This field helps identify the specific document involved in the export error. |
| "Additional Information" | Text[250] | Contains additional information about the payment export error. This field provides supplementary details that may help in resolving the error. |
| "Support URL" | Text[250] | Contains a URL to external support resources related to the payment export error. This field provides a link to help documentation or support sites for error resolution. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
CreateNew
Creates a new payment export error record for a general journal line. This procedure adds error information to help track and resolve payment export issues.
procedure CreateNew(GenJnlLine: Record "Gen. Journal Line", NewText: Text, NewAddnlInfo: Text, NewExtSupportInfo: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line associated with the error. |
| NewText | Text |
The error message text. |
| NewAddnlInfo | Text |
Additional information about the error. |
| NewExtSupportInfo | Text |
External support URL for error resolution. |
JnlLineHasErrors
Checks whether a specific general journal line has payment export errors.
procedure JnlLineHasErrors(GenJnlLine: Record "Gen. Journal Line"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line to check for errors. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if the journal line has errors, false otherwise. |
JnlBatchHasErrors
Checks whether a journal batch has payment export errors.
procedure JnlBatchHasErrors(GenJnlLine: Record "Gen. Journal Line"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line to identify the batch to check. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if the journal batch has errors, false otherwise. |
DeleteJnlLineErrors
Deletes all payment export errors associated with a specific general journal line.
procedure DeleteJnlLineErrors(GenJnlLine: Record "Gen. Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line whose errors should be deleted. |
DeleteJnlBatchErrors
Deletes all payment export errors associated with a journal batch.
procedure DeleteJnlBatchErrors(GenJnlLine: Record "Gen. Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line to identify the batch whose errors should be deleted. |
DeleteJnlLineErrorsWhenRecDeleted
Deletes payment export errors for a journal line when the record is being deleted. This procedure is used during cleanup operations to maintain data integrity.
procedure DeleteJnlLineErrorsWhenRecDeleted(GenJnlLine: Record "Gen. Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line being deleted. |
JnlLineHasErrorsWhenRecDeleted
Checks whether a general journal line has payment export errors when the record is being deleted. This procedure is used to verify error existence during cleanup operations.
procedure JnlLineHasErrorsWhenRecDeleted(GenJnlLine: Record "Gen. Journal Line"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
The general journal line being deleted. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if the journal line has errors, false otherwise. |