Codeunit 11 Gen. Jnl.-Check Line

Base Application, Microsoft.Finance.GeneralLedger.Journal

31 procedures

ProcedureVersions
RunCheck(var GenJnlLine: Record "Gen. Journal Line")17-29
GetErrors(var NewTempErrorMessage: Record "Error Message" temporary)17-29
DateNotAllowed(PostingDate: Date): Boolean17-29
IsDateNotAllowed(PostingDate: Date; var SetupRecordID: RecordId): Boolean17-29
SetSkipFiscalYearCheck(NewValue: Boolean)17-29
SetOverDimErr()17-29
CheckSalesDocNoIsNotUsed(var GenJournalLine: Record "Gen. Journal Line")17-29
CheckPurchDocNoIsNotUsed(var GenJournalLine: Record "Gen. Journal Line")17-29
CheckDocType(GenJnlLine: Record "Gen. Journal Line")17-29
SetBatchMode(NewBatchMode: Boolean)17-29
SetLogErrorMode(NewLogErrorMode: Boolean)17-29
IsVendorPaymentToCrMemo(GenJournalLine: Record "Gen. Journal Line"): Booleannew in 18
ErrorIfPositiveAmt(GenJnlLine: Record "Gen. Journal Line")new in 19
ErrorIfNegativeAmt(GenJnlLine: Record "Gen. Journal Line")new in 19
ThrowGenJnlLineError(GenJournalLine: Record "Gen. Journal Line"; ErrorTemplate: Text; ErrorText: Text)new in 19
CheckGenProdPostingGroupWhenAdjustForPmtDisc(GenJnlLine: Record "Gen. Journal Line")new in 19
CheckBalGenProdPostingGroupWhenAdjustForPmtDisc(GenJnlLine: Record "Gen. Journal Line")new in 19
LogTestField(SourceVariant: Variant; FieldNo: Integer)19 to 22
Pending, tag 20.0, obsolete since 20: Replaced with TestField(..., ErrorInfo.Create())
LogTestField(SourceVariant: Variant; FieldNo: Integer; ExpectedValue: Variant)19 to 22
Pending, tag 20.0, obsolete since 20: Replaced with TestField(..., ErrorInfo.Create())
LogError(SourceVariant: Variant; ErrorMessage: Text)19 to 22
Pending, tag 20.0, obsolete since 20: Replaced with Error(..., ErrorInfo.Create())
LogFieldError(SourceVariant: Variant; FieldNo: Integer; ErrorMessage: Text)19 to 22
Pending, tag 20.0, obsolete since 20: Replaced with FieldError(..., ErrorInfo.Create())
DeferralPostingDateNotAllowed(PostingDate: Date): Booleannew in 20
DateNotAllowed(PostingDate: Date; TemplateName: Code[20]): Booleannew in 20
IsDeferralPostingDateNotAllowed(PostingDate: Date; var SetupRecordID: RecordId): Booleannew in 20
IsDateNotAllowed(PostingDate: Date; var SetupRecordID: RecordId; TemplateName: Code[20]): Booleannew in 20
SetGenJnlBatch(NewGenJnlBatch: Record "Gen. Journal Batch")new in 20
internal CheckVATDateAllowed(VATDate: Date)21 to 22
internal HasVAT(var GenJnlLine: Record "Gen. Journal Line"): Booleannew in 21
internal CheckGLAccountSourceCurrency(var GLAccount: Record "G/L Account"; CurrencyCode: Code[10])new in 25
SetIgnoreJournalTemplNameMandatoryCheck()new in 26
CheckDeferralPostingAllowed(DeferralPostingAllowed: Boolean)new in 27