localization · BC29official - Microsoftreviewed - checked by Opus

Spain (ES)

Spain (ES) localization of Business Central 29. It covers the Cartera module (bills, bill groups, payment orders), SII VAT reporting, VAT reports 340/347/349, equivalence charges, CCC bank codes, AEB electronic payment files, due date limits and local ledger reporting. Use it for questions on Spanish tax, banking and collection features.

What ES changes in W1 145 objects, BC29

codeunit/12 "Gen. Jnl.-Post Line" +85, 4 changed, 6 removed
  • +local event OnBeforeCheckCarteraCustUnrealizedVAT(var VATEntry: Record "VAT Entry"; var CustLedgerEntry4: Record "Cust. Ledger Entry"; var CustLedgerEntry3: Record "Cust. Ledger Entry"; var CustLedgerEntry2: Record "Cust. Ledger Entry" temporary; CarteraDoc: Record "Cartera Doc."; PostedCarteraDoc: Record "Posted Cartera Doc."; ClosedCarteraDoc: Record "Closed Cartera Doc."; var IsHandled: Boolean)
  • +local event OnBeforeCheckCarteraVendUnrealizedVAT(var VATEntry: Record "VAT Entry"; var VendLedgerEntry4: Record "Vendor Ledger Entry"; var VendLedgerEntry3: Record "Vendor Ledger Entry"; var VendLedgerEntry2: Record "Vendor Ledger Entry" temporary; CarteraDoc: Record "Cartera Doc."; PostedCarteraDoc: Record "Posted Cartera Doc."; ClosedCarteraDoc: Record "Closed Cartera Doc."; var IsHandled: Boolean)
  • +local event OnBeforeFindFirstPurchInvoiceLine(var PurchInvLine: Record "Purch. Inv. Line"; var VendLedgEntry4: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
  • +local event OnAfterCheckCarteraPostDtldCustLE(GenJournalLine: Record "Gen. Journal Line"; DtldCustLedgEntry3: Record "Detailed Cust. Ledg. Entry"; var IsOk: Boolean)
  • +local event OnAfterCheckCarteraPostDtldVendLE(GenJournalLine: Record "Gen. Journal Line"; DtldVendLedgEntry3: Record "Detailed Vendor Ledg. Entry"; var IsOk: Boolean)
  • +local event OnAfterInitGLRegisterFromContinuePosting(var GLRegister: Record "G/L Register"; GenJournalLine: Record "Gen. Journal Line")
  • +local event OnBeforeIsCustBillDoc(CustLedgerEntry: Record "Cust. Ledger Entry"; var IsBillDoc: Boolean; var IsHandled: Boolean)
  • +local event OnBeforeIsVendBillDoc(UnrealVendLedgEntry: Record "Vendor Ledger Entry"; var IsBillDoc: Boolean; var IsHandled: Boolean)
  • +local event OnBeforeCreateGLEntriesForTotalAmountsV19(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; GenJournalLine: Record "Gen. Journal Line"; var GLAccNo: Code[20]; var IsHandled: Boolean; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer)
  • +local event OnBeforeGetGLAccountForReceivableDocs(GenJournalLine: Record "Gen. Journal Line"; CustPostingGr: Record "Customer Posting Group"; DocAmountLCY: Decimal; var AccountNo: Code[20]; var IsHandled: Boolean)
  • +local event OnBeforeGetGLAccountForPayablesDocs(GenJournalLine: Record "Gen. Journal Line"; VendPostingGr: Record "Vendor Posting Group"; DocAmountLCY: Decimal; var AccountNo: Code[20]; var IsHandled: Boolean)
  • +local event OnBeforeUpdateReceivableDocForNewCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +local event OnBeforeUpdatePayableDocForNewVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var VendorLedgerEntry: Record "Vendor Ledger Entry")
  • +local event OnAfterUpdateReceivableDocForNewCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +local event OnAfterUpdatePayableDocForNewVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var VendorLedgerEntry: Record "Vendor Ledger Entry")
  • +local event OnInsertVATOnAfterCopyVATPostingSetupFields(var VATPostingSetup: Record "VAT Posting Setup"; var VATEntry: Record "VAT Entry")
  • +local event OnPostCustOnBeforeApplyCustLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var FromBillSettlement: Boolean)
  • +local event OnPostVendOnBeforeApplyVendLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var FromBillSettlement: Boolean)
  • +local event OnCustUnrealizedVATOnAfterSetBillDoc(var CustLedgerEntry: Record "Cust. Ledger Entry"; var VATEntry: Record "VAT Entry")
  • +local event OnAfterGetVendCarteraAccountNo(GenJournalLine: Record "Gen. Journal Line"; VendorPostingGroup: Record "Vendor Posting Group"; var AccountNo: Code[20])
  • +local event OnAfterGetSellToBuyFrom(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line")
  • +local event OnCustFindVATSetupOnBeforeErrorMessage(var ErrorMessage: Boolean; var ExistsVATNoReal: Boolean)
  • +local event OnVendFindVATSetupOnBeforeErrorMessage(var ErrorMessage: Boolean; var ExistsVATNoReal: Boolean)
  • +local event OnVendFindVATSetupOnAfterPurchLine2Loop(PurchLine2: Record "Purch. Inv. Line"; var ProdPostingGroup: Code[20]; var ErrorMessage: Boolean; var ExistsVATNoReal: Boolean)
  • +local event OnPostDtldCustLedgEntriesOnAfterAssignReceivablesAccount(GenJnlLine: Record "Gen. Journal Line"; CustomerPostingGroup: Record "Customer Posting Group"; var AccNo: Code[20])
  • +local event OnBeforeVendFindVATSetup(var VATPostingSetup: Record "VAT Posting Setup"; VendorLedgerEntry4: Record "Vendor Ledger Entry"; IsFromJournal: Boolean; var ExistsVATNoReal: Boolean; var IsHandled: Boolean)
  • +local event OnAfterSendDocToCartera(var GenJnlLine: Record "Gen. Journal Line"; var VendLedgEntry: Record "Vendor Ledger Entry"; var CustLedgEntry: Record "Cust. Ledger Entry"; DocType: Option Sale,Purchase; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
  • +local procedure InitGLRegisterFromContinuePosting(GenJnlLine: Record "Gen. Journal Line")
  • +local procedure UpdateReceivableDocForNewCustLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCustLedgEntry: Record "Cust. Ledger Entry")
  • +local procedure ResetDocAmountsForMultiplePostingGroups()
  • +local procedure CheckCarteraCustUnrealizedVAT(var VATEntry2: Record "VAT Entry"; var CustLedgEntry2: Record "Cust. Ledger Entry"; var CustLedgEntry3: Record "Cust. Ledger Entry"; var CustLedgEntry4: Record "Cust. Ledger Entry"; Doc: Record "Cartera Doc."; ClosedDoc: Record "Closed Cartera Doc."; PostedDoc: Record "Posted Cartera Doc."; FromDocInPostedBillGr: Boolean; var FromDoc: Boolean)
  • +local procedure UpdatePayableDocForNewVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewVendLedgEntry: Record "Vendor Ledger Entry")
  • +local procedure GetVendorFromClosedDoc(var VendorLedgerEntry: Record "Vendor Ledger Entry"): Boolean
  • +local procedure GetCustomerFromClosedDoc(var CustLedgerEntry: Record "Cust. Ledger Entry"): Boolean
  • +local procedure GetVendCarteraAccountNo(GenJnlLine: Record "Gen. Journal Line"; VendPostingGr: Record "Vendor Posting Group"): Code[20]
  • +local procedure IsApplnEntryForAppliedVendorDoc(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"): Boolean
  • +local procedure IsInvoicestoCartera(PaymentMethodCode: Code[10]): Boolean
  • +local procedure CheckCarteraVendUnrealizedVAT(var VATEntry2: Record "VAT Entry"; var VendLedgEntry2: Record "Vendor Ledger Entry"; var VendLedgEntry3: Record "Vendor Ledger Entry"; var VendLedgEntry4: Record "Vendor Ledger Entry"; Doc: Record "Cartera Doc."; ClosedDoc: Record "Closed Cartera Doc."; PostedDoc: Record "Posted Cartera Doc."; FromDocInPostedPmtOrd: Boolean)
  • +local procedure UpdateCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; GenJnlLine: Record "Gen. Journal Line")
  • +local procedure UpdateVendLedgEntry(DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; GenJnlLine: Record "Gen. Journal Line")
  • +procedure GetSellToBuyFrom(GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry")
  • +local procedure PostPayableDocs(GenJnlLine: Record "Gen. Journal Line"; VendPostingGr: Record "Vendor Posting Group")
  • +local procedure PostReceivableDocs(GenJnlLine: Record "Gen. Journal Line"; CustPostingGr: Record "Customer Posting Group"; var SaveEntryNo: Integer)
  • +procedure DocAmtCalcAddCurrency(GenJnlLine: Record "Gen. Journal Line"; Amount: Decimal): Decimal
  • +procedure SendDocToCartera(GenJnlLine3: Record "Gen. Journal Line"; var VendLedgEntry4: Record "Vendor Ledger Entry"; var CustLedgEntry4: Record "Cust. Ledger Entry"; DocType: Option Sale,Purchase; var CVLedgEntryBuf4: Record "CV Ledger Entry Buffer")
  • +procedure VendFindVATSetup(var VATSetup: Record "VAT Posting Setup"; VendLedgEntry4: Record "Vendor Ledger Entry"; IsFromJournal: Boolean): Boolean
  • +local procedure FindFirstPurchInvoiceLine(var PurchInvLine: Record "Purch. Inv. Line"; var VendLedgEntry4: Record "Vendor Ledger Entry")
  • +procedure CustFindVATSetup(var VATSetup: Record "VAT Posting Setup"; CustLedgEntry4: Record "Cust. Ledger Entry"; IsFromJournal: Boolean): Boolean
  • +procedure SetFromSettlement(FromBillSettlement2: Boolean)
  • +procedure SetIDBillSettlement(IDBillSettlement2: Boolean)
  • +procedure SetBillFromJournal(BillFromJournal2: Boolean)
  • +procedure SetIDInvoiceSettlement(IDInvoiceSettlement2: Boolean)
  • +procedure UpdateCustLedgEntryStats(CustLedgEntryNo: Integer)
  • +procedure UpdateVendLedgEntryStats(VendLedgEntryNo: Integer)
  • +procedure UpdateEmplLedgEntryStats(EmplLedgEntryNo: Integer)
  • +local procedure CheckCarteraPostDtldCustLE(GenJnlLine2: Record "Gen. Journal Line"; DtldCustLedgEntry3: Record "Detailed Cust. Ledg. Entry"; ReceivableAccAmtLCY: Decimal; ReceivableAccAmtAddCurr: Decimal; CreateBills: Boolean): Boolean
  • +local procedure CheckCarteraPostDtldVendLE(GenJnlLine2: Record "Gen. Journal Line"; DtldVendLedgEntry3: Record "Detailed Vendor Ledg. Entry"; PayableAccAmtLCY: Decimal; PayableAccAmtAddCurr: Decimal; CreateBills: Boolean): Boolean
  • +procedure IsOriginalEntryExist(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +procedure SetTotalAmountForTax(TotalAmountForTax2: Decimal)
  • +local procedure GetVendOriginalAmtLCY(UnrealVendLedgEntry: Record "Vendor Ledger Entry"; BillVendLedgEntry: Record "Vendor Ledger Entry"; InvVendLedgEntry: Record "Vendor Ledger Entry"): Decimal
  • +local procedure GetCustOriginalAmtLCY(UnrealCustLedgEntry: Record "Cust. Ledger Entry"; BillCustLedgEntry: Record "Cust. Ledger Entry"; InvCustLedgEntry: Record "Cust. Ledger Entry"): Decimal
  • +local procedure GetVendSettledAmount(SettledAmt: Decimal; UnrealVendLedgEntry: Record "Vendor Ledger Entry"; BillVendLedgEntry: Record "Vendor Ledger Entry"; InvVendLedgEntry: Record "Vendor Ledger Entry"): Decimal
  • +local procedure GetCustSettledAmount(SettledAmt: Decimal; UnrealCustLedgEntry: Record "Cust. Ledger Entry"; BillCustLedgEntry: Record "Cust. Ledger Entry"; InvCustLedgEntry: Record "Cust. Ledger Entry"): Decimal
  • +local procedure GetGLAccountForPayablesDocs(GenJnlLine: Record "Gen. Journal Line"; VendPostingGr: Record "Vendor Posting Group"; DocAmountLCY: Decimal; CollDocAmountLCY: Decimal): Code[20]
  • +local procedure GetGLAccountForReceivableDocs(GenJnlLine: Record "Gen. Journal Line"; CustPostingGr: Record "Customer Posting Group"; DocAmountLCY: Decimal; CollDocAmountLCY: Decimal): Code[20]
  • +local procedure IsVendBillDoc(UnrealVendLedgEntry: Record "Vendor Ledger Entry"): Boolean
  • +local procedure IsCustBillDoc(UnrealCustLedgEntry: Record "Cust. Ledger Entry"): Boolean
  • +local procedure CalcVendRealizedVATAmt(var VATBase: Decimal; var VATAmount: Decimal; var VATBaseAddCurr: Decimal; var VATAmountAddCurr: Decimal; VATEntry2: Record "VAT Entry"; UnrealVendLedgEntry: Record "Vendor Ledger Entry"; VATPart: Decimal)
  • +local procedure CalcRealizedVATAmt(var VATBase: Decimal; var VATAmount: Decimal; var VATBaseAddCurr: Decimal; var VATAmountAddCurr: Decimal; VATEntry2: Record "VAT Entry"; UseUnrealAmt: Boolean; VATPart: Decimal)
  • +local procedure CalcPostingBufferTotals(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary)
  • +local procedure CheckCarteraDocStatus(DocNo: Code[20]; BillNo: Code[20]): Boolean
  • +local procedure CreateGLEntriesForTotalAmounts(GenJnlLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; GLAccNo: Code[20])
  • +local procedure CheckCarteraAccessPermissions(DocumentSituation: Enum "ES Document Situation")
  • +local procedure FinancialVoidWithMethodCreateBills(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +local procedure CheckDtldCustLegderEntryCreateBills(InitDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"): Boolean
  • +local procedure CheckCustLegderEntryCreateBills(EntryNo: Integer): Boolean
  • +local procedure CheckDtldVendLegderEntryCreateBills(InitDtldVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"): Boolean
  • +local procedure CheckVendLegderEntryCreateBills(EntryNo: Integer): Boolean
  • +local procedure GetPaymentMethodCreateBills(PaymentMethodCode: Code[10]): Boolean
  • +local procedure UseGLBillsAccount(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +local procedure PostDtldCVApplicationEntry(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
  • +local procedure PostDtldCustApplicationEntry(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
  • +local procedure PostDtldVendApplicationEntry(GenJnlLine: Record "Gen. Journal Line"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")
  • +local procedure PostPayableDocsForMultiplePostingGroups(var GenJournalLine: Record "Gen. Journal Line"; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
  • +local procedure CheckIfRealisedGainLossSettlement(AdjAmount: array[4] of Decimal)
  • Δlocal event OnAfterCalcPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
  • Δlocal event OnBeforeCalcPmtDiscPossible(var GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var IsHandled: Boolean; RoundingPrecision: Decimal)
  • Δlocal event OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; AmountRoundingPrecision: Decimal)
  • Δprocedure UpdateGLEntryNo(var GLEntryNo: Integer; var SavedEntryNo: Integer)
  • −local event OnBeforeCreateGLEntriesForTotalAmountsV19(var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; GenJournalLine: Record "Gen. Journal Line"; var GLAccNo: Code[20]; var IsHandled: Boolean; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; LedgEntryInserted: Boolean)
  • −local procedure CalcPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
  • −local procedure UpdateCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
  • −local procedure UpdateVendLedgEntry(DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry")
  • −local procedure TotalVATAmountOnJnlLines(GenJnlLine: Record "Gen. Journal Line"): Decimal
  • −local procedure CreateGLEntriesForTotalAmounts(GenJnlLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; GLAccNo: Code[20]; LedgEntryInserted: Boolean)
table/270 "Bank Account" +52, 2 changed
  • +field(10700; "CCC Bank No."; Text[4])
  • +field(10701; "CCC Bank Branch No."; Text[4])
  • +field(10702; "CCC Control Digits"; Text[2])
  • +field(10703; "CCC Bank Account No."; Text[10])
  • +field(10704; "CCC No."; Text[20])
  • +field(10705; "E-Pay Export File Path"; Text[100])
  • +field(10706; "Last E-Pay Export File Name"; Text[50])
  • +field(10707; "Last Remittance Advice No."; Code[20])
  • +field(10708; "Las E-Pay File Creation No."; Integer)
  • +field(7000000; "Delay for Notices"; Integer)
  • +field(7000001; "Credit Limit for Discount"; Decimal)
  • +field(7000002; "Last Bill Gr. No."; Code[20])
  • +field(7000003; "Date of Last Post. Bill Gr."; Date)
  • +field(7000004; "Operation Fees Code"; Code[20])
  • +field(7000005; "Posted Receiv. Bills Rmg. Amt."; Decimal)
  • +field(7000006; "Posted Receiv. Bills Amt."; Decimal)
  • +field(7000007; "Closed Receiv. Bills Amt."; Decimal)
  • +field(7000008; "Dealing Type Filter"; Enum "Cartera Dealing Type")
  • +field(7000009; "Status Filter"; Enum "Cartera Document Status")
  • +field(7000010; "Category Filter"; Code[10])
  • +field(7000011; "Due Date Filter"; Date)
  • +field(7000012; "Honored/Rejtd. at Date Filter"; Date)
  • +field(7000013; "Posted R.Bills Rmg. Amt. (LCY)"; Decimal)
  • +field(7000014; "Posted Receiv Bills Amt. (LCY)"; Decimal)
  • +field(7000015; "Closed Receiv Bills Amt. (LCY)"; Decimal)
  • +field(7000016; "VAT Registration No."; Text[20])
  • +field(7000017; "Customer Ratings Code"; Code[20])
  • +field(7000018; "Posted Pay. Bills Rmg. Amt."; Decimal)
  • +field(7000019; "Posted Pay. Bills Amt."; Decimal)
  • +field(7000020; "Closed Pay. Bills Amt."; Decimal)
  • +field(7000021; "Posted P.Bills Rmg. Amt. (LCY)"; Decimal)
  • +field(7000022; "Posted Pay. Bills Amt. (LCY)"; Decimal)
  • +field(7000023; "Closed Pay. Bills Amt. (LCY)"; Decimal)
  • +field(7000024; "Post. Receivable Inv. Amt."; Decimal)
  • +field(7000025; "Clos. Receivable Inv. Amt."; Decimal)
  • +field(7000026; "Posted Pay. Invoices Amt."; Decimal)
  • +field(7000027; "Closed Pay. Invoices Amt."; Decimal)
  • +field(7000028; "Posted Pay. Inv. Rmg. Amt."; Decimal)
  • +field(7000029; "Posted Pay. Documents Amt."; Decimal)
  • +field(7000030; "Closed Pay. Documents Amt."; Decimal)
  • +local event OnAfterPrePadString(var BankAccount: Record "Bank Account"; InString: Text[250]; MaxLen: Integer; var Result: Text[250])
  • +local event OnBeforeBuildCCC(var BankAccount: Record "Bank Account"; var IsHandled: Boolean)
  • +procedure BuildCCC()
  • +procedure PrePadString(InString: Text[250]; MaxLen: Integer): Text[250]
  • +procedure DiscInterestsTotalAmt(PostDateFilter: Code[250]): Decimal
  • +procedure ServicesFeesTotalAmt(PostDateFilter: Code[250]): Decimal
  • +procedure CollectionFeesTotalAmt(PostDateFilter: Code[250]): Decimal
  • +procedure RejExpensesAmt(PostDateFilter: Code[250]): Decimal
  • +procedure RiskFactFeesTotalAmt(PostDateFilter: Code[250]): Decimal
  • +procedure UnriskFactFeesTotalAmt(PostDateFilter: Code[250]): Decimal
  • +procedure DiscInterestFactTotalAmt(PostDateFilter: Code[250]): Decimal
  • +procedure PaymentOrderFeesTotalAmt(PostDateFilter: Code[250]): Decimal
  • Δfield(13; "Bank Account No."; Text[30])
  • Δfield(110; "IBAN"; Code[50])
table/254 "VAT Entry" +28, 5 changed
  • +field(10700; "VAT %"; Decimal)
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "Generated Autodocument"; Boolean)
  • +field(10703; "Delivery Operation Code"; Option)
  • +field(10705; "VAT Cash Regime"; Boolean)
  • +field(10706; "No Taxable Type"; Option)
  • +key(Key14; "Document Type", "Posting Date", "Document No.")
  • +key(Key15; "Document No.", "Document Type", "Gen. Prod. Posting Group", "VAT Prod. Posting Group", "Type")
  • +key(Key16; "VAT %", "EC %")
  • +key(Key17; "Type", "Document Type", "Bill-to/Pay-to No.", "Posting Date", "EU 3-Party Trade", "EU Service", "Delivery Operation Code")
  • +key(Key18; "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Tax Jurisdiction Code", "Use Tax", "Posting Date", "G/L Acc. No.")
  • +key(Key19; "Posting Date", "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Reversed", "G/L Acc. No.", "VAT Reporting Date")
  • +key(Key20; "Document Date")
  • +key(Key21; "G/L Acc. No.")
  • +key(Key22; "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Reversed", "Posting Date", "G/L Acc. No.", "VAT Reporting Date")
  • +local event OnAfterUpdateRates(var VATEntry: Record "VAT Entry"; VATPostingSetup: Record "VAT Posting Setup")
  • +local event OnIsCorrectiveCrMemoDiffPeriodOnAfterCheckSales(var VATEntry: Record "VAT Entry"; StartDateFormula: DateFormula; EndDateFormula: DateFormula; var Result: Boolean)
  • +local procedure UpdateCustLedgEntries(NewDate: Date)
  • +local procedure UpdateVendLedgEntries(NewDate: Date)
  • +local procedure UpdateNoTaxEntries(NewDate: Date)
  • +procedure UpdateRates(VATPostingSetup: Record "VAT Posting Setup")
  • +procedure SetBillDoc(NewIsBillDoc: Boolean)
  • +procedure SetVATCashRegime(VATPostingSetup: Record "VAT Posting Setup"; GenPostingType: Option " ",Purchase,Sale,Settlement)
  • +procedure GetTotalAmount(): Decimal
  • +procedure GetTotalBase(): Decimal
  • +procedure IsCorrectiveCrMemoDiffPeriod(StartDateFormula: DateFormula; EndDateFormula: DateFormula): Boolean
  • +local procedure IsCorrectiveSalesCrMemoDiffPeriod(var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; StartDateFormula: DateFormula; EndDateFormula: DateFormula): Boolean
  • +local procedure IsCorrectivePurchCrMemoDiffPeriod(DocNo: Code[20]; StartDateFormula: DateFormula; EndDateFormula: DateFormula): Boolean
  • Δkey(Key9; "Type", "Posting Date", "Document Type", "Document No.", "Bill-to/Pay-to No.")
  • Δkey(Key10; "Type", "Closed", "Gen. Bus. Posting Group", "Gen. Prod. Posting Group", "Posting Date")
  • Δkey(Key11; "Document Type", "No. Series", "Posting Date")
  • Δkey(Key12; "No. Series", "Posting Date", "Document No.")
  • Δkey(Key13; "Type", "Posting Date", "Document No.", "Country/Region Code")
table/181 "Posted Gen. Journal Line" +22
  • +field(10700; "Transaction No."; Integer)
  • +field(10701; "Pmt. Discount Given/Rec. (LCY)"; Decimal)
  • +field(10702; "Generate AutoInvoices"; Boolean)
  • +field(10703; "AutoDoc. No."; Code[20])
  • +field(10704; "Payment Type"; Option)
  • +field(10705; "Statistical Code"; Code[6])
  • +field(10707; "Export File Name"; Text[30])
  • +field(10708; "Transfer Type"; Option)
  • +field(10709; "Sales Invoice Type"; Option)
  • +field(10710; "Sales Cr. Memo Type"; Option)
  • +field(10711; "Sales Special Scheme Code"; Option)
  • +field(10712; "Purch. Invoice Type"; Option)
  • +field(10713; "Purch. Cr. Memo Type"; Option)
  • +field(10714; "Purch. Special Scheme Code"; Option)
  • +field(10715; "Correction Type"; Option)
  • +field(10716; "Corrected Invoice No."; Code[20])
  • +field(10720; "Succeeded Company Name"; Text[250])
  • +field(10721; "Succeeded VAT Registration No."; Text[20])
  • +field(10722; "ID Type"; Option)
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Pmt. Address Code"; Code[10])
table/21 "Cust. Ledger Entry" +17, 2 changed
  • +field(91; "Payment Terms Code"; Code[10])
  • +field(10728; "VAT Reporting Date"; Date)
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Document Situation"; Enum "ES Document Situation")
  • +field(7000002; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Document Status"; Enum "ES Document Status")
  • +field(7000005; "Remaining Amount (LCY) stats."; Decimal)
  • +field(7000006; "Amount (LCY) stats."; Decimal)
  • +key(Key7000000; "Document No.", "Bill No.")
  • +key(Key7000001; "Customer No.", "Document Type", "Document Situation", "Document Status")
  • +key(Key7000002; "Applies-to ID", "Document Type", "Document Situation", "Document Status")
  • +local event OnBeforeCheckBillSituation(var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +procedure PrintBill(ShowRequestForm: Boolean)
  • +procedure CheckBillSituation()
  • +procedure SetApplyToFilters(CustomerNo: Code[20]; ApplyDocType: Option; ApplyDocNo: Code[20]; ApplyBillNo: Code[20]; ApplyAmount: Decimal)
  • +procedure SetAmountToApply(AppliesToDocNo: Code[20]; CustomerNo: Code[20]; var AppliesToBillNo: Code[20])
  • +local procedure ValidatePaymentMethod()
  • Δfield(15; "Original Amt. (LCY)"; Decimal)
  • Δfield(75; "Original Amount"; Decimal)
table/290 "VAT Amount Line" +15, 1 removed
  • +field(10700; "EC %"; Decimal)
  • +field(10701; "EC Amount"; Decimal)
  • +field(10703; "Line Discount Amount"; Decimal)
  • +field(10704; "Calculated EC Amount"; Decimal)
  • +field(10705; "EC Difference"; Decimal)
  • +field(10706; "Prices Including VAT"; Boolean)
  • +key(Key2; "VAT %", "EC %")
  • +local event OnAfterClearVATPct(var VATAmountLine: Record "VAT Amount Line")
  • +local event OnAfterGetVATPct(var VATAmountLine: Record "VAT Amount Line"; var VATPct: Decimal)
  • +local procedure GetCalculatedEC(NewCurrencyCode: Code[10]; NewPricesIncludingVAT: Boolean; NewVATBaseDiscPct: Decimal): Decimal
  • +procedure SetCurrencyCode(CurrCode: Code[10])
  • +procedure GetVATAmountLCY(PostingDate: Date; CurrencyCode: Code[10]; CurrencyFactor: Decimal): Decimal
  • +procedure GetECAmountLCY(PostingDate: Date; CurrencyCode: Code[10]; CurrencyFactor: Decimal): Decimal
  • +procedure ClearVATPct()
  • +procedure GetVATPct(): Decimal
  • −local procedure CopyFromRec(var TempVATAmountLine: Record "VAT Amount Line" temporary)
table/81 "Gen. Journal Line" +14
  • +field(10700; "Transaction No."; Integer)
  • +field(10701; "Pmt. Discount Given/Rec. (LCY)"; Decimal)
  • +field(10702; "Generate AutoInvoices"; Boolean)
  • +field(10703; "AutoDoc. No."; Code[20])
  • +field(10704; "Payment Type"; Option)
  • +field(10705; "Statistical Code"; Code[6])
  • +field(10707; "Export File Name"; Text[30])
  • +field(10708; "Transfer Type"; Option)
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Pmt. Address Code"; Code[10])
  • +procedure AdjustDueDate(MaxDate: Date)
  • +local procedure SetApplnRecipientBankAccount(AccType: Enum "Gen. Journal Account Type"; AccNo: Code[20]; AppliesToDocNo: Code[20]; RecipientBankAcc: Code[20])
  • +local procedure SetRecipientBankAccount(RecipientBankAccount: Code[20])
table/92 "Customer Posting Group" +14
  • +field(7000000; "Bills Account"; Code[20])
  • +field(7000001; "Discted. Bills Acc."; Code[20])
  • +field(7000002; "Bills on Collection Acc."; Code[20])
  • +field(7000003; "Rejected Bills Acc."; Code[20])
  • +field(7000004; "Finance Income Acc."; Code[20])
  • +field(7000005; "Factoring for Collection Acc."; Code[20])
  • +field(7000006; "Factoring for Discount Acc."; Code[20])
  • +field(7000007; "Rejected Factoring Acc."; Code[20])
  • +procedure GetBillsAccount(Rejected: Boolean): Code[20]
  • +procedure GetBillsOnCollAccount(): Code[20]
  • +procedure GetRejectedFactoringAcc(): Code[20]
  • +procedure GetFactoringForDiscountAcc(): Code[20]
  • +procedure GetFactoringForCollectionAcc(): Code[20]
  • +procedure GetDiscountedBillsAcc(): Code[20]
report/12 "VAT Statement" +12, 1 removed
  • +local event OnCalcLineTotal2COnBeforeCalculateTotalAmount(VATStmtLine2: Record "VAT Statement Line"; var VATEntry: Record "VAT Entry"; var Base: Decimal; var Amount: Decimal; UseAmtsInAddCurr: Boolean)
  • +local event OnCalcLineFromVATEntry1COnAfterVATEntrySetFilters(VATStatementLine: Record "VAT Statement Line"; var VATEntry: Record "VAT Entry")
  • +procedure CalcLineTotal2C(VATStmtLine2: Record "VAT Statement Line"; Level: Integer): Boolean
  • +local procedure CalculateTotalAmount(VATStmtLine2: Record "VAT Statement Line")
  • +local procedure SetVATDate(var VATStatementLine: Record "VAT Statement Line")
  • +local procedure RoundVATAmount(VATAmount: Decimal; UseAddCurr: Boolean): Decimal
  • +procedure CalcTotalVATBase(VAT: Decimal; EC: Decimal; VATAmount: Decimal; UseAddCurr: Boolean): Decimal
  • +procedure CalcVatLineTotal(var VATEntry1: Record "VAT Entry"; var VATAmount1: Decimal; var VATAmountAC1: Decimal; ECAmount: Boolean)
  • +local procedure CalcLineNoTaxable(VATStatementLine: Record "VAT Statement Line"; ValueAsAmount: Boolean): Boolean
  • +local procedure CalcLineFromNoTaxableEntry(VATStatementLine: Record "VAT Statement Line"): Decimal
  • +local procedure CalcLineFromVATEntry1C(VATStatementLine: Record "VAT Statement Line")
  • +local procedure CalcLineFromVATEntry2C(VATStatementLine: Record "VAT Statement Line")
  • −local procedure SetVATDate()
table/25 "Vendor Ledger Entry" +13
  • +field(91; "Payment Terms Code"; Code[10])
  • +field(10701; "VAT Reporting Date"; Date)
  • +field(10702; "Generated Autodocument"; Boolean)
  • +field(10703; "Autodocument No."; Code[20])
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Document Situation"; Enum "ES Document Situation")
  • +field(7000002; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Document Status"; Enum "ES Document Status")
  • +field(7000005; "Remaining Amount (LCY) stats."; Decimal)
  • +field(7000006; "Amount (LCY) stats."; Decimal)
  • +local event OnBeforeCheckBillSituation(var VendorLedgerEntry: Record "Vendor Ledger Entry")
  • +procedure CheckBillSituation()
  • +local procedure ValidatePaymentMethod()
table/325 "VAT Posting Setup" +9, 4 changed
  • +field(6201; "Non-Ded. Sales VAT Account"; Code[20])
  • +field(10700; "EC %"; Decimal)
  • +field(10701; "VAT %"; Decimal)
  • +field(10705; "VAT Cash Regime"; Boolean)
  • +field(10706; "No Taxable Type"; Option)
  • +local event OnBeforeIsNoTaxable(var VATPostingSetup: Record "VAT Posting Setup"; var NoTaxable: Boolean; var IsHandled: Boolean)
  • +local procedure GetECPercentage(): Decimal
  • +procedure IsNoTaxable(): Boolean
  • +local procedure CheckZeroVATRateForNoTaxableVAT(VATPct: Decimal; FromFieldName: Text)
  • Δfield(3; "VAT Calculation Type"; Enum "Tax Calculation Type")
  • Δfield(4; "VAT+EC %"; Decimal)
  • Δfield(25; "Sale VAT Reporting Code"; Code[20])
  • Δfield(26; "Purch. VAT Reporting Code"; Code[20])
table/79 "Company Information" +10, 3 changed
  • +field(10701; "CNAE Description"; Text[80])
  • +field(10702; "Payment Days Code"; Code[10])
  • +field(10703; "Non-Paymt. Periods Code"; Code[10])
  • +field(10704; "CCC Bank No."; Text[4])
  • +field(10705; "CCC Bank Branch No."; Text[4])
  • +field(10706; "CCC Control Digits"; Text[2])
  • +field(10707; "CCC Bank Account No."; Text[10])
  • +field(10708; "CCC No."; Text[20])
  • +procedure BuildCCC()
  • +procedure PrePadString(InString: Text[250]; MaxLen: Integer): Text[250]
  • Δfield(11; "Giro No."; Text[20])
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(38; "IBAN"; Code[50])
report/1401 "Check" +9, 2 removed
  • +local procedure AddToNoText(var NoText: array[2] of Text[80]; var NoTextIndex: Integer; AddText: Text[80])
  • +procedure TextHundMilion(Hundreds: Integer; Ten: Integer; Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextTenUnitsMilion(Hundreds: Integer; Ten: Integer; Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextHundThousands(Hundreds: Integer; Ten: Integer; Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextTenUnitsThousands(Hundreds: Integer; Ten: Integer; Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextHundreds(Hundreds: Integer; Tens: Integer; Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextTensUnits(Tens: Integer; Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextUnits(Units: Integer; Masc: Boolean): Text[250]
  • +procedure TextNoDecimals(NoDecimals: Integer): Text[15]
  • −local procedure AddToNoText(var NoText: array[2] of Text[80]; var NoTextIndex: Integer; var PrintExponent: Boolean; AddText: Text[30])
  • −local procedure GetAmtDecimalPosition(): Decimal
report/6 "Trial Balance" +11
  • +procedure StartingPeriod(Date: Date): Date
  • +procedure IsOpeningDate(Date: Date): Boolean
  • +procedure IsClosingDate(ToFec: Date)
  • +procedure CalcOpenEntries()
  • +procedure CalcCloseEntries()
  • +procedure CalcCloseEntriesHeading()
  • +procedure CalcOpenEntriesHeading()
  • +local procedure SetGLAccDateFilter()
  • +local procedure GetAccumulate(): Boolean
  • +local procedure GLAccountCalculated(): Boolean
  • +local procedure AddAccumulatedAccountsFilter()
table/263 "Intrastat Jnl. Line" +5, 4 changed, 2 removed
  • +field(10700; "Place of Receipt"; Text[25])
  • +field(10702; "Shipment Method Code #2"; Option)
  • +field(10703; "Statistical System"; Option)
  • +key(Key3; "Type", "Country/Region Code", "Tariff No.", "Transaction Type", "Transport Method", "Country/Region of Origin Code", "Partner VAT ID")
  • +key(Key4; "Internal Ref. No.")
  • Δfield(14; "Amount"; Decimal)
  • Δfield(16; "Cost Regulation %"; Decimal)
  • Δfield(18; "Statistical Value"; Decimal)
  • Δfield(22; "Total Weight"; Decimal)
  • −key(Key6; "Journal Template Name", "Journal Batch Name", "Type", "Internal Ref. No.")
  • −key(Key7; "Journal Template Name", "Journal Batch Name", "Type", "Country/Region Code", "Tariff No.", "Transaction Type", "Transport Method", "Country/Region of Origin Code", "Partner VAT ID")
table/288 "Vendor Bank Account" +8, 2 changed
  • +field(10700; "CCC Bank No."; Text[4])
  • +field(10701; "CCC Bank Branch No."; Text[4])
  • +field(10702; "CCC Control Digits"; Text[2])
  • +field(10703; "CCC Bank Account No."; Text[10])
  • +field(10704; "CCC No."; Text[20])
  • +field(10705; "Use For Electronic Payments"; Boolean)
  • +procedure BuildCCC()
  • +procedure PrePadString(InString: Text[250]; MaxLen: Integer): Text[250]
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(24; "IBAN"; Code[50])
table/5200 "Employee" +4, 6 changed
  • +field(10700; "First Name"; Text[30])
  • +field(10701; "Middle Name"; Text[30])
  • +field(10702; "Last Name"; Text[30])
  • +procedure UpdateNamesFromOldFields()
  • Δfield(2; "Name"; Text[30])
  • Δfield(3; "Second Family Name"; Text[30])
  • Δfield(4; "First Family Name"; Text[30])
  • Δfield(57; "Bank Account No."; Text[30])
  • Δfield(58; "IBAN"; Code[50])
  • Δkey(Key5; "First Family Name", "Name", "Second Family Name")
table/17 "G/L Entry" +8, 1 changed
  • +field(10723; "Period Trans. No."; Integer)
  • +field(7000000; "Bill No."; Code[20])
  • +key(Key14; "G/L Account No.", "Description")
  • +key(Key15; "Document Date", "Document Type", "Source Type", "Source No.")
  • +key(Key16; "Document No.", "Document Date")
  • +key(Key17; "Posting Date", "Transaction No.")
  • +key(Key18; "Posting Date", "Period Trans. No.")
  • +key(Key19; "Dimension Set ID")
  • Δkey(Key13; "G/L Account No.", "Document No.", "Bill No.")
table/287 "Customer Bank Account" +7, 2 changed
  • +field(10700; "CCC Bank No."; Text[4])
  • +field(10701; "CCC Bank Branch No."; Text[4])
  • +field(10702; "CCC Control Digits"; Text[2])
  • +field(10703; "CCC Bank Account No."; Text[10])
  • +field(10704; "CCC No."; Text[20])
  • +procedure BuildCCC()
  • +procedure PrePadString(InString: Text[250]; MaxLen: Integer): Text[250]
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(24; "IBAN"; Code[50])
table/36 "Sales Header" +9
  • +field(10705; "Corrected Invoice No."; Code[20])
  • +field(10706; "Due Date Modified"; Boolean)
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Cust. Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
  • +local event OnAfterValidateBillToCustomerNoOnSII(var SalesHeader: Record "Sales Header")
  • +local event OnAfterValidateCorrectedInvoiceNoOnSII(var SalesHeader: Record "Sales Header")
  • +procedure ValidatePaymentTerms()
  • +local procedure CompareDueDateToUpdateDueDateModified()
table/122 "Purch. Inv. Header" +8
  • +field(10700; "Autoinvoice No."; Code[20])
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Vendor Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
  • +local event OnBeforeCheckCorrectedDocumentExist(VendNo: Code[20]; CorrInvNo: Code[20]; var IsHandled: Boolean)
  • +procedure PrintRecordsAutoInv(ShowRequestForm: Boolean)
  • +procedure LookupInvoice(VendNo: Code[20]): Boolean
  • +procedure CheckCorrectedDocumentExist(VendNo: Code[20]; CorrInvNo: Code[20])
table/38 "Purchase Header" +8
  • +field(10702; "Generate Autoinvoices"; Boolean)
  • +field(10703; "Generate Autocredit Memo"; Boolean)
  • +field(10705; "Corrected Invoice No."; Code[20])
  • +field(10706; "Due Date Modified"; Boolean)
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Vendor Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
  • +local procedure CompareDueDateToUpdateDueDateModified()
codeunit/13 "Gen. Jnl.-Post Batch" +4, 3 removed
  • +local event OnBeforeCheckCorrection(GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean; GenJnlTemplate: Record "Gen. Journal Template"; var LastDate: Date; var LastDocType: Enum "Gen. Journal Document Type"; var LastDocNo: Code[20]; var LastTempTransNo: Integer; var DocCorrection: Boolean)
  • +local procedure PostAllocations(var AllocateGenJnlLine: Record "Gen. Journal Line"; CurrGenJnlLine: Record "Gen. Journal Line"; Reversing: Boolean)
  • +procedure TestNoCustVend(GenJnlLine6: Record "Gen. Journal Line"; CurrGenJnlLine: Record "Gen. Journal Line"): Code[20]
  • +local procedure PostGenJournalLine(var GenJournalLine: Record "Gen. Journal Line"; CurrGenJnlLine: Record "Gen. Journal Line"; CurrentICPartner: Code[20]; ICTransactionNo: Integer; var IsBillFromJournal: Boolean): Boolean
  • −local event OnBeforeCheckCorrection(GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean; GenJnlTemplate: Record "Gen. Journal Template"; var LastDate: Date; var LastDocType: Enum "Gen. Journal Document Type"; var LastDocNo: Code[20]; var DocCorrection: Boolean)
  • −local procedure PostAllocations(var AllocateGenJnlLine: Record "Gen. Journal Line"; Reversing: Boolean)
  • −local procedure PostGenJournalLine(var GenJournalLine: Record "Gen. Journal Line"; CurrentICPartner: Code[20]; ICTransactionNo: Integer): Boolean
table/15 "G/L Account" +5, 1 changed, 1 removed
  • +field(10700; "Income Stmt. Bal. Acc."; Code[20])
  • +field(10701; "Ignore in 347 Report"; Boolean)
  • +field(10702; "Ignore Discounts"; Boolean)
  • +local event OnBeforeValidateNo(var GLAccount: Record "G/L Account"; var xGLAccount: Record "G/L Account"; var IsHandled: Boolean)
  • +procedure InvoiceDiscountAllowed(GLAccNo: Code[20]): Boolean
  • Δfield(1; "No."; Code[20])
  • −local procedure UpdateAccountCategoryOfSubAccounts()
table/3 "Payment Terms" +7
  • +field(10710; "Max. No. of Days till Due Date"; Integer)
  • +field(7000000; "No. of Installments"; Integer)
  • +field(7000002; "VAT distribution"; Option)
  • +local event OnBeforeCalculateMaxDueDate(PaymentTerms: Record "Payment Terms"; BaseDate: Date; var CalculatedDate: Date; var IsHandled: boolean)
  • +local event OnBeforeVerifyMaxNoDaysTillDueDate(PaymentTerms: Record "Payment Terms"; DueDate: Date; DocumentDate: Date; MessageFieldCaption: Text[50]; var IsHandled: boolean)
  • +procedure CalculateMaxDueDate(BaseDate: Date): Date
  • +procedure VerifyMaxNoDaysTillDueDate(DueDate: Date; DocumentDate: Date; MessageFieldCaption: Text[50])
table/383 "Detailed CV Ledg. Entry Buffer" +5, 2 changed
  • +field(6202; "Non-Deductible VAT Amount ACY"; Decimal)
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Document Situation"; Enum "ES Document Situation")
  • +field(7000002; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Document Status"; Enum "ES Document Status")
  • Δfield(6200; "Non-Deductible VAT Amount"; Decimal)
  • Δfield(6201; "Non-Deductible VAT Amount LCY"; Decimal)
table/85 "Acc. Schedule Line" +4, 2 changed, 1 removed
  • +field(10700; "Type"; Option)
  • +field(10701; "Indentation"; Integer)
  • +field(10702; "Positive Only"; Boolean)
  • +field(10703; "Reverse Sign"; Boolean)
  • Δfield(3; "Row No."; Code[100])
  • Δfield(4; "Description"; Text[250])
  • −field(8; "Indentation"; Integer)
table/98 "General Ledger Setup" +6, 1 changed
  • +field(10701; "Payment Discount Type"; Option)
  • +field(10702; "Discount Calculation"; Option)
  • +field(10703; "Autoinvoice Nos."; Code[20])
  • +field(10704; "Autocredit Memo Nos."; Code[20])
  • +field(10705; "VAT Cash Regime"; Boolean)
  • +procedure CheckAdjustForPaymentDisc()
  • Δfield(67; "Unit-Amount Decimal Places"; Text[5])
codeunit/597 "Exch. Rate Adjmt. Subscribers" +6
  • +local procedure GetLocalCustAccountNo(CustLedgerEntry: Record "Cust. Ledger Entry"; var AccountNo: Code[20]; var IsHandled: Boolean)
  • +local procedure CreateLocalCustDocuments(var CustLedgerEntry: Record "Cust. Ledger Entry"; CurrAdjAmount: Decimal; OldAdjAmount: Decimal)
  • +local procedure CreateCustCarteraDocuments(var CustLedgerEntry: Record "Cust. Ledger Entry"; CurrAdjAmount: Decimal; OldAdjAmount: Decimal)
  • +local procedure GetLocalVendAccountNo(VendLedgerEntry: Record "Vendor Ledger Entry"; var AccountNo: Code[20]; var IsHandled: Boolean)
  • +local procedure CreateLocalVendDocuments(var VendorLedgerEntry: Record "Vendor Ledger Entry"; CurrAdjAmount: Decimal; OldAdjAmount: Decimal)
  • +local procedure CreateVendCarteraDocuments(var VendorLedgerEntry: Record "Vendor Ledger Entry"; CurrAdjAmount: Decimal; OldAdjAmount: Decimal)
codeunit/6620 "Copy Document Mgt." +4, 2 removed
  • +local procedure TestPurchEfecs(FromDocType: Enum "Gen. Journal Document Type"; var ToPurchHeader: Record "Purchase Header"; var FromPurchInvHeader: Record "Purch. Inv. Header"; var VendorLedgEntry: Record "Vendor Ledger Entry")
  • +local procedure TestSalesEfecs(FromDocType: Enum "Gen. Journal Document Type"; var ToSalesHeader: Record "Sales Header"; var FromSalesInvHeader: Record "Sales Invoice Header"; var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +procedure UpdateCustLedgerEntry(var ToSalesHeader: Record "Sales Header"; FromDocType: Enum "Gen. Journal Document Type"; FromDocNo: Code[20]; FromSalesInvHeader: Record "Sales Invoice Header")
  • +procedure UpdateVendLedgEntry(var ToPurchHeader: Record "Purchase Header"; FromDocType: Enum "Gen. Journal Document Type"; FromDocNo: Code[20]; FromPurchInvHeader: Record "Purch. Inv. Header")
  • −procedure UpdateCustLedgerEntry(var ToSalesHeader: Record "Sales Header"; FromDocType: Enum "Gen. Journal Document Type"; FromDocNo: Code[20])
  • −procedure UpdateVendLedgEntry(var ToPurchHeader: Record "Purchase Header"; FromDocType: Enum "Gen. Journal Document Type"; FromDocNo: Code[20])
report/94 "Close Income Statement" +5, 1 removed
  • +local event OnPostReportOnBeforeGenJnlLinePost(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
  • +local event OnInsBalLinesOnBeforeGenJnlLineInsert(var GenJnlLine: Record "Gen. Journal Line"; var BalLineBuffer: Record "Inc. Stmt. Clos. Buffer" temporary)
  • +procedure UpdateBalAcc()
  • +procedure InsBalLines()
  • +procedure InitializeRequest(EndDateReq2: Date; GenJnlTemplate2: Code[10]; GenJnlBatchName2: Code[10]; DocNo2: Code[10]; PostingDescription2: Text[50]; ClosePerBusUnit2: Boolean; ClosePerDept2: Boolean; ClosePerProj2: Boolean; RetainedAccNo: Code[20])
  • −local event OnGLAccountOnOnPostDataItemOnAfterGenJnlLinePopulateFields(var GenJournalLine: Record "Gen. Journal Line"; RetainedEarningsGLAcc: Record "G/L Account")
table/112 "Sales Invoice Header" +6
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Cust. Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
  • +local event OnBeforeCheckCorrectedDocumentExist(CustNo: Code[20]; CorrInvNo: Code[20]; var IsHandled: Boolean)
  • +procedure LookupInvoice(CustNo: Code[20]): Boolean
  • +procedure CheckCorrectedDocumentExist(CustNo: Code[20]; CorrInvNo: Code[20])
table/45 "G/L Register" +3, 2 changed, 1 removed
  • +field(10700; "Posting Date"; Date)
  • +key(key7; "Source Code", "Journal Batch Name", "SystemCreatedAt")
  • +key(key8; "SystemCreatedAt")
  • Δkey(Key4; "Posting Date")
  • Δkey(key6; "From Entry No.", "To Entry No.")
  • −key(key5; "Source Code", "Journal Batch Name", "SystemCreatedAt")
table/93 "Vendor Posting Group" +6
  • +field(7000000; "Bills Account"; Code[20])
  • +field(7000001; "Bills in Payment Order Acc."; Code[20])
  • +field(7000002; "Invoices in Pmt. Ord. Acc."; Code[20])
  • +procedure GetBillsAccount(): Code[20]
  • +procedure GetInvoicesInPmtOrderAccount(): Code[20]
  • +procedure GetBillsInPmtOrderAccount(): Code[20]
table/96 "G/L Budget Entry" +4, 2 changed
  • +field(10720; "Old G/L Account No."; Code[20])
  • +field(10721; "Updated"; Boolean)
  • +key(Key7; "G/L Account No.", "Date", "Budget Name", "Dimension Set ID")
  • +key(Key8; "Last Date Modified", "Budget Name")
  • Δkey(Key5; "Budget Name", "Old G/L Account No.", "Date")
  • Δkey(Key6; "Budget Name", "Old G/L Account No.", "Business Unit Code", "Global Dimension 1 Code", "Global Dimension 2 Code", "Budget Dimension 1 Code", "Budget Dimension 2 Code", "Budget Dimension 3 Code", "Budget Dimension 4 Code", "Date")
codeunit/226 "CustEntry-Apply Posted Entries" +5
  • +local event OnBeforeCheckInitialDocumentType(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; DocNo: Code[20]; PostingDate: Date; var CommitChanges: Boolean; var IsHandled: Boolean)
  • +local procedure CheckInitialDocumentType(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; DocNo: Code[20]; PostingDate: Date; var CommitChanges: Boolean)
  • +local procedure BeAppliedToBill(CustLedgEntry2: Record "Cust. Ledger Entry"): Boolean
  • +local procedure BeAppliedToInvoiceToCartera(CustLedgEntry2: Record "Cust. Ledger Entry"): Boolean
  • +local procedure IsToSetIDBillSettlement(CustLedgEntry2: Record "Cust. Ledger Entry"): Boolean
page/151 "Customer Statistics" +5
  • +procedure UpdateDocStatistics()
  • +procedure DrillDownOpen(Situation: Option " ","Posted BG/PO","Closed BG/PO","BG/PO",Cartera,"Closed Documents"; DocType: Option Invoice,Bill)
  • +procedure DrillDownHonored(Situation: Option " ","Posted BG/PO","Closed BG/PO","BG/PO",Cartera,"Closed Documents"; DocType: Option Invoice,Bill)
  • +procedure DrillDownRejected(Situation: Option " ","Posted BG/PO","Closed BG/PO","BG/PO",Cartera,"Closed Documents"; DocType: Option Invoice,Bill)
  • +procedure DrillDownRedrawn(Situation: Option " ","Posted BG/PO","Closed BG/PO","BG/PO",Cartera,"Closed Documents"; DocType: Option Invoice,Bill)
table/124 "Purch. Cr. Memo Hdr." +5
  • +field(10700; "Autocredit Memo No."; Code[20])
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Vendor Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
  • +procedure PrintRecordsAutoCrMemo(ShowRequestForm: Boolean)
table/277 "Bank Account Posting Group" +5
  • +field(7000000; "Liabs. for Disc. Bills Acc."; Code[20])
  • +field(7000001; "Bank Services Acc."; Code[20])
  • +field(7000002; "Discount Interest Acc."; Code[20])
  • +field(7000003; "Rejection Expenses Acc."; Code[20])
  • +field(7000004; "Liabs. for Factoring Acc."; Code[20])
table/289 "Payment Method" +5
  • +field(7000000; "Create Bills"; Boolean)
  • +field(7000001; "Collection Agent"; Option)
  • +field(7000002; "Submit for Acceptance"; Boolean)
  • +field(7000003; "Bill Type"; Enum "ES Bill Type")
  • +field(7000004; "Invoices to Cartera"; Boolean)
table/312 "Purchases & Payables Setup" +5
  • +field(10700; "Post Invoice Discount"; Boolean)
  • +field(10701; "Post Line Discount"; Boolean)
  • +field(10702; "Post Payment Discount"; Boolean)
  • +field(10705; "Correct. Doc. No. Mandatory"; Boolean)
  • +field(10706; "Same Ext. Doc. No. in Diff. FY"; Boolean)
table/379 "Detailed Cust. Ledg. Entry" +5
  • +field(10700; "VAT Reporting Date"; Date)
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Document Situation"; Enum "ES Document Situation")
  • +field(7000002; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Document Status"; Enum "ES Document Status")
table/380 "Detailed Vendor Ledg. Entry" +5
  • +field(10700; "VAT Reporting Date"; Date)
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Document Situation"; Enum "ES Document Situation")
  • +field(7000002; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Document Status"; Enum "ES Document Status")
table/381 "VAT Registration No. Format" +5
  • +field(10700; "Check VAT Registration No."; Boolean)
  • +local event OnBeforeCheckConfirmVATRegNo(VATRegNo: Text[20]; var IsHandled: Boolean)
  • +local procedure CheckConfirmVATRegNo(VATRegNo: Text[20])
  • +procedure ValidateVATRegNo(VATRegNo: Text[20]; var ErrorText: Text[120]): Boolean
  • +local procedure CalculateControlElement(VATRegNo: Text[20]; Type: Integer): Text[2]
table/382 "CV Ledger Entry Buffer" +5
  • +field(7000000; "Bill No."; Code[20])
  • +field(7000001; "Document Situation"; Enum "ES Document Situation")
  • +field(7000002; "Applies-to Bill No."; Code[20])
  • +field(7000003; "Document Status"; Enum "ES Document Status")
  • +field(7000004; "CV Ledger Entry Type"; Option)
codeunit/227 "VendEntry-Apply Posted Entries" +4
  • +local event OnBeforeCheckInitialDocumentType(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; DocNo: Code[20]; PostingDate: Date; var IsHandled: Boolean)
  • +local procedure CheckInitialDocumentType(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; DocNo: Code[20]; PostingDate: Date)
  • +local procedure BeAppliedToBill(VendLedgEntry2: Record "Vendor Ledger Entry"): Boolean
  • +local procedure BeAppliedToInvoice(VendLedgEntry2: Record "Vendor Ledger Entry"): Boolean
codeunit/70 "Purch.-Calc.Discount" +3, 1 removed
  • +local event OnCalculateInvoiceDiscountOnBeforeGetGLSetup(var VendorInvoiceDisc: Record "Vendor Invoice Disc."; var PurchaseHeader: Record "Purchase Header")
  • +local procedure GetVendInvDisc(var PurchHeader: Record "Purchase Header"; BaseAmount: Decimal; var VendInvDiscFound: Boolean)
  • +local procedure OnSumVATAmountLineOnBeforeModify(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line")
  • −local procedure GetVendInvDisc(var PurchHeader: Record "Purchase Header"; BaseAmount: Decimal)
codeunit/80 "Sales-Post" +4
  • +local event OnBeforeCreateCarteraBills(SalesHeader: Record "Sales Header"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var TotalSalesLine: Record "Sales Line")
  • +local event OnBeforeCheckCorrectedInvoice(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
  • +procedure TestSalesEfects(SalesHeader: Record "Sales Header"; Cust: Record Customer)
  • +local procedure CheckCorrectedInvoice(var SalesHeader: Record "Sales Header")
codeunit/90 "Purch.-Post" +4
  • +local event OnBeforeCheckCorrectedInvoiceNo(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
  • +local event OnBeforeCreateCarteraBills(PurchHeader: Record "Purchase Header"; var VendLedgEntry: Record "Vendor Ledger Entry"; var TotalPurchLine: Record "Purchase Line"; CommitIsSupressed: Boolean)
  • +local procedure CheckCorrectedInvoiceNo(var PurchaseHeader: Record "Purchase Header")
  • +procedure TestPurchEfects(PurchHeader: Record "Purchase Header"; Vend: Record Vendor)
page/344 "Navigate" +3, 1 removed
  • +local event OnAfterSetTrackingFiltersOnBeforeFindTrackingRecords(var ItemTrackingFilters: Record Item)
  • +procedure FindCarteraDocs(AccountType: Option Receivable,Payable)
  • +local procedure CarteraDocNoFilterOnAfterValidate()
  • −local event OnFindTrackingRecordsOnAfterSetTrackingFilters(var ItemTrackingFilters: Record Item)
table/114 "Sales Cr.Memo Header" +4
  • +field(10705; "Corrected Invoice No."; Code[20])
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Cust. Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
table/120 "Purch. Rcpt. Header" +4
  • +field(10702; "Generate AutoInvoices"; Boolean)
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Vendor Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
table/1381 "Customer Templ." +3, 1 changed
  • +field(10700; "Payment Days Code"; Code[20])
  • +field(10701; "Non-Paymt. Periods Code"; Code[20])
  • +field(10702; "Not in AEAT"; Boolean)
  • Δfield(14; "Our Account No."; Text[20])
table/311 "Sales & Receivables Setup" +4
  • +field(10700; "Post Invoice Discount"; Boolean)
  • +field(10701; "Post Line Discount"; Boolean)
  • +field(10702; "Post Payment Discount"; Boolean)
  • +field(10705; "Correct. Doc. No. Mandatory"; Boolean)
table/366 "Analysis View Budget Entry" +2, 1 changed, 1 removed
  • +field(10720; "Old G/L Account No."; Code[20])
  • +field(10721; "Updated"; Boolean)
  • Δkey(Key1; "Analysis View Code", "Budget Name", "G/L Account No.", "Dimension 1 Value Code", "Dimension 2 Value Code", "Dimension 3 Value Code", "Dimension 4 Value Code", "Business Unit Code", "Posting Date", "Entry No.", "Old G/L Account No.")
  • −key(Key2; "Analysis View Code", "Business Unit Code", "Budget Name", "G/L Account No.", "Posting Date", "Dimension 1 Value Code", "Dimension 2 Value Code", "Dimension 3 Value Code", "Dimension 4 Value Code")
table/37 "Sales Line" +3, 1 changed
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
  • +field(10703; "Prepayment EC %"; Decimal)
  • Δprocedure InitQtyToAsm()
table/5108 "Sales Line Archive" +4
  • +field(10700; "Pmt. Disc. Given Amount (Old)"; Decimal)
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
  • +field(10703; "Prepayment EC %"; Decimal)
table/5110 "Purchase Line Archive" +4
  • +field(10700; "Pmt. Disc. Given Amount (Old)"; Decimal)
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
  • +field(10703; "Prepayment EC %"; Decimal)
table/9054 "Finance Cue" +4
  • +field(7000000; "Receivable Documents"; Integer)
  • +field(7000001; "Payable Documents"; Integer)
  • +field(7000002; "Posted Receivable Documents"; Integer)
  • +field(7000003; "Posted Payable Documents"; Integer)
table/9060 "SB Owner Cue" +4
  • +field(7000000; "Receivable Documents"; Integer)
  • +field(7000001; "Payable Documents"; Integer)
  • +field(7000002; "Posted Receivable Documents"; Integer)
  • +field(7000003; "Posted Payable Documents"; Integer)
codeunit/5987 "Serv-Posting Journals Mgt." +3
  • +local event OnCreateBillsOnBeforeSplitServiceInv(ServiceHeader: Record "Service Header"; var CustLedgerEntry: Record Microsoft.Sales.Receivables."Cust. Ledger Entry"; var TotalServiceLine: Record "Service Line")
  • +procedure CreateBills(var TotalServiceLine: Record "Service Line"; var Window: Dialog; GenJnlLineDocNo: Code[20]; GenJnlLineExtDocNo: Code[35])
  • +procedure RunOnCreateBillsOnBeforeSplitServiceInv(ServiceHeader: Record "Service Header"; var CustLedgerEntry: Record Microsoft.Sales.Receivables."Cust. Ledger Entry"; var TotalServiceLine: Record "Service Line")
codeunit/60 "Sales-Calc. Discount" +3
  • +local event OnCalculateInvoiceDiscountOnBeforeGetGLSetup(var CustInvoiceDisc: Record "Cust. Invoice Disc."; var SalesHeader: Record "Sales Header")
  • +local procedure GetTotalChargeItemLineAmount(DocumentType: Enum "Sales Document Type"; DocumentNo: Code[20]): Decimal
  • +local procedure OnSumVATAmountLineOnBeforeModify(var SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line")
page/152 "Vendor Statistics" +3
  • +procedure UpdateBillStatistics()
  • +procedure DrillDownOpen(Situation: Option " ","Posted BG/PO","Closed BG/PO","BG/PO",Cartera,"Closed Documents")
  • +procedure DrillDownHonored(Situation: Option " ","Posted BG/PO","Closed BG/PO","BG/PO",Cartera,"Closed Documents")
report/840 "Suggest Worksheet Lines" +3
  • +local procedure SplitSalesInv(var SalesHeader: Record "Sales Header"; var CFJournalLine3: Record "Cash Flow Worksheet Line"; TotalAmount: Decimal; VATAmount: Decimal)
  • +procedure SplitPurchInv(var PurchHeader: Record "Purchase Header"; var CFJournalLine3: Record "Cash Flow Worksheet Line"; TotalAmount: Decimal; VATAmount: Decimal)
  • +procedure RoundAmt(Amount: Decimal): Decimal
table/110 "Sales Shipment Header" +3
  • +field(7000000; "Applies-to Bill No."; Code[20])
  • +field(7000001; "Cust. Bank Acc. Code"; Code[20])
  • +field(7000003; "Pay-at Code"; Code[10])
table/1207 "Direct Debit Collection" +3
  • +field(7000000; "Source Table ID"; Integer)
  • +field(7000010; "Direct Debit Format"; Option)
  • +procedure SetGenJnlLineMapping(var GenJnlLine: Record "Gen. Journal Line")
table/1383 "Vendor Templ." +2, 1 changed
  • +field(10700; "Payment Days Code"; Code[20])
  • +field(10701; "Non-Paymt. Periods Code"; Code[20])
  • Δfield(14; "Our Account No."; Text[20])
table/18 "Customer" +3
  • +field(10700; "Payment Days Code"; Code[20])
  • +field(10701; "Non-Paymt. Periods Code"; Code[20])
  • +field(10702; "Not in AEAT"; Boolean)
table/225 "Post Code" +3
  • +field(10700; "County Code"; Code[10])
  • +procedure CountyText(): Text[30]
  • +procedure GetCountyCode()
table/23 "Vendor" +3
  • +field(10700; "Payment Days Code"; Code[20])
  • +field(10701; "Non-Paymt. Periods Code"; Code[20])
  • +field(10702; "Self Employed"; Boolean)
table/365 "Analysis View Entry" +2, 1 changed
  • +field(10720; "Old G/L Account No."; Code[20])
  • +field(10721; "Updated"; Boolean)
  • Δkey(Key1; "Analysis View Code", "Account No.", "Account Source", "Dimension 1 Value Code", "Dimension 2 Value Code", "Dimension 3 Value Code", "Dimension 4 Value Code", "Business Unit Code", "Posting Date", "Entry No.", "Old G/L Account No.")
table/39 "Purchase Line" +3
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
  • +field(10703; "Prepayment EC %"; Decimal)
table/4 "Currency" +3
  • +field(7000000; "Bill Groups - Collection"; Boolean)
  • +field(7000001; "Bill Groups - Discount"; Boolean)
  • +field(7000002; "Payment Orders"; Boolean)
table/5205 "Employee Relative" 3 changed
  • Δfield(4; "Name"; Text[30])
  • Δfield(5; "Second Family Name"; Text[30])
  • Δfield(6; "First Family Name"; Text[30])
table/80 "Gen. Journal Template" 3 changed
  • Δfield(18; "Force Doc. Balance"; Boolean)
  • Δfield(32; "Allow Posting Date From"; Date)
  • Δfield(33; "Allow Posting Date To"; Date)
table/9 "Country/Region" +3
  • +field(10700; "VAT Registration No. digits"; Integer)
  • +procedure GetVATRegistrationNoLimitedBySetup(VATRegistrationNo: Code[20]): Code[20]
  • +procedure EUCountryFound(CountryRegionCode: Code[10]): Boolean
codeunit/1222 "SEPA CT-Prepare Source" +2
  • +local event OnCreateTempJnlLinesOnBeforeTempGenJnlLineInsert(var TempGenJnlLine: Record "Gen. Journal Line"; CarteraDoc: Record "Cartera Doc.")
  • +local event OnCreateTempJnlLinesOnAfterTempGenJnlLineInsert(var TempGenJnlLine: Record "Gen. Journal Line"; CarteraDoc: Record "Cartera Doc.")
codeunit/424 "Export Analysis View" +1, 1 removed
  • +local procedure FindGLAccountParent(var Account: Code[20]; Indent: Integer)
  • −local procedure FindGLAccountParent(var Account: Code[20])
report/1307 "Standard Sales - Credit Memo" +1, 1 removed
  • +local procedure InsertVATAmountLine(var VATAmountLine2: Record "VAT Amount Line"; var SalesCrMemoLine: Record "Sales Cr.Memo Line"; ECPercent: Decimal)
  • −local procedure InsertVATAmountLine(var VATAmountLine2: Record "VAT Amount Line"; var SalesCrMemoLine: Record "Sales Cr.Memo Line")
report/407 "Purchase - Credit Memo" +1, 1 removed
  • +procedure ShowCashAccountingCriteria(PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."): Text
  • −local procedure DocumentCaption(): Text[250]
reportextension/6485 "Serv. Suggest Worksheet Lines" +1, 1 removed
  • +local event OnInsertCFLineForServiceLineOnBeforeInsertTempCFWorksheetLine(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line"; CashFlowForecast: Record "Cash Flow Forecast"; ServiceLine: Record "Service Line"; ServiceHeader: Record "Service Header"; var SkipInsert: Boolean)
  • −local event OnInsertCFLineForServiceLineOnBeforeInsertTempCFWorksheetLine(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line"; CashFlowForecast: Record "Cash Flow Forecast"; ServiceLine: Record "Service Line"; var SkipInsert: Boolean)
table/111 "Sales Shipment Line" +2
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
table/113 "Sales Invoice Line" +2
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
table/115 "Sales Cr.Memo Line" +2
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
table/123 "Purch. Inv. Line" +2
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
table/125 "Purch. Cr. Memo Line" +2
  • +field(10701; "EC %"; Decimal)
  • +field(10702; "EC Difference"; Decimal)
table/19 "Cust. Invoice Disc." +1, 1 removed
  • +procedure GetRec(NewCode: Code[20]; CurrencyCode: Code[10]; CurrencyDate: Date; BaseAmount: Decimal; var CustInvDiscFound: Boolean)
  • −procedure GetRec(NewCode: Code[20]; CurrencyCode: Code[10]; CurrencyDate: Date; BaseAmount: Decimal)
table/220 "Business Unit" +1, 1 changed
  • +field(10700; "G/L Account No."; Option)
  • Δfield(27; "AAD Tenant ID"; Guid)
table/24 "Vendor Invoice Disc." +1, 1 removed
  • +procedure GetRec(NewCode: Code[20]; CurrencyCode: Code[10]; CurrencyDate: Date; BaseAmount: Decimal; var VendInvDiscFound: Boolean)
  • −procedure GetRec(NewCode: Code[20]; CurrencyCode: Code[10]; CurrencyDate: Date; BaseAmount: Decimal)
table/252 "General Posting Setup" +2
  • +field(24; "Job Sales Adjmt. Account"; Code[20])
  • +field(25; "Job Cost Adjmt. Account"; Code[20])
table/331 "Adjust Exchange Rate Buffer" +1, 1 changed
  • +field(7000000; "Account No."; Code[20])
  • Δkey(Key1; "Currency Code", "Posting Group", "Account No.", "Dimension Entry No.", "Posting Date", "IC Partner Code")
table/5 "Finance Charge Terms" +2
  • +procedure CalcFinChargesAmt(PostDate: Date; Code2: Code[10]; CurrCode: Code[10]; Amount: Decimal; NoOfDays: Integer)
  • +procedure GetTotalFinChargesAmt(): Decimal
table/83 "Item Journal Line" +2
  • +field(10700; "Shipment Method Code"; Code[10])
  • +field(10701; "Pmt. Discount Amount"; Decimal)
codeunit/11 "Gen. Jnl.-Check Line" 1 removed
  • −local procedure CheckTransmitted(GenJnlLine: Record "Gen. Journal Line"): Boolean
codeunit/232 "Gen. Jnl.-Post+Print" +1
  • +local event OnBeforeGLRegPostingReportPrint(var ReportID: Integer; ReqWindow: Boolean; SystemPrinter: Boolean; var GLRegister: Record "G/L Register"; var Handled: Boolean)
codeunit/3 "G/L Account-Indent" +1
  • +procedure SetHidePrintDialog(NewHidePrintDialog: Boolean)
codeunit/398 "Sales Tax Calculate" +1
  • +procedure SetAmount(TotalAmountForTax2: Decimal; TotalLineAmountForTax2: Decimal)
codeunit/5342 "CRM Synch. Helper" 1 changed
  • Δlocal procedure CalculateActualStatusCode(var CustLedgerEntry: Record "Cust. Ledger Entry"; var CRMInvoice: Record "CRM Invoice")
codeunit/5988 "Serv-Documents Mgt." +1
  • +procedure TestSalesEfects(ServiceHeader: Record "Service Header"; Cust: Record Customer)
codeunit/6 "Fiscal Year-Close" +1
  • +procedure SetHidePrintDialog(NewHidePrintDialog: Boolean)
codeunit/816 "Purch. Post Invoice" +1
  • +local procedure CalcPaymentDiscountPosting(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; PurchLineACY: Record "Purchase Line"; var InvoicePostingBuffer: Record "Invoice Posting Buffer")
codeunit/906 "SO Activities Calculate" +1
  • +local event OnAfterCalculateCueFieldValues(var SalesCue: Record "Sales Cue")
page/425 "Vendor Bank Account Card" +1
  • +local procedure UseForElectronicPaymentsOnPush()
report/105 "Customer - Summary Aging" 1 changed
  • Δprocedure InitializeRequest(StartingDate: Date; SetPeriodLength: Text[1024]; ShowAmountInLCY: Boolean)
report/117 "Reminder" +1
  • +procedure ShowCashAccountingCriteria(IssuedReminderHeader: Record "Issued Reminder Header"): Text
report/118 "Finance Charge Memo" +1
  • +procedure ShowCashAccountingCriteria(IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header"): Text
report/393 "Suggest Vendor Payments" +1
  • +local procedure CalculateGenJnlLineAmountLCY(var GenJnlAmountLCY: Decimal)
report/405 "Order" +1
  • +procedure ShowCashAccountingCriteria(PurchaseHeader: Record "Purchase Header"): Text
report/406 "Purchase - Invoice" +1
  • +procedure ShowCashAccountingCriteria(PurchInvHeader: Record "Purch. Inv. Header"): Text
table/1208 "Direct Debit Collection Entry" 1 changed
  • Δfield(4; "Applies-to Entry No."; Integer)
table/1382 "Item Templ." +1
  • +field(10700; "Cost Regulation %"; Decimal)
table/169 "Job Ledger Entry" +1
  • +field(10700; "Shipment Method Code"; Code[10])
table/242 "Source Code Setup" +1
  • +field(7000000; "Cartera Journal"; Code[10])
table/251 "Gen. Product Posting Group" +1
  • +field(5; "Operation Code"; Code[1])
table/256 "VAT Statement Line" +1
  • +field(10700; "Box"; Code[5])
table/257 "VAT Statement Name" +1
  • +field(10700; "Template Type"; Option)
table/259 "Transport Method" +1
  • +field(10700; "Port/Airport"; Boolean)
table/265 "Document Entry" +1
  • +field(7000000; "Bill No."; Code[20])
table/27 "Item" +1
  • +field(10700; "Cost Regulation %"; Decimal)
table/271 "Bank Account Ledger Entry" +1
  • +field(7000000; "Bill No."; Code[20])
table/272 "Check Ledger Entry" 1 changed
  • Δfield(14; "Original Entry Status"; Option)
table/284 "Area" +1
  • +field(10700; "Post Code Prefix"; Code[20])
table/32 "Item Ledger Entry" +1
  • +field(10700; "Shipment Method Code"; Code[10])
table/324 "VAT Product Posting Group" +1
  • +field(10703; "Delivery Operation Code"; Option)
table/363 "Analysis View" 1 changed
  • Δfield(9; "Account Filter"; Text[250])
table/461 "Prepayment Inv. Line Buffer" +1
  • +field(10700; "EC %"; Decimal)
table/751 "Standard General Journal Line" +1
  • +field(7000004; "Payment Method Code"; Code[10])
table/84 "Acc. Schedule Name" +1
  • +field(10700; "Standardized"; Boolean)
xmlport/1000 "SEPA CT pain.001.001.03" +1
  • +local procedure GetOrgIdOthrId(BankAccountNo: Code[20])
xmlport/1001 "SEPA CT pain.001.001.09" +1
  • +local procedure GetOrgIdOthrId(BankAccountNo: Code[20])
enum/256 "VAT Statement Line Type" body changes only
enum/258 "VAT Statement Line Amount Type" body changes only
enum/347 "Report Selection Usage Purchase" body changes only
enum/379 "Detailed CV Ledger Entry Type" body changes only
enum/6 "Gen. Journal Document Type" body changes only
enum/77 "Report Selection Usage" body changes only
enum/89 "Gen. Journal Template Type" body changes only
page/147 "Posted Purchase Credit Memos" body changes only
permissionset/1001 "LOCAL" body changes only
permissionset/1002 "LOCAL READ" body changes only
permissionset/1083 "Bank Accounts - View" body changes only
permissionset/2332 "D365 GLOBAL DIM MGT" body changes only
permissionset/4103 "General Ledger Journals - Edit" body changes only
report/20 "Calc. and Post VAT Settlement" body changes only
report/86 "Adjust Add. Reporting Currency" body changes only

BC29 · country layer against W1 · Learn: local functionality · narrative reviewed (checked by Opus)

Overview

The Spanish layer is large: 547 objects, 314 fields added to W1 tables, 64 events and 231 procedures. Its biggest blocks are Cartera (receivable bills, bill groups, payment orders, posting and closed documents), SII (XML creation, upload jobs, scheme code enums, history and setup pages) and the No Taxable and 340/347/349 declaration support. Posting codeunits such as Gen. Jnl.-Post Line, Sales-Post and Purch.-Post are extended with Cartera and corrected-invoice events.

Many W1 tables gain Spanish fields: CCC bank code parts on bank, customer, vendor and company records; Bill No., Document Situation and Document Status on ledger entries; EC % on sales and purchase lines; payment days and non-payment period codes on customers, vendors and Company Information; and cash accounting (VAT Cash Regime) fields on VAT Entry and VAT Posting Setup. Payment Terms get a maximum number of days to due date.

Learn documents these in the “Spain local functionality [ES]” hub and in pages on Cartera, SII, reports 340, 347 and 349, electronic payments (AEB N34, N34.1, SEPA), VAT statement export in text and XML, Factura-E and VERI*FACTU. The code also includes Service document variants, Intrastat extensions and a G/L account equivalence tool.

Key points

  • Cartera module: receivable bills, bill groups, factoring, discounting and payment orders, with posting groups, document situation and status fields, and export codeunits for N19, N32, N58, N34 and N34.1 files.
  • SII VAT reporting: SII Setup, SII History, XML creator, upload job codeunits and scheme code and invoice type enums; Customer has a Not in AEAT flag.
  • VAT declarations: reports 340, 347 and 349 supported by operation codes, delivery operation codes, No Taxable entries and cash payment reporting.
  • Equivalence Charges: EC % on sales and purchase lines, VAT Amount Line, VAT Entry and VAT Posting Setup.
  • CCC bank codes (bank, branch, control digits, account) on Company Information, Bank Account, and customer and vendor bank accounts, with BuildCCC procedures.
  • Due date control: Max. No. of Days till Due Date on Payment Terms, payment days and non-payment periods on company, customer and vendor.
  • Local ledger reporting: transaction numbers, period transaction numbering, Trial Balance and Close Income Statement changes, G/L account equivalence tool, ASC export.
  • Corrected invoices and autoinvoices: Corrected Invoice No. on headers, Correct. Doc. No. Mandatory setup, and the Same Ext. Doc. No. in Diff. FY option.

Narrative written by Sonnet from the code diff and 46 Learn page summaries. In numbers: Spain (ES) localization of Business Central in BC29: 402 objects of its own, 145 W1 objects changed (314 fields and 64 events added). From the code; country apps outside the Base Application are not included yet.

By area

Area W1 objects changed Own objects Fields added
Finance 48 113 100
Sales 27 78 64
Purchases 28 57 64
EServices 0 83 0
Service 2 28 0
(no namespace) 0 15 0
Foundation 9 4 15
Bank 11 1 53
Inventory 7 4 10
Microsoft 0 11 0
Security 5 2 0
CashFlow 2 1 0
Utilities 1 2 0
HumanResources 2 0 3
RoleCenters 1 1 4
AccountantPortal 0 1 0
ExpenseAgent 0 1 0
Integration 1 0 0
Projects 1 0 1

Finance

Adds the Cartera engine (CarteraManagement, document posting and move codeunits, Cartera enums), No Taxable handling and the 349 declaration codeunit. It extends Gen. Jnl.-Post Line with Cartera events, adds VAT, EC and cash-regime fields to VAT Entry, VAT Posting Setup and VAT Amount Line, and changes VAT Statement, Trial Balance and Close Income Statement.

Why: Learn describes equivalence charges, cash accounting criteria for report 340, transaction numbering and income statement closing as local requirements.

Objects: codeunit/12 “Gen. Jnl.-Post Line”, table/254 “VAT Entry”, table/325 “VAT Posting Setup”, table/290 “VAT Amount Line”, report/12 “VAT Statement”, report/94 “Close Income Statement”, table/98 “General Ledger Setup”, codeunit/7000000 “CarteraManagement” (own).

All 161 objects of Finance in the diff

Sales

Adds receivable Cartera: bill groups, posted and closed bill groups, documents and analysis fact boxes, plus export codeunits for N19, N32, N58 and factoring. Customer posting groups, ledger entries and sales headers gain bill, bank and corrected-invoice fields.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: table/21 “Cust. Ledger Entry”, table/92 “Customer Posting Group”, table/36 “Sales Header”, codeunit/80 “Sales-Post”, codeunit/226 “CustEntry-Apply Posted Entries”, table/287 “Customer Bank Account”, codeunit/7000092 “Bill group - Export N19” (own), page/7000009 “Bill Groups” (own).

All 105 objects of Sales in the diff

Purchases

Adds payable Cartera: payment orders, posted and closed orders, analysis pages and N34 and N34.1 export codeunits. Vendor ledger entries, bank accounts, posting groups and purchase headers gain bill, CCC, autoinvoice and corrected-invoice fields.

Why: Learn documents AEB N34.1 electronic payments and the external document number option across fiscal years.

Objects: table/25 “Vendor Ledger Entry”, table/288 “Vendor Bank Account”, table/38 “Purchase Header”, codeunit/90 “Purch.-Post”, codeunit/227 “VendEntry-Apply Posted Entries”, codeunit/7000090 “Payment order - Export N34” (own), codeunit/7000060 “PO - Export N34.1” (own), page/7000050 “Payment Orders” (own).

All 85 objects of Purchases in the diff

EServices

Adds SII reporting: XML creator, upload and retry jobs, management codeunits, setup and history pages, and many scheme code, invoice type and status enums. Also holds electronic payment management and creation codeunits.

Why: Learn explains SII as the VAT reporting system for Spain, with VERI*FACTU as an alternative.

Objects: codeunit/10750 “SII XML Creator” (own), codeunit/10752 “SII Doc. Upload Management” (own), codeunit/10756 “SII Management” (own), page/10751 “SII Setup” (own), page/10752 “SII History” (own), codeunit/10701 “Elect. Pmts Management” (own), codeunit/10721 “Create Electronic Payments” (own), enum/10700 “SII Sales Special Scheme Code” (own).

All 83 objects of EServices in the diff

Service

Adds Spanish extensions to service headers, lines, posted documents and archives, local service invoice and credit memo reports, and Cartera bill creation in service posting.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: codeunit/5987 “Serv-Posting Journals Mgt.”, codeunit/10763 “Service Document Subscr. ES” (own), codeunit/10789 “Service Posting Subscr. ES” (own), report/10792 “Service Invoice (ES)” (own), report/10791 “Service Credit Memo (ES)” (own), tableextension/10790 “Service Header ES” (own), tableextension/10792 “Service Invoice Header ES” (own), codeunit/10768 “Service Invoice Header - Edit” (own).

All 30 objects of Service in the diff

Foundation

Extends Payment Terms with maximum days to due date, installments and VAT distribution. Adds CCC and payment day fields to Company Information, county code to Post Code, and category codes and a Cartera journal source code.

Why: Learn describes legal limits on payment delays and CCC and NACE codes on Company Information.

Objects: table/3 “Payment Terms”, table/79 “Company Information”, table/9 “Country/Region”, table/225 “Post Code”, table/7000009 “Category Code” (own), table/242 “Source Code Setup”, page/344 “Navigate”.

All 13 objects of Foundation in the diff

Bank

Adds CCC fields, Cartera fees and discount limits to Bank Account, Cartera accounts to bank posting groups, and Cartera options to Payment Method. Adds a Bank - Risk report, local Check amount-in-words text and SEPA hooks.

Why: Learn documents CCC bank codes and electronic payment exports in SEPA, AEB N34 and N34.1 formats.

Objects: table/270 “Bank Account”, table/289 “Payment Method”, table/277 “Bank Account Posting Group”, report/7000005 “Bank - Risk” (own), report/1401 “Check”, table/1207 “Direct Debit Collection”, codeunit/1222 “SEPA CT-Prepare Source”, xmlport/1000 “SEPA CT pain.001.001.03”.

All 12 objects of Bank in the diff

Inventory

Extends Intrastat with Spanish fields and a management codeunit, and adds Shipment Method Code on item entries. Item and Item Templ. gain Cost Regulation %, Transport Method a Port/Airport field.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: table/263 “Intrastat Jnl. Line”, codeunit/10790 “IntrastatReportManagementES” (own), pageextension/10790 “Intrastat Report Subform ES” (own), pageextension/10791 “Intrastat Report Setup ES” (own), table/27 “Item”, table/259 “Transport Method”, table/32 “Item Ledger Entry”.

All 11 objects of Inventory in the diff

Microsoft

Holds own tables and XML ports for the G/L accounts equivalence tool, historic consolidation import and export, and income statement closing buffers.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: table/10720 “G/L Accounts Equivalence Tool” (own), table/10721 “Historic G/L Account” (own), table/10722 “New G/L Account” (own), xmlport/10720 “G/L Importing Tool” (own), xmlport/10700 “Hist. Consolid. Import/Export” (own), table/10700 “Inc. Stmt. Clos. Buffer” (own), enum/10727 “ES Document Situation” (own).

All 11 objects of Microsoft in the diff

Security

Adds SII extensions to the LOCAL and LOCAL READ permission sets and changes several W1 permission sets.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: permissionsetextension/1001 “SII LOCAL” (own), permissionsetextension/7000002 “SII LOCAL READ” (own), permissionset/1001 “LOCAL”, permissionset/1002 “LOCAL READ”.

All 7 objects of Security in the diff

CashFlow

Suggest Worksheet Lines gains procedures to split sales and purchase invoices by payment terms, with a service-line event and helper codeunit.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: report/840 “Suggest Worksheet Lines”, codeunit/7000034 “Serv. SuggestWorksheetLines ES” (own), reportextension/6485 “Serv. Suggest Worksheet Lines”.

All 3 objects of CashFlow in the diff

Utilities

Copy Document Mgt. gets Cartera checks and ledger entry updates. Own codeunits cover localization management and SII data classification.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: codeunit/6620 “Copy Document Mgt.”, codeunit/10760 “Localization Management” (own), codeunit/7000030 “SII DataClass EvalData Country” (own).

All 3 objects of Utilities in the diff

HumanResources

Employee gains First, Middle and Last Name fields with an update procedure from the old name fields.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: table/5200 “Employee”, table/5205 “Employee Relative”.

All 2 objects of HumanResources in the diff

RoleCenters

Cues for receivable and payable documents are added to the SB Owner Cue, and an SII Activities cue is added.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: table/9060 “SB Owner Cue”, tableextension/7000043 “SII Activities Cue” (own).

All 2 objects of RoleCenters in the diff

Projects

Job Ledger Entry gains a Shipment Method Code field.

Why: not explained by a Learn page in the input; the code shows the change, not the requirement.

Objects: table/169 “Job Ledger Entry”.

All 1 objects of Projects in the diff

Objects of its own

402 objects only this country has.

Other versions

  • BC30: 543 objects differ from W1 (314 fields, 63 events added)

Source: country layer of the Base Application compared with W1 of the same version (data/code/diffs/country/).