localization · BC29official - Microsoftreviewed - checked by Opus

Italy (IT)

Italy (IT) localization of Business Central 29 covering Italian VAT (non-deductible VAT, VAT settlement, VAT transactions reports), withholding tax and contributions, customer and vendor bills with SEPA, FatturaPA e-invoicing, Intrastat, fiscal inventory valuation, Italian fixed asset depreciation and subcontracting. It answers what Italy adds to W1 and where.

What IT changes in W1 196 objects, BC29

table/36 "Sales Header" +65, 3 changed, 2 removed
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12128; "Place of Birth"; Text[30])
  • +field(12130; "Fiscal Code"; Code[20])
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Resident"; Option)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12136; "Tax Representative Type"; Option)
  • +field(12137; "Tax Representative No."; Code[20])
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12170; "Payment %"; Decimal)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12173; "Cumulative Bank Receipts"; Boolean)
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +field(12182; "Fattura Project Code"; Code[15])
  • +field(12183; "Fattura Tender Code"; Code[15])
  • +field(12184; "Customer Purchase Order No."; Text[35])
  • +field(12185; "Fattura Stamp"; Boolean)
  • +field(12186; "Fattura Stamp Amount"; Decimal)
  • +field(12187; "Fattura Document Type"; Code[20])
  • +local event OnAfterInitializeTotalingSalesLine(var TotalingSalesLine: Record "Sales Line"; SplitSalesLine: Record "Sales Line"; VATPostingSetup: Record "VAT Posting Setup")
  • +local event OnAfterSetOperationType(var SalesHeader: Record "Sales Header")
  • +event OnBeforeFindVATExemption(var SalesHeader: Record "Sales Header"; var VATExemption: Record "VAT Exemption"; var Check: Boolean; CheckFirst: Boolean; var Result: Boolean; var IsHandled: Boolean)
  • +local event OnBeforeLookupOperationType(var SalesHeader: Record "Sales Header"; xSalesHeader: Record "Sales Header"; var NoSeries: Record "No. Series")
  • +local event OnBeforeValidateOperationType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
  • +local event OnBeforeSetOperationType(var IsHandled: Boolean)
  • +local event OnAfterInitInsert()
  • +local event OnAddSplitVATLinesIgnoringALineBeforeInsertTotalingSalesLineLoop(SplitSalesLine: Record "Sales line"; var TotalingSalesLine: Record "Sales Line")
  • +local event OnAddSplitVATLinesIgnoringALineBeforeInsertTotalingSalesLineFinal(SplitSalesLine: Record "Sales line"; var TotalingSalesLine: Record "Sales Line")
  • +local event OnAddSplitVATLinesIgnoringALineOnAfterSetSplitSalesLineFilters(var SplitSalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header")
  • +local event OnDeleteOnBeforeCheckPostingNo(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
  • +procedure SetOperationType()
  • +local procedure ValidateOperationType()
  • +local procedure UpdateTDDPreparedBy()
  • +local procedure CheckShipAgentMethodComb()
  • +procedure CheckTDDData()
  • +procedure CheckVATExemption(): Boolean
  • +procedure FindVATExemption(var VATExemption: Record "VAT Exemption"; var Check: Boolean; CheckFirst: Boolean): Boolean
  • +procedure InitFields()
  • +procedure GetVATRegistrationNo(CustNo: Code[20]): Text[20]
  • +procedure AssignVATRegistrationNo(CustNo: Code[20])
  • +procedure GenerateSplitVATLines()
  • +procedure AddSplitVATLines()
  • +procedure AddSplitVATLinesIgnoringALine(SalesLineToIgnore: Record "Sales Line")
  • +procedure GetSplitVATLines(var SplitSalesLine: Record "Sales Line"): Boolean
  • +procedure RemoveSplitVATLines(var SplitSalesLine: Record "Sales Line")
  • +local procedure RemoveSplitVATLinesIfExist(var SplitSalesLine: Record "Sales Line"; LinesExist: Boolean)
  • +procedure UpdateTotalingSalesLine(SplitSalesLine: Record "Sales Line"; var TotalingSalesLine: Record "Sales Line")
  • +procedure InitializeTotalingSalesLine(SplitSalesLine: Record "Sales Line"; var TotalingSalesLine: Record "Sales Line"; LineNo: Integer)
  • +procedure GetVATPostingSetup(var VATPostingSetup: Record "VAT Posting Setup"; SplitSalesLine: Record "Sales Line")
  • +procedure GetHighestLineNo(SplitSalesLine: Record "Sales Line"): Integer
  • +procedure IncrementLineNo(LineNo: Integer): Integer
  • +procedure ComposeUserMessage(SplitVATLinesExist: Boolean; ChangedFieldName: Text[100]): Text
  • +local procedure AskUser(SplitVATLinesExist: Boolean; ChangedFieldName: Text[100]): Boolean
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeValidateDueDate(var SalesHeader: Record "Sales Header"; xSalesHeader: Record "Sales Header"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeValidateDueDateWhenBlank(var SalesHeader: Record "Sales Header"; xSalesHeader: Record "Sales Header"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeCalculatePrepaymentDueDate(var SalesHeader: Record "Sales Header"; xSalesHeader: Record "Sales Header"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • −local event OnValidatePaymentTermsCodeOnAfterValidatePaymentDiscountWhenBlank(var SalesHeader: Record "Sales Header"; var xSalesHeader: Record "Sales Header"; CurrentFieldNo: Integer)
  • −local procedure UpdateDocumentDateFromLinkedPostingDate(WithValidate: Boolean)
table/254 "VAT Entry" +55, 13 changed, 1 removed
  • +field(12100; "VAT Identifier"; Code[20])
  • +field(12101; "Deductible %"; Decimal)
  • +field(12102; "Nondeductible Amount"; Decimal)
  • +field(12104; "Add. Curr. Nondeductible Amt."; Decimal)
  • +field(12106; "VAT %"; Decimal)
  • +field(12109; "Nondeductible Base"; Decimal)
  • +field(12110; "Add. Curr. Nondeductible Base"; Decimal)
  • +field(12111; "Operation Occurred Date"; Date)
  • +field(12112; "VAT Period"; Code[10])
  • +field(12120; "Include in VAT Transac. Rep."; Boolean)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12124; "Reverse Sales VAT"; Boolean)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Transport Method"; Code[10])
  • +field(12128; "Plafond Entry"; Boolean)
  • +field(12130; "Blacklisted"; Boolean)
  • +field(12131; "Blacklist Amount"; Decimal)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12136; "Individual Person"; Boolean)
  • +field(12137; "Resident"; Option)
  • +field(12140; "Contract No."; Code[20])
  • +field(12178; "Payment Method"; Code[10])
  • +field(12179; "Fiscal Code"; Code[20])
  • +field(12180; "Refers To Period"; Option)
  • +field(12182; "Place of Birth"; Text[30])
  • +field(12183; "Tax Representative Type"; Option)
  • +field(12184; "Tax Representative No."; Code[20])
  • +field(12185; "VAT Transaction Nature"; Code[4])
  • +field(12186; "Fattura Document Type"; Code[20])
  • +field(12187; "Fattura File Exported"; Boolean)
  • +field(12188; "Fattura Vendor No."; Code[20])
  • +key(Key14; "Fiscal Code", "Operation Occurred Date")
  • +key(Key15; "VAT Registration No.", "Operation Occurred Date")
  • +key(Key16; "Operation Occurred Date", "Type", "Document Type", "Document No.", "Contract No.")
  • +key(Key17; "Posting Date", "Type", "Document Type", "Document No.")
  • +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")
  • +key(Key12100; "Type", "Closed", "Tax Liable", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Operation Occurred Date", "VAT Period")
  • +procedure GetUnrealizedVATPart(SettledAmount: Decimal; Paid: Decimal; Full: Decimal; TotalUnrealVATAmountFirst: Decimal; TotalUnrealVATAmountLast: Decimal; LedgEntryOpen: Boolean): Decimal
  • +local procedure CalcVATPart(CurrencyCode: Code[20]; CurrencyFactor: Decimal; SettledAmount: Decimal; TotalAmount: Decimal): Decimal
  • +procedure SetUseAddCurrAmounts(NewUseAddCurrAmounts: Boolean)
  • +procedure SetCalculateSum(NewCalculateSum: Boolean)
  • +procedure GetAmount(): Decimal
  • +procedure GetBase(): Decimal
  • +procedure GetRemUnrealAmount(): Decimal
  • +procedure GetRemUnrealBase(): Decimal
  • +procedure GetNonDeductAmount(): Decimal
  • +procedure GetNonDeductBase(): Decimal
  • +procedure GetVATEntryFromVendLedgEntryNo(var VATEntry: Record "VAT Entry"; EntryNo: Integer)
  • Δfield(12; "Bill-to/Pay-to No."; Code[20])
  • Δkey(Key2; "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Posting Date", "VAT Period", "Operation Occurred Date", "Activity Code", "Document Type", "VAT Registration No.")
  • Δkey(Key3; "Type", "Closed", "Reverse Sales VAT", "EU Service", "Activity Code", "Document Type", "Bill-to/Pay-to No.", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "VAT Period", "Operation Occurred Date", "Document Date", "Refers To Period")
  • Δkey(Key4; "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Posting Date", "G/L Acc. No.", "VAT Reporting Date")
  • Δkey(Key5; "Type", "Closed", "Tax Jurisdiction Code", "Use Tax", "Posting Date")
  • Δkey(Key6; "Type", "Country/Region Code", "VAT Registration No.", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Posting Date")
  • Δkey(Key7; "Document No.", "Posting Date", "Unrealized VAT Entry No.")
  • Δkey(Key8; "Transaction No.")
  • Δkey(Key9; "Tax Jurisdiction Code", "Tax Group Used", "Tax Type", "Use Tax", "Posting Date")
  • Δkey(Key10; "Type", "Bill-to/Pay-to No.", "Transaction No.")
  • Δkey(Key11; "Document No.", "Type", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "VAT %", "Deductible %", "VAT Identifier", "Transaction No.", "Unrealized VAT Entry No.")
  • Δkey(Key12; "Related Entry No.")
  • Δkey(Key13; "Plafond Entry", "Type", "Operation Occurred Date")
  • −procedure GetUnrealizedVATPart(SettledAmount: Decimal; Paid: Decimal; Full: Decimal; TotalUnrealVATAmountFirst: Decimal; TotalUnrealVATAmountLast: Decimal): Decimal
codeunit/12 "Gen. Jnl.-Post Line" +52, 4 changed, 12 removed
  • +local event OnBeforeInsertGLBookEntry(var GLEntry: Record "G/L Entry"; var IsHandled: Boolean)
  • +local event OnBeforeCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextEntryNo: Integer; PaymentTermsLine: Record "Payment Lines")
  • +local event OnBeforeVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register"; PaymentTermsLine: Record "Payment Lines")
  • +local event OnAfterInsertGLBookEntry(var GLEntry: Record "G/L Entry")
  • +local event OnBeforeHandleBill(CustLedgEntry: Record "Cust. Ledger Entry"; IsUnApply: Boolean; var IsHandled: Boolean)
  • +local event OnPostVendAfterTempDtldCVLedgEntryBufInit(var GenJnlLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary)
  • +local event OnHandleBillOnBeforeUpdateCustLedgEntryBankRcpt(var OldCustLedgEntry2: Record "Cust. Ledger Entry"; var CustLedgEntry: Record "Cust. Ledger Entry"; IsUnApply: Boolean)
  • +local event OnHandleBillOnAfterUpdateCustLedgEntryBankRcpt(var OldCustLedgEntry2: Record "Cust. Ledger Entry"; var CustLedgEntry: Record "Cust. Ledger Entry"; IsUnApply: Boolean)
  • +local event OnAfterHandleBill(var CustLedgEntry: Record "Cust. Ledger Entry"; IsUnApply: Boolean)
  • +local event OnInsertVATOnBeforeReverseChargeVATEntryInsert(var VATEntry: Record "VAT Entry"; var GenJnlLine: Record "Gen. Journal Line")
  • +local event OnBeforeCheckWithholdTax(DocType: Option " ",,Invoice,"Credit Memo"; DocNo: Code[20]; GenJournalLine: Record "Gen. Journal Line"; ApplyInGenJnlLine: Boolean; var IsHandled: Boolean)
  • +local event OnBeforeInsertVATBookEntry(var NewVATEntry: record "VAT Entry"; var IsHandled: Boolean; var SkipCheckIfVATPeriodClosed: Boolean)
  • +local event OnPostVendOnBeforeLoopPaymentTermsLine(var GenJournalLine: Record "Gen. Journal Line"; var PaymentLines: Record "Payment Lines"; var TotalAmountLCY: Decimal; var TotalAmount2: Decimal; var RemainingAmountLCY: Decimal; var TotalSalesPurchLCY: Decimal; var RemainingSalesPurchLCY: Decimal; var TotalProfitLCY: Decimal; var RemainingProfitLCY: Decimal)
  • +local event OnPostVendOnBeforeTempDtldCVLedgEntryBufInit(var GenJournalLine: Record "Gen. Journal Line"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var PaymentLines: Record "Payment Lines"; var TotalAmount2: Decimal; var TotalAmountLCY: Decimal; var EntryAmount: Decimal; var EntryAmountLCY: Decimal; Iterations: Integer; NoOfPayments: Integer; AmountRoundingPrecision: Decimal)
  • +local event OnPostCustOnBeforeTempDtldCVLedgEntryBufInit(var GenJournalLine: Record "Gen. Journal Line"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var PaymentLines: Record "Payment Lines"; var TotalAmount2: Decimal; var TotalAmountLCY: Decimal; var EntryAmount: Decimal; var EntryAmountLCY: Decimal; Iterations: Integer; NoOfPayments: Integer; AmountRoundingPrecision: Decimal)
  • +local event OnPostCustOnBeforeLoopPaymentTermsLine(var GenJournalLine: Record "Gen. Journal Line"; var PaymentLines: Record "Payment Lines"; var TotalAmountLCY: Decimal; var TotalAmount2: Decimal; var RemainingAmountLCY: Decimal; var TotalSalesPurchLCY: Decimal; var RemainingSalesPurchLCY: Decimal; var TotalProfitLCY: Decimal; var RemainingProfitLCY: Decimal)
  • +local event OnHandleBillOnBeforeModifyOldCustLedgEntry(var OldCustLedgerEntry2: Record "Cust. Ledger Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; IsUnApply: Boolean)
  • +local event OnBeforeApplyBill(var NewCustLedgerEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
  • +local event OnBeforeInitPaymentTerms(var PaymentLines: Record "Payment Lines"; var GenJournalLine: Record "Gen. Journal Line"; var NoOfPayments: Integer; var IsHandled: Boolean)
  • +local event OnInsertVATBookEntryOnAfterSetFilters(var VATBookEntry: Record "VAT Book Entry"; VATEntry: Record "VAT Entry")
  • +local event OnAfterInsertVATBookEntry(var VATBookEntry: Record "VAT Book Entry"; VATEntry: Record "VAT Entry")
  • +local event OnBeforePostingDeferral(GenJnlLine: Record "Gen. Journal Line"; VendLedgEntry: Record "Vendor Ledger Entry"; NextTransactionNo: Integer; var NextTaxEntryNo: Integer; var IsHandled: Boolean)
  • +local procedure FindNextOldCustLedgEntryToApply(GenJnlLine: Record "Gen. Journal Line"; var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary; NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; PaymentTerms: Record "Payment Terms"): Boolean
  • +procedure CustUnrealizedVAT(GenJnlLine: Record "Gen. Journal Line"; var CustLedgEntry2: Record "Cust. Ledger Entry"; SettledAmount: Decimal; DocOccurrenceAppliedAmount: Decimal)
  • +local procedure FindNextOldVendLedgEntryToApply(GenJnlLine: Record "Gen. Journal Line"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; PaymentTerms: Record "Payment Terms"): Boolean
  • +procedure VendUnrealizedVAT(GenJnlLine: Record "Gen. Journal Line"; var VendLedgEntry2: Record "Vendor Ledger Entry"; SettledAmount: Decimal; DocOccurrenceAppliedAmount: Decimal)
  • +local procedure UpdateCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var UnAppliedBill: Boolean)
  • +local procedure GetNonDeductibleVATAccountNo(PostingGLAccountNo: Code[20]; VATPostingSetup: Record "VAT Posting Setup"): Code[20]
  • +procedure IncrNextTransactionNo()
  • +procedure InitPaymentTerms(GenJnlLine: Record "Gen. Journal Line")
  • +procedure ChangeVATAmounts(var VATAmount: Decimal; var BaseAmount: Decimal; var NondeductibleVATAmount: Decimal; var NondeductibleBaseAmount: Decimal; DeductiblePct: Decimal; AmountRoundingPrecision: Decimal; var NonDedVATAmountRounding: Decimal; var NonDedVATBaseRounding: Decimal)
  • +procedure GetNonDeductibleAmount(Amount: Decimal; DeductiblePercent: Decimal; AmountRoundingPrecision: Decimal; var Rounding: Decimal): Decimal
  • +procedure InsertVATBookEntry(NewVATEntry: Record "VAT Entry")
  • +procedure InsertGLBookEntry(NewGLEntry: Record "G/L Entry")
  • +procedure SetCheckDim(CheckDimTmp: Boolean)
  • +local procedure SetRelatedEntryData(GenJnlLine: Record "Gen. Journal Line")
  • +procedure CheckIfVATPeriodClosed(PostingDate: Date)
  • +procedure CheckWithholdTax(DocType: Option " ",,Invoice,"Credit Memo"; DocNo: Code[20]; GenJnlLine: Record "Gen. Journal Line"; ApplyInGenJnlLine: Boolean)
  • +local procedure UpdateWithholdTaxExtDocNo(VendorLedgerEntry: Record "Vendor Ledger Entry"; GenJnlLine: Record "Gen. Journal Line")
  • +procedure CheckVATPlafond(var VATEntry: Record "VAT Entry"; ValidateVATIdentifier: Boolean)
  • +procedure ApplyBill(var NewCustLedgEntry: Record "Cust. Ledger Entry")
  • +procedure UnapplyBill(var NewCustLedgEntry: Record "Cust. Ledger Entry")
  • +procedure HandleBill(var CustLedgEntry: Record "Cust. Ledger Entry"; IsUnApply: Boolean)
  • +local procedure UpdateCustLedgEntryBankRcpt(var CustLedgerEntry: Record "Cust. Ledger Entry"; CustLedgerEntrySource: Record "Cust. Ledger Entry")
  • +local procedure ClearCustLedgEntryBankRcpt(var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +local procedure UpdDtldCustLedgEntryBankRcpt(EntryNo: Integer; BankReceiptIssued: Boolean)
  • +local procedure UpdateWithholdingTax(ComputedWithholdTax: Record "Computed Withholding Tax"; DocNo: Code[20])
  • +local procedure InsertDeferralNonDeductibleVATGLEntries(HasNonDeductibleVAT: Boolean; DeferralPostingBuffer: Record "Deferral Posting Buffer"; VATPostingSetup: Record "VAT Posting Setup"; GenJournalLine: Record "Gen. Journal Line"; DeferralTemplate: Record "Deferral Template"; var PositiveVATAmountRounding: Decimal; var NegativeVATAmountRounding: Decimal; var PositiveNDVATAmountRounding: Decimal; var NegativeNDVATAmountRounding: Decimal)
  • +local procedure IsReminderFinChargeMemoCanceling(GenJournalLine: Record "Gen. Journal Line"): Boolean
  • +local procedure CalcCustPaidAmount(CustLedgerEntry2: Record "Cust. Ledger Entry"; var PaidAmount: Decimal; var TotalOriginalAmtLCY: Decimal; SettledAmount: Decimal; DocOccurrenceAppliedAmount: Decimal)
  • +local procedure CalcVendPaidAmount(VendorLedgerEntry2: Record "Vendor Ledger Entry"; var PaidAmount: Decimal; var TotalOriginalAmtLCY: Decimal; SettledAmount: Decimal; DocOccurrenceAppliedAmount: Decimal)
  • +local procedure UpdateDocOccurrenceAppliedAmount(var TempCVLedgerEntryBufferDocOccurrence: Record "CV Ledger Entry Buffer" temporary; AppliedAmount: Decimal; DocumentType: Enum "Gen. Journal Document Type"; DocumentNo: Code[20]; PostingDate: Date; CVNo: Code[20])
  • Δ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)
  • Δlocal event OnPostCustOnBeforeInsertDtldCVLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; var TempDetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)
  • −local event OnBeforeCustLedgEntryInsert(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextEntryNo: Integer)
  • −local event OnBeforeVendLedgEntryInsert(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; GLRegister: Record "G/L Register")
  • −local event OnPostCustOnBeforeCopyFromCustLedgEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; Customer: Record Customer)
  • −local event OnPostVendAfterTempDtldCVLedgEntryBufInit(var GenJnlLine: Record "Gen. Journal Line"; var TempDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer" temporary; TaxAmount: Decimal; TaxAmountLCY: Decimal)
  • −local event OnPostVendOnAfterInitVendLedgEntry(var GenJnlLine: Record "Gen. Journal Line"; var VendLedgEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor; var TaxAmount: Decimal; var TaxAmountLCY: Decimal)
  • −local event OnBeforePostingDeferral(GenJnlLine: Record "Gen. Journal Line"; VendLedgEntry: Record "Vendor Ledger Entry"; TaxAmount: Decimal; TaxAmountLCY: Decimal; NextTransactionNo: Integer; var NextTaxEntryNo: Integer; var IsHandled: Boolean)
  • −local procedure CalcPmtDiscPossible(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")
  • −local procedure FindNextOldCustLedgEntryToApply(GenJnlLine: Record "Gen. Journal Line"; var TempOldCustLedgEntry: Record "Cust. Ledger Entry" temporary; NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"): Boolean
  • −procedure CustUnrealizedVAT(GenJnlLine: Record "Gen. Journal Line"; var CustLedgEntry2: Record "Cust. Ledger Entry"; SettledAmount: Decimal)
  • −local procedure FindNextOldVendLedgEntryToApply(GenJnlLine: Record "Gen. Journal Line"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"): Boolean
  • −procedure VendUnrealizedVAT(GenJnlLine: Record "Gen. Journal Line"; var VendLedgEntry2: Record "Vendor Ledger Entry"; SettledAmount: Decimal)
  • −local procedure UpdateCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry")
table/38 "Purchase Header" +46, 9 changed
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12103; "Check Total"; Decimal)
  • +field(12104; "Reverse Sales VAT No. Series"; Code[20])
  • +field(12105; "Reverse Sales VAT No."; Code[20])
  • +field(12106; "Shipping Agent Code"; Code[10])
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Tax Representative Type"; Option)
  • +field(12127; "Tax Representative No."; Code[20])
  • +field(12130; "Resident"; Option)
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "Birth City"; Text[30])
  • +field(12134; "First Name"; Text[30])
  • +field(12135; "Last Name"; Text[30])
  • +field(12136; "Date of Birth"; Date)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12142; "Fiscal Code"; Code[20])
  • +field(12170; "Payment %"; Decimal)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +field(12180; "Subcontracting Order"; Boolean)
  • +field(12181; "Subcontracting Location Code"; Code[10])
  • +key(Key11; "Document Type", "Buy-from Contact No.")
  • +event OnBeforeFindVATExemption(var PurchaseHeader: Record "Purchase Header"; var VATExemption: Record "VAT Exemption"; var Check: Boolean; CheckFirst: Boolean; var Result: Boolean; var IsHandled: Boolean)
  • +local event OnAfterSetOperationType(var PurchaseHeader: Record "Purchase Header")
  • +local event OnBeforeValidateOperationType(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
  • +local event OnBeforeSetOperationType(var IsHandled: Boolean)
  • +procedure SetOperationType()
  • +local procedure ValidateOperationType()
  • +local procedure UpdateTDDPreparedBy()
  • +local procedure CheckShipAgentMethodComb()
  • +procedure CheckTDDData()
  • +procedure CheckVATExemption(): Boolean
  • +procedure FindVATExemption(var VATExemption: Record "VAT Exemption"; var Check: Boolean; CheckFirst: Boolean): Boolean
  • +procedure InitFields()
  • +procedure AssignVATRegistrationNo(VendorNo: Code[20])
  • +procedure GetVATRegistrationNo(VendorNo: Code[20]): Text[20]
  • Δfield(143; "Prepmt. Payment Terms Code"; Code[10])
  • Δkey(Key6; "Document Type", "Posting Date")
  • Δkey(Key7; "Incoming Document Entry No.")
  • Δkey(Key8; "Document Date")
  • Δkey(Key9; "Status", "Expected Receipt Date", "Location Code", "Responsibility Center")
  • Δkey(Key10; "Assigned User ID")
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeValidatePmtDiscountWhenBlank(var PurchaseHeader: Record "Purchase Header")
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeValidateDueDate(var PurchaseHeader: Record "Purchase Header"; xPurchaseHeader: Record "Purchase Header"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeValidateDueDateWhenBlank(var PurchaseHeader: Record "Purchase Header"; xPurchaseHeader: Record "Purchase Header"; CurrentFieldNo: Integer; var IsHandled: Boolean)
table/81 "Gen. Journal Line" +48, 2 changed
  • +field(12100; "VAT Identifier"; Code[20])
  • +field(12101; "Fiscal Code"; Code[20])
  • +field(12102; "Deductible %"; Decimal)
  • +field(12103; "Bal. Deductible %"; Decimal)
  • +field(12110; "Operation Occurred Date"; Date)
  • +field(12111; "Reverse Sales VAT No. Series"; Code[20])
  • +field(12112; "Reverse Sales VAT No."; Code[20])
  • +field(12113; "Closing Balance Sheet"; Boolean)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Transport Method"; Code[10])
  • +field(12128; "Include in VAT Transac. Rep."; Boolean)
  • +field(12130; "Resident"; Option)
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12136; "Tax Representative Type"; Option)
  • +field(12137; "Tax Representative No."; Code[20])
  • +field(12138; "Place of Birth"; Text[30])
  • +field(12139; "Refers to Period"; Option)
  • +field(12140; "Contract No."; Code[20])
  • +field(12170; "Payment %"; Decimal)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Receipt"; Boolean)
  • +field(12174; "Cumulative Bank Receipts"; Boolean)
  • +field(12175; "Document Type to Close"; Enum "Gen. Journal Document Type")
  • +field(12176; "Document No. to Close"; Code[20])
  • +field(12177; "Document Occurrence to Close"; Integer)
  • +field(12179; "Allow Issue"; Boolean)
  • +field(12186; "Fattura Document Type"; Code[20])
  • +local event OnCreatePurchasePaymentLineOnAfterCalculateDueDate(var PaymentPurchase: Record "Payment Lines"; PaymentTermsLine: Record "Payment Lines"; GenJournalLine: Record "Gen. Journal Line")
  • +procedure InitNewLine(PostingDate: Date; DocumentDate: Date; PostingDescription: Text[100]; ShortcutDim1Code: Code[20]; ShortcutDim2Code: Code[20]; DimSetID: Integer; ReasonCode: Code[10])
  • +procedure DeleteTmpWithhSocSec()
  • +procedure InsertPaymentLines()
  • +procedure InsertPaymentTermsLines()
  • +procedure DeleteSalesPaymentLines()
  • +procedure PurchasePayment()
  • +procedure CreatePurchasePaymentLine()
  • +procedure CreateSalesPaymentLine()
  • +procedure ExchangeDate(): Date
  • +procedure ValidateIncludeInDT(): Boolean
  • +procedure CheckincludeInVATSetup(): Boolean
  • +procedure InitFields()
  • +procedure ConvertPurchTaxRepresentativeTypeToGenJnlLine(TaxRepresentativeType: Option " ",Vendor,Contact): Integer
  • +procedure ConvertSalesTaxRepresentativeTypeToGenJnlLine(TaxRepresentativeType: Option " ",Customer,Contact): Integer
  • +local procedure GetReverseSalesVATNoSeries()
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeCalculateDueDate(var GenJournalLine: Record "Gen. Journal Line"; PaymentTerms: Record "Payment Terms"; var IsHandled: Boolean)
  • Δlocal event OnValidatePaymentTermsCodeOnBeforeCalculatePmtDiscountDate(var GenJournalLine: Record "Gen. Journal Line"; PaymentTerms: Record "Payment Terms"; var IsHandled: Boolean)
table/23 "Vendor" +44
  • +field(12100; "Int. on Arrears Code"; Code[10])
  • +field(12101; "Fiscal Code"; Code[20])
  • +field(12102; "Withholding Tax Code"; Code[20])
  • +field(12103; "Social Security Code"; Code[20])
  • +field(12104; "Soc. Sec. Company Base"; Decimal)
  • +field(12105; "Soc. Sec. 3 Parties Base"; Decimal)
  • +field(12106; "Resident"; Option)
  • +field(12108; "Individual Person"; Boolean)
  • +field(12109; "Date of Birth"; Date)
  • +field(12110; "Birth City"; Text[30])
  • +field(12111; "Birth Post Code"; Code[20])
  • +field(12112; "Birth County"; Text[30])
  • +field(12113; "Gender"; Option)
  • +field(12114; "Residence Address"; Text[50])
  • +field(12115; "Residence Post Code"; Code[20])
  • +field(12116; "Residence City"; Text[30])
  • +field(12117; "Country of Fiscal Domicile"; Code[10])
  • +field(12118; "Contribution Fiscal Code"; Code[20])
  • +field(12119; "Tax Exempt Amount (LCY)"; Decimal)
  • +field(12120; "INAIL Code"; Code[20])
  • +field(12121; "INAIL Company Base"; Decimal)
  • +field(12122; "INAIL 3 Parties Base"; Decimal)
  • +field(12126; "Tax Representative Type"; Option)
  • +field(12127; "Tax Representative No."; Code[20])
  • +field(12129; "Birth Country/Region Code"; Code[10])
  • +field(12130; "Residence County"; Text[30])
  • +field(12131; "Residence Country/Region Code"; Code[10])
  • +field(12170; "Apply Company Payment days"; Boolean)
  • +field(12180; "Subcontracting Location Code"; Code[10])
  • +field(12181; "Subcontractor Procurement"; Boolean)
  • +field(12182; "Linked to Work Center"; Boolean)
  • +field(12183; "Subcontractor"; Boolean)
  • +field(12184; "First Name"; Text[30])
  • +field(12185; "Last Name"; Text[30])
  • +field(12186; "Prepmt. Payment Terms Code"; Code[10])
  • +field(12187; "Special Category"; Option)
  • +local event OnBeforeValidateFiscalCode(var Vendor: Record Vendor; xVendor: Record Vendor; var IsHandled: Boolean)
  • +procedure GetTDDAddr(VendorNo: Code[20]; var AddrArray: array[8] of Text[100])
  • +procedure InitFields()
  • +procedure ValidateIndividualPerson()
  • +procedure LookupEntryNo(EntryNo: Integer): Integer
  • +procedure IsCustomAuthorityVendor(): Boolean
  • +local procedure GetNonCustomVendors(var TempVendor: Record Vendor temporary)
  • +procedure GetTaxCode(): Code[20]
table/1383 "Vendor Templ." +33, 1 changed
  • +field(12100; "Int. on Arrears Code"; Code[10])
  • +field(12101; "Fiscal Code"; Code[20])
  • +field(12102; "Withholding Tax Code"; Code[20])
  • +field(12103; "Social Security Code"; Code[20])
  • +field(12105; "Soc. Sec. 3 Parties Base"; Decimal)
  • +field(12106; "Resident"; Option)
  • +field(12108; "Individual Person"; Boolean)
  • +field(12109; "Date of Birth"; Date)
  • +field(12110; "Birth City"; Text[30])
  • +field(12111; "Birth Post Code"; Code[20])
  • +field(12112; "Birth County"; Text[30])
  • +field(12113; "Gender"; Option)
  • +field(12114; "Residence Address"; Text[50])
  • +field(12115; "Residence Post Code"; Code[20])
  • +field(12116; "Residence City"; Text[30])
  • +field(12117; "Country of Fiscal Domicile"; Code[10])
  • +field(12118; "Contribution Fiscal Code"; Code[20])
  • +field(12119; "Tax Exempt Amount (LCY)"; Decimal)
  • +field(12120; "INAIL Code"; Code[20])
  • +field(12122; "INAIL 3 Parties Base"; Decimal)
  • +field(12126; "Tax Representative Type"; Option)
  • +field(12127; "Tax Representative No."; Code[20])
  • +field(12129; "Birth Country/Region Code"; Code[10])
  • +field(12130; "Residence County"; Text[30])
  • +field(12131; "Residence Country/Region Code"; Code[10])
  • +field(12170; "Apply Company Payment days"; Boolean)
  • +field(12180; "Subcontracting Location Code"; Code[10])
  • +field(12181; "Subcontractor Procurement"; Boolean)
  • +field(12183; "Subcontractor"; Boolean)
  • +field(12184; "First Name"; Text[30])
  • +field(12185; "Last Name"; Text[30])
  • +field(12186; "Prepmt. Payment Terms Code"; Code[10])
  • +field(12187; "Special Category"; Option)
  • Δfield(14; "Our Account No."; Text[20])
report/20 "Calc. and Post VAT Settlement" +20, 2 changed, 10 removed
  • +procedure InitializeRequest(NewStartDate: Date; NewEndDate: Date; NewPostingDate: Date; NewDocNo: Code[20]; NewSettlementAcc: Code[20]; NewPosRoundAcc: Code[20]; NewNegRoundAcc: Code[20]; ShowVATEntries: Boolean; Post: Boolean)
  • +local procedure AddToTotals(TotalDictionary: Dictionary of [Code[6], Decimal]; ActivityCodeParam: Code[6]; Amount: Decimal)
  • +local procedure GetTotalOrZero(TotalDictionary: Dictionary of [Code[6], Decimal]; ActivityCodeParam: Code[6]): Decimal
  • +local procedure SafeSet(ToDictionary: Dictionary of [Code[6], Decimal]; ActivityCodeKey: Code[6]; Value: Decimal)
  • +local procedure InitializeTotals()
  • +local procedure InitializeValuesFromPriorPeriodEntry()
  • +local procedure InitializeValuesFromPriorPeriodEntry(ActivityCodeParam: Code[6])
  • +local procedure CreateGenJnlLine(var GenJnlLine2: Record "Gen. Journal Line"; AccountNo: Code[20])
  • +procedure FiscalRoundAmount(AmountToRound: Decimal): Decimal
  • +procedure CalculateEndDate()
  • +procedure GetGLSetup()
  • +local procedure UpdatePeriodicSettlementVATEntry()
  • +local procedure UpdatePeriodicSettlementVATEntryActivityCode()
  • +local procedure UpdatePeriodicSettlementVATEntry(ActivityCode: Code[6])
  • +local procedure GetSettlementVATEntryNo(PostVATSettlement: Boolean; IsPostingAllowed: Boolean): Integer
  • +local procedure GetVATPeriodTextFromDate(InputDate: Date): Text[10]
  • +local procedure SaveNextVATEntryNo()
  • +local procedure RestoreNextVATEntryNo()
  • +local procedure UpdateVATPeriodOnSettlementVATEntry(SettlementVATEntryNo: Integer)
  • +local procedure ValidatePreviousEntrySplit()
  • Δlocal event OnAfterIncrementGenPostingType(OldGenPostingType: Enum "General Posting Type"; var NewGenPostingType: Enum "General Posting Type")
  • Δlocal event OnPostGenJnlLineOnBeforeGenJnlPostLineRun(var GenJnlLine: Record "Gen. Journal Line")
  • −local event OnBeforePostGenJnlLineReverseChargeVAT(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var VATAmount: Decimal; var VATAmountAddCurr: Decimal)
  • −local event OnCloseVATEntriesOnAfterPostGenJnlLineReverseChargeVATSales(var VATEntry: Record "VAT Entry"; GenJnlLine: Record "Gen. Journal Line"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; VATPostingSetup: Record "VAT Posting Setup"; PostSettlement: Boolean; var ReversingEntry: Boolean; DocNo: Code[20]; PostingDate: Date; var GenJnlLine2: Record "Gen. Journal Line")
  • −procedure InitializeRequest(NewStartDate: Date; NewEndDate: Date; NewPostingDate: Date; NewDocNo: Code[20]; NewSettlementAcc: Code[20]; ShowVATEntries: Boolean; Post: Boolean)
  • −procedure InitializeRequest(NewStartDate: Date; NewEndDate: Date; NewPostingDate: Date; NewVATDate: Date; NewDocNo: Code[20]; NewSettlementAcc: Code[20]; ShowVATEntries: Boolean; Post: Boolean)
  • −local procedure CreateVATDateFilter()
  • −local procedure PostGenJnlLine(var GenJnlLine: Record "Gen. Journal Line")
  • −local procedure CreateGenJnlLine(var GenJnlLine2: Record "Gen. Journal Line"; AccountNo: Code[20]; Amount: Decimal; AmountACY: Decimal)
  • −local procedure IncrementGenPostingType(var OldGenPostingType: Enum "General Posting Type"): Enum "General Posting Type"
  • −local procedure IsNotSettlement(GenPostingType: Enum "General Posting Type"): Boolean
  • −local procedure GetSettlementVATEntryNo(PostVATSettlement: Boolean): Integer
table/79 "Company Information" +29, 3 changed
  • +field(12100; "Fiscal Code"; Code[20])
  • +field(12101; "Register Company No."; Text[50])
  • +field(12104; "REA No."; Code[10])
  • +field(12108; "FD Address"; Text[50])
  • +field(12109; "FD Post Code"; Code[20])
  • +field(12110; "FD City"; Text[50])
  • +field(12111; "FD County"; Text[50])
  • +field(12112; "SIA Code"; Code[5])
  • +field(12113; "Authority County"; Code[20])
  • +field(12114; "Autoriz. No."; Code[10])
  • +field(12115; "Autoriz. Date"; Date)
  • +field(12116; "Signature on Bill"; Text[20])
  • +field(12118; "BBAN"; Code[30])
  • +field(12119; "Tax Representative No."; Code[20])
  • +field(12120; "Company Type"; Code[2])
  • +field(12121; "General Manager No."; Code[20])
  • +field(12122; "Accounting Manager No."; Code[20])
  • +field(12123; "Finance Manager No."; Code[20])
  • +field(12124; "Activity Code"; Code[6])
  • +field(12125; "Office Code"; Code[3])
  • +field(12126; "Transmission Intermediary No."; Code[20])
  • +field(12127; "Shareholder Status"; Option)
  • +field(12128; "Liquidation Status"; Option)
  • +field(12129; "Registry Office Province"; Code[2])
  • +field(12130; "Paid-In Capital"; Decimal)
  • +procedure CheckITIBAN(IBANCode: Code[100]): Boolean
  • +procedure GetTDDAddr(var AddrArray: array[8] of Text[100])
  • +local procedure ValidateBankAccountNo()
  • +procedure GetTaxCode(): Code[20]
  • Δfield(11; "Giro No."; Text[20])
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(38; "IBAN"; Code[50])
table/21 "Cust. Ledger Entry" +25, 6 changed
  • +field(12170; "Document Occurrence"; Integer)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Receipt"; Boolean)
  • +field(12174; "Bank Receipt Issued"; Boolean)
  • +field(12175; "Bank Receipt Temp. No."; Code[20])
  • +field(12176; "Cumulative Bank Receipts"; Boolean)
  • +field(12177; "Document Type to Close"; Enum "Gen. Journal Document Type")
  • +field(12178; "Document No. to Close"; Code[20])
  • +field(12179; "Document Occurrence to Close"; Integer)
  • +field(12180; "Customer Bill No."; Code[20])
  • +field(12181; "Bank Receipts List No."; Code[20])
  • +field(12183; "Allow Issue"; Boolean)
  • +field(12184; "Int. Arrears Amount to Pay"; Decimal)
  • +field(12185; "Paid Int. Arrears Amount"; Decimal)
  • +key(Key24; "Document Type", "Document No.", "Document Occurrence", "Customer No.", "Open")
  • +key(Key25; "Customer No.", "Bank Receipt", "Document Type", "Due Date", "Currency Code", "Bank Receipt Issued", "Open")
  • +key(Key26; "Document Type", "Customer No.", "Posting Date", "Document No.", "Currency Code")
  • +key(Key27; "Due Date", "Customer No.", "Bank Receipt", "Bank Receipt Temp. No.", "Customer Bill No.", "Open", "Document Type")
  • +key(Key28; "Document Type", "Document Type to Close", "Document No. to Close", "Document Occurrence to Close")
  • +key(Key29; "Document Type", "Posting Date")
  • +key(Key30; "Document Type", "Customer No.", "Open", "Due Date")
  • +key(Key31; "Customer Posting Group")
  • +key(Key32; "Document Type", "Open", "Posting Date", "Closed at Date")
  • +key(Key33; "Salesperson Code")
  • +key(Key34; "SystemModifiedAt")
  • Δkey(Key18; "Document Type", "Document No.", "Document Occurrence")
  • Δkey(Key19; "Customer No.", "Open", "Positive", "Applies-to ID")
  • Δkey(Key20; "Open", "Document Type", "Allow Issue", "Bank Receipt Issued", "Currency Code")
  • Δkey(Key21; "Currency Code", "Open", "Payment Method Code", "Document Type", "Bank Receipts List No.", "Bank Receipt Issued", "Bank Receipt Temp. No.")
  • Δkey(Key22; "Customer No.", "Document No.", "Document Type", "Document Type to Close", "Document No. to Close", "Document Occurrence to Close")
  • Δkey(Key23; "Posting Date", "Transaction No.", "Entry No.")
table/5109 "Purchase Header Archive" +31
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12103; "Check Total"; Decimal)
  • +field(12104; "Reverse Sales VAT No. Series"; Code[20])
  • +field(12105; "Reverse Sales VAT No."; Code[20])
  • +field(12106; "Shipping Agent Code"; Code[10])
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Tax Representative Type"; Option)
  • +field(12127; "Tax Representative No."; Code[20])
  • +field(12130; "Resident"; Option)
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "Birth City"; Text[30])
  • +field(12134; "First Name"; Text[30])
  • +field(12135; "Last Name"; Text[30])
  • +field(12136; "Date of Birth"; Date)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12142; "Fiscal Code"; Code[20])
  • +field(12170; "Payment %"; Decimal)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +field(12180; "Subcontracting Order"; Boolean)
  • +field(12181; "Subcontracting Location Code"; Code[10])
table/181 "Posted Gen. Journal Line" +30
  • +field(12100; "VAT Identifier"; Code[20])
  • +field(12101; "Fiscal Code"; Code[20])
  • +field(12102; "Deductible %"; Decimal)
  • +field(12103; "Bal. Deductible %"; Decimal)
  • +field(12110; "Operation Occurred Date"; Date)
  • +field(12111; "Reverse Sales VAT No. Series"; Code[20])
  • +field(12112; "Reverse Sales VAT No."; Code[20])
  • +field(12113; "Closing Balance Sheet"; Boolean)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Transport Method"; Code[10])
  • +field(12128; "Include in VAT Transac. Rep."; Boolean)
  • +field(12130; "Resident"; Option)
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12136; "Tax Representative Type"; Option)
  • +field(12137; "Tax Representative No."; Code[20])
  • +field(12138; "Place of Birth"; Text[30])
  • +field(12139; "Refers to Period"; Option)
  • +field(12140; "Contract No."; Code[20])
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Receipt"; Boolean)
  • +field(12174; "Cumulative Bank Receipts"; Boolean)
  • +field(12175; "Document Type to Close"; Option)
  • +field(12176; "Document No. to Close"; Code[20])
  • +field(12177; "Document Occurrence to Close"; Integer)
  • +field(12179; "Allow Issue"; Boolean)
table/740 "VAT Report Header" +3, 6 changed, 18 removed
  • +field(12100; "Tax Auth. Receipt No."; Code[17])
  • +field(12102; "Tax Auth. Document No."; Code[18])
  • +procedure IsDatifattura(): Boolean
  • Δfield(2; "VAT Report Config. Code"; Option)
  • Δfield(3; "VAT Report Type"; Option)
  • Δfield(6; "Status"; Option)
  • Δfield(32; "Country/Region Filter"; Text[250])
  • Δfield(100; "Amounts in Add. Rep. Currency"; Boolean)
  • Δkey(Key1; "No.")
  • −field(10; "Period Type"; Option)
  • −field(11; "Period No."; Integer)
  • −field(12; "Period Year"; Integer)
  • −field(13; "Message Id"; Text[250])
  • −field(14; "Statement Template Name"; Code[10])
  • −field(15; "Statement Name"; Code[10])
  • −field(16; "VAT Report Version"; Code[10])
  • −field(17; "Submitted By"; Guid)
  • −field(18; "Submitted Date"; Date)
  • −field(19; "Return Period No."; Code[20])
  • −field(20; "Date Type"; Enum "VAT Date Type")
  • −field(30; "Additional Information"; Code[50])
  • −field(31; "Created Date-Time"; DateTime)
  • −procedure PeriodToDate()
  • −local procedure HandleDateInput()
  • −local procedure HandlePeriodInput()
  • −procedure IsPeriodValid(): Boolean
  • −local procedure RemoveVATReturnPeriodLink()
codeunit/90 "Purch.-Post" +21, 5 removed
  • +local event OnAfterCheckWithholdingTaxTotalAmount(var WithhSocSec: Record "Purch. Withh. Contribution"; var PurchHeader: Record "Purchase Header")
  • +local event OnCheckAndUpdateOnBeforeInsertPostedPayments(PurchaseHeader: Record "Purchase Header"; PaymentTermsLines: Record "Payment Lines"; var PostedPayments: Record "Posted Payment Lines")
  • +local event OnCheckAndUpdateOnBeforeInsertPaymentJournalLine(PurchaseHeader: Record "Purchase Header"; PaymentTermsLine: Record "Payment Lines"; var PaymentJournalLine: Record "Payment Lines")
  • +local event OnPostWithhSocSecOnBeforeCompWithhTaxInsert(var ComputedWithholdingTax: Record "Computed Withholding Tax"; PurchWithhContribution: Record "Purch. Withh. Contribution")
  • +local event OnUpdatePostingNosOnBeforeCheckExternalDocNo(var VendLedgEntry: Record "Vendor Ledger Entry"; PostingDate: Date; var IsHandled: Boolean)
  • +local event OnCheckAndUpdateOnBeforePaymentsInsert(var PurchHeader: Record "Purchase Header"; var IsHandled: Boolean)
  • +local event OnValidateIncludeInVATReportOnAfterValidatePurchaseHeader(PurchaseHeaderParam: Record "Purchase Header"; var InclInVATReportErrorLogTemp: Record "Incl. in VAT Report Error Log" temporary)
  • +procedure CalcInvoice(var PurchHeader: Record "Purchase Header"; var ReverseChargeVAT: Boolean): Boolean
  • +procedure CheckPurchDocument(var PurchHeader: Record "Purchase Header"; var ReverseChargeVAT: Boolean)
  • +local procedure UpdatePostingNos(var PurchHeader: Record "Purchase Header"; ReverseChargeVAT: Boolean): Boolean
  • +local procedure CheckWithholdingTaxTotalAmount(var PurchHeader: Record "Purchase Header")
  • +local procedure PostICGenJnl(ActivityCode: Code[6])
  • +procedure PostWithhSocSec(PurchHeader: Record "Purchase Header")
  • +procedure CalcSplitFA(GenJnlLine: Record "Gen. Journal Line"; SplitNo: Integer): Boolean
  • +procedure SplitFA(GenJnlLine: Record "Gen. Journal Line"; SplitNo: Integer)
  • +procedure CreateTempFA(GenJnlLine: Record "Gen. Journal Line"; SplitNo: Integer): Boolean
  • +procedure CalcSplitAmount(var Amount: Decimal; var Amount2: Decimal; TotalAmount: Decimal; I: Integer; SplitNo: Integer)
  • +local procedure ValidateIncludeInVATReport(PurchaseHeaderParam: Record "Purchase Header")
  • +local procedure GetCompWithhTaxTotalAmount(): Decimal
  • +local procedure UpdateAnalysisViewAfterPosting()
  • +local procedure HandleOnAfterPostItemJnlLineCopyProdOrder(var ItemJnlLine: Record "Item Journal Line"; PurchLine: Record "Purchase Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; QtyToBeReceived: Decimal; CommitIsSupressed: Boolean; QtyToBeInvoiced: Decimal)
  • −procedure CalcInvoice(var PurchHeader: Record "Purchase Header"): Boolean
  • −procedure CheckPurchDocument(var PurchHeader: Record "Purchase Header")
  • −local procedure UpdatePostingNos(var PurchHeader: Record "Purchase Header"): Boolean
  • −local procedure PostICGenJnl()
  • −local procedure CheckVATDate(var PurchaseHeader: Record "Purchase Header")
table/5107 "Sales Header Archive" +25
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12128; "Place of Birth"; Text[30])
  • +field(12130; "Fiscal Code"; Code[20])
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Resident"; Option)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12136; "Tax Representative Type"; Option)
  • +field(12137; "Tax Representative No."; Code[20])
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12170; "Payment %"; Decimal)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12173; "Cumulative Bank Receipts"; Boolean)
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
table/5744 "Transfer Shipment Header" +25
  • +field(12100; "Package Tracking No."; Text[50])
  • +field(12101; "Gross Weight"; Decimal)
  • +field(12102; "Net Weight"; Decimal)
  • +field(12103; "Parcel Units"; Decimal)
  • +field(12104; "Freight Type"; Option)
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +field(12180; "Transport Reason Code"; Code[10])
  • +field(12181; "Source Type"; Enum "Analysis Source Type")
  • +field(12182; "Source No."; Code[20])
  • +field(12183; "Goods Appearance"; Code[10])
  • +field(12184; "Volume"; Decimal)
  • +field(12185; "Shipping Notes"; Text[100])
  • +field(12186; "Reason Code"; Code[10])
  • +field(12187; "Shipping Starting Date"; Date)
  • +field(12188; "Shipping Starting Time"; Time)
  • +procedure StartTrackingSite()
  • +local procedure UpdateTDDPreparedBy()
  • +local procedure CheckShipAgentMethodComb()
  • +procedure CheckTDDData(): Boolean
  • +procedure GetTDDAddr(var ShippingAgentAddr: array[8] of Text[100]; var LoaderAddr: array[8] of Text[100])
table/5740 "Transfer Header" +24
  • +field(12100; "Package Tracking No."; Text[50])
  • +field(12101; "Gross Weight"; Decimal)
  • +field(12102; "Net Weight"; Decimal)
  • +field(12103; "Parcel Units"; Decimal)
  • +field(12104; "Freight Type"; Option)
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +field(12180; "Transport Reason Code"; Code[10])
  • +field(12181; "Source Type"; Enum "Analysis Source Type")
  • +field(12182; "Source No."; Code[20])
  • +field(12183; "Goods Appearance"; Code[10])
  • +field(12184; "Volume"; Decimal)
  • +field(12185; "Shipping Notes"; Text[100])
  • +field(12186; "Subcontracting Order"; Boolean)
  • +field(12187; "Return Order"; Boolean)
  • +field(12188; "Shipping Starting Date"; Date)
  • +field(12189; "Shipping Starting Time"; Time)
  • +local procedure UpdateTDDPreparedBy()
  • +local procedure CheckShipAgentMethodComb()
  • +procedure CheckTDDData()
table/263 "Intrastat Jnl. Line" +16, 6 changed, 1 removed
  • +field(12100; "Currency Code"; Code[10])
  • +field(12101; "Source Currency Amount"; Decimal)
  • +field(12102; "VAT Registration No."; Code[20])
  • +field(12103; "Corrective entry"; Boolean)
  • +field(12104; "Group Code"; Code[10])
  • +field(12105; "Statistics Period"; Code[10])
  • +field(12115; "Reference Period"; Code[10])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12178; "Payment Method"; Code[10])
  • +field(12179; "Custom Office No."; Code[6])
  • +field(12180; "Corrected Intrastat Report No."; Code[10])
  • +field(12181; "Corrected Document No."; Code[20])
  • +field(12182; "Country/Region of Payment Code"; Code[10])
  • +field(12183; "Progressive No."; Code[5])
  • +field(12185; "External Document No."; Code[35])
  • +key(Key4; "Internal Ref. No.")
  • Δfield(11; "Source Type"; Enum "Intrastat Source Type")
  • Δfield(12; "Source Entry No."; Integer)
  • Δfield(14; "Amount"; Decimal)
  • Δfield(17; "Indirect Cost"; Decimal)
  • Δfield(18; "Statistical Value"; Decimal)
  • Δkey(Key6; "Type", "Country/Region Code", "Partner VAT ID", "Transaction Type", "Tariff No.", "Group Code", "Transport Method", "Transaction Specification", "Country/Region of Origin Code", "Area", "Corrective entry")
  • −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/112 "Sales Invoice Header" +21
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12128; "Place of Birth"; Text[30])
  • +field(12130; "Fiscal Code"; Code[20])
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Resident"; Option)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12138; "Refers to Period"; Option)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12173; "Cumulative Bank Receipts"; Boolean)
  • +field(12182; "Fattura Project Code"; Code[15])
  • +field(12183; "Fattura Tender Code"; Code[15])
  • +field(12184; "Customer Purchase Order No."; Text[35])
  • +field(12185; "Fattura Stamp"; Boolean)
  • +field(12186; "Fattura Stamp Amount"; Decimal)
  • +field(12187; "Fattura Document Type"; Code[20])
  • +field(12190; "Document Remaining Amount"; Decimal)
codeunit/737 "VAT Report Mgt." 20 removed
  • −local procedure OnOpenVATReturnPeriodListPageEvent(var Rec: Record "VAT Return Period")
  • −procedure DontShowAgainManualInsertNotification(Notification: Notification)
  • −local procedure IsManualInsertNotificationEnabled(): Boolean
  • −local procedure GetManualInsertNotificationGUID(): Guid
  • −procedure GetVATReturnPeriods()
  • −procedure GetSubmittedVATReturns(VATReturnPeriod: Record "VAT Return Period")
  • −procedure CreateVATReturnFromVATPeriod(VATReturnPeriod: Record "VAT Return Period")
  • −procedure OpenVATReturnCardFromVATPeriod(VATReturnPeriod: Record "VAT Return Period")
  • −local procedure OpenVATReturnCard(VATReportHeader: Record "VAT Report Header")
  • −procedure OpenVATPeriodCardFromVATReturn(VATReportHeader: Record "VAT Report Header")
  • −local procedure CreateVATReturn(var VATReportHeader: Record "VAT Report Header"; var VATReturnPeriod: Record "VAT Return Period")
  • −local procedure InsertNewVATReturn(var VATReportHeader: Record "VAT Report Header")
  • −local procedure UpdateVATReturn(var VATReportHeader: Record "VAT Report Header"; var VATReturnPeriod: Record "VAT Return Period")
  • −procedure CreateAndStartAutoUpdateVATReturnPeriodJob(VATReportSetup: Record "VAT Report Setup")
  • −local procedure GetJobNoOfMinutes(VATReportSetup: Record "VAT Report Setup"): Integer
  • −local procedure CheckJobStatusOnOpenVATReturnPeriods(var Rec: Record "VAT Return Period")
  • −local procedure IsLastVATReturnPeriodJobQueueLogEntryHasError(var JobQueueLogEntry: Record "Job Queue Log Entry"): Boolean
  • −local procedure SendJobErrorNotification(JobQueueLogEntry: Record "Job Queue Log Entry")
  • −procedure OpenVATReturnPeriodJobCard(JobErrorNotification: Notification)
  • −local procedure OnBeforeValidateVATReportVersion(var Rec: Record "VAT Report Header")
table/114 "Sales Cr.Memo Header" +20
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred date"; Date)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12128; "Place of Birth"; Text[30])
  • +field(12130; "Fiscal Code"; Code[20])
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Resident"; Option)
  • +field(12133; "First Name"; Text[30])
  • +field(12134; "Last Name"; Text[30])
  • +field(12135; "Date of Birth"; Date)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12182; "Fattura Project Code"; Code[15])
  • +field(12183; "Fattura Tender Code"; Code[15])
  • +field(12185; "Fattura Stamp"; Boolean)
  • +field(12186; "Fattura Stamp Amount"; Decimal)
  • +field(12187; "Fattura Document Type"; Code[20])
  • +field(12190; "Document Remaining Amount"; Decimal)
table/18 "Customer" +20
  • +field(12100; "Int. on Arrears Code"; Code[10])
  • +field(12101; "Fiscal Code"; Code[20])
  • +field(12121; "Individual Person"; Boolean)
  • +field(12122; "Resident"; Option)
  • +field(12123; "First Name"; Text[30])
  • +field(12124; "Last Name"; Text[30])
  • +field(12125; "Date of Birth"; Date)
  • +field(12126; "Tax Representative Type"; Option)
  • +field(12127; "Tax Representative No."; Code[20])
  • +field(12128; "Place of Birth"; Text[30])
  • +field(12170; "Cumulative Bank Receipts"; Boolean)
  • +field(12171; "Exposure (LCY)"; Decimal)
  • +field(12172; "Exposure Filter"; Date)
  • +field(12173; "PA Code"; Code[7])
  • +field(12174; "PEC E-Mail Address"; Text[80])
  • +local event OnAfterIsPublicCompany(Customer: Record Customer; var Result: Boolean)
  • +local event OnBeforeValidateFiscalCode(var Customer: Record Customer; var IsHandled: Boolean)
  • +procedure InitFields()
  • +procedure ValidateIndividualPerson()
  • +procedure IsPublicCompany(): Boolean
table/325 "VAT Posting Setup" +17, 3 changed
  • +field(6201; "Non-Ded. Sales VAT Account"; Code[20])
  • +field(12103; "Deductible %"; Decimal)
  • +field(12104; "Nondeductible VAT Account"; Code[20])
  • +field(12105; "Allow Posting From"; Date)
  • +field(12106; "Allow Posting To"; Date)
  • +field(12110; "Sales Prepayments Account"; Code[20])
  • +field(12111; "Purch. Prepayments Account"; Code[20])
  • +field(12120; "Include in VAT Transac. Rep."; Boolean)
  • +field(12125; "Service Tariff No. Mandatory"; Boolean)
  • +field(12145; "Reversed VAT Bus. Post. Group"; Code[20])
  • +field(12146; "Reversed VAT Prod. Post. Group"; Code[20])
  • +field(12147; "VAT Transaction Nature"; Code[4])
  • +field(12148; "Include in VAT Comm. Rep."; Boolean)
  • +field(12149; "Fattura Document Type"; Code[20])
  • +procedure IsEUService(VATBusPostingGr: Code[20]; VATProdPostingGr: Code[20]): Boolean
  • +procedure CheckEUService(VATBusPostingGr: Code[20]; VATProdPostingGr: Code[20])
  • +procedure IncludeInVATTransReport(VATBusPostingGroup: Code[20]; VATProdPostingGroup: Code[20]): Boolean
  • Δfield(13; "VAT Identifier"; Code[20])
  • Δfield(25; "Sale VAT Reporting Code"; Code[20])
  • Δfield(26; "Purch. VAT Reporting Code"; Code[20])
table/5741 "Transfer Line" +20
  • +field(12180; "Subcontr. Purch. Order No."; Code[20])
  • +field(12181; "Subcontr. Purch. Order Line"; Integer)
  • +field(12182; "Prod. Order No."; Code[20])
  • +field(12183; "Prod. Order Line No."; Integer)
  • +field(12184; "Prod. Order Comp. Line No."; Integer)
  • +field(12185; "Routing No."; Code[20])
  • +field(12186; "Routing Reference No."; Integer)
  • +field(12187; "Work Center No."; Code[20])
  • +field(12188; "Operation No."; Code[10])
  • +field(12190; "WIP Item"; Boolean)
  • +field(12191; "WIP Quantity"; Decimal)
  • +field(12192; "WIP Qty. To Ship"; Decimal)
  • +field(12193; "WIP Qty. Shipped"; Decimal)
  • +field(12194; "WIP Outstanding Qty."; Decimal)
  • +field(12195; "WIP Outstanding Qty. (Base)"; Decimal)
  • +field(12196; "Return Order"; Boolean)
  • +key(Key70; "Subcontr. Purch. Order No.", "Subcontr. Purch. Order Line", "Prod. Order No.", "Prod. Order Line No.", "Prod. Order Comp. Line No.", "Return Order", "Derived From Line No.")
  • +key(Key80; "Prod. Order No.", "Routing No.", "Routing Reference No.", "Operation No.", "Subcontr. Purch. Order No.", "Derived From Line No.")
  • +local procedure InitWIPOutstandingQty()
  • +local procedure InitWIPQtyToShip()
table/39 "Purchase Line" +17, 1 removed
  • +field(12101; "Deductible %"; Decimal)
  • +field(12102; "Prepayment Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12180; "WIP Item"; Boolean)
  • +field(12182; "WIP Qty at Subc.Loc. (Base)"; Decimal)
  • +field(12183; "Not Proc. WIP Qty to Receive"; Decimal)
  • +field(12184; "Base UM Qty/Pricelist UM Qty"; Decimal)
  • +field(12185; "UoM for Pricelist"; Code[10])
  • +field(12186; "Pricelist UM Qty/Base UM Qty"; Decimal)
  • +field(12187; "Pricelist Cost"; Decimal)
  • +procedure GetQtyPerUOM(): Decimal
  • +procedure GetQtyBase(): Decimal
  • +procedure ValidateIncludeInDT(): Boolean
  • −local event OnUpdatePrepmtSetupFieldsOnBeforeClearVATPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetup: Record "VAT Posting Setup"; var SkipClear: Boolean)
table/110 "Sales Shipment Header" +16
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12172; "Bank Account"; Code[20])
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +field(12182; "Fattura Project Code"; Code[15])
  • +field(12183; "Fattura Tender Code"; Code[15])
  • +field(12184; "Customer Purchase Order No."; Text[35])
  • +local procedure UpdateTDDPreparedBy()
  • +local procedure CheckShipAgentMethodComb()
  • +procedure CheckTDDData(): Boolean
  • +procedure GetTDDAddr(var ShippingAgentAddr: array[8] of Text[100]; var LoaderAddr: array[8] of Text[100])
codeunit/80 "Sales-Post" +12, 3 removed
  • +local event OnAfterPostPayment(var GenJnlLine: Record "Gen. Journal Line"; SalesHeader: Record "Sales Header"; SuppressCommit: Boolean; PreviewMode: Boolean; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
  • +local event OnBeforePostPayment(var GenJnlLine: Record "Gen. Journal Line"; SalesHeader: Record "Sales Header"; SuppressCommit: Boolean; PreviewMode: Boolean; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
  • +local event OnInsertPostedPaymentOnBeforeInsertPostedPayments(SalesHeader: Record "Sales Header"; PaymentTermsLine: Record "Payment Lines"; var PostedPayments: Record "Posted Payment Lines")
  • +local event OnInsertPostedPaymentOnBeforeInsertPaymentJournalLine(SalesHeader: Record "Sales Header"; PaymentTermsLine: Record "Payment Lines"; var PaymentJournalLine: Record "Payment Lines")
  • +local event OnBeforeInsertPostedPayment(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean; SalesInvoiceHeader: Record "Sales Invoice Header"; SalesCrMemoHeader: Record "Sales Cr.Memo Header")
  • +local event OnValidateIncludeInVATReportAfterValidate(SalesHeaderParam: Record "Sales Header"; var InclInVATReportErrorLogTemp: Record "Incl. in VAT Report Error Log" temporary)
  • +local procedure PostICGenJnl(ActivityCode: Code[6])
  • +local procedure PostPayment(SalesHeader: Record "Sales Header"; PaymentMethod: Record "Payment Method")
  • +local procedure ValidateIncludeInVATReport(SalesHeaderParam: Record "Sales Header")
  • +local procedure CheckTariff(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line")
  • +local procedure CheckForIT(SalesHeader: Record "Sales Header")
  • +local procedure InsertPostedPayment(SalesHeader: Record "Sales Header")
  • −local event OnCheckSalesDocumentOnBeforeCheckDueDate(var SalesHeader: Record "Sales Header"; var ShouldCheckDueDate: Boolean)
  • −local procedure PostICGenJnl()
  • −local procedure CheckVATDate(var SalesHeader: Record "Sales Header")
table/124 "Purch. Cr. Memo Hdr." +15
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Resident"; Option)
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "Birth City"; Text[30])
  • +field(12134; "First Name"; Text[30])
  • +field(12135; "Last Name"; Text[30])
  • +field(12136; "Date of Birth"; Date)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12142; "Fiscal Code"; Code[20])
  • +field(12190; "Document Remaining Amount"; Decimal)
table/1381 "Customer Templ." +14, 1 changed
  • +field(12100; "Int. on Arrears Code"; Code[10])
  • +field(12101; "Fiscal Code"; Code[20])
  • +field(12121; "Individual Person"; Boolean)
  • +field(12122; "Resident"; Option)
  • +field(12123; "First Name"; Text[30])
  • +field(12124; "Last Name"; Text[30])
  • +field(12125; "Date of Birth"; Date)
  • +field(12126; "Tax Representative Type"; Option)
  • +field(12127; "Tax Representative No."; Code[20])
  • +field(12128; "Place of Birth"; Text[30])
  • +field(12170; "Cumulative Bank Receipts"; Boolean)
  • +field(12172; "Exposure Filter"; Date)
  • +field(12173; "PA Code"; Code[7])
  • +field(12174; "PEC E-Mail Address"; Text[80])
  • Δfield(14; "Our Account No."; Text[20])
table/741 "VAT Report Line" +14, 1 changed
  • +field(12100; "Operation Occurred Date"; Date)
  • +field(12102; "Contract Payment Type"; Option)
  • +field(12104; "Amount Incl. VAT"; Decimal)
  • +field(12106; "Invoice Date"; Date)
  • +field(12108; "Invoice No."; Code[20])
  • +field(12109; "VAT Entry No."; Integer)
  • +field(12110; "VAT Group Identifier"; Text[20])
  • +field(12111; "Incl. in Report"; Boolean)
  • +field(12112; "VAT Transaction Nature"; Code[4])
  • +field(12113; "Fattura Document Type"; Code[20])
  • +key(Key2; "Document No.")
  • +key(Key3; "Invoice No.")
  • +key(Key4; "VAT Report No.", "VAT Group Identifier")
  • +key(Key5; "VAT Report No.", "Record Identifier", "Type", "VAT Group Identifier")
  • Δfield(2; "Line No."; Integer)
table/98 "General Ledger Setup" +15
  • +field(12100; "Use Document Date in Currency"; Boolean)
  • +field(12103; "Last Gen. Jour. Printing Date"; Date)
  • +field(12104; "Last General Journal No."; Integer)
  • +field(12110; "Official Debit Amount"; Decimal)
  • +field(12111; "Official Credit Amount"; Decimal)
  • +field(12112; "Minimum VAT Payable"; Decimal)
  • +field(12113; "Settlement Round. Factor"; Decimal)
  • +field(12114; "Last Settlement Date"; Date)
  • +field(12120; "Last Printed G/L Book Page"; Integer)
  • +field(12121; "CashVAT Product Posting Group"; Code[20])
  • +field(12122; "Company Officials Nos."; Code[20])
  • +field(12125; "VAT Settlement Period"; Option)
  • +field(12130; "Validate loc.VAT Reg. No."; Boolean)
  • +field(12131; "Use Activity Code"; Boolean)
  • +procedure VATSettlementPeriodChangeCheck()
report/12 "VAT Statement" +4, 10 removed
  • +local event OnCalcLineTotalWithBaseOnCaseElse(var VATStmtLine2: Record "VAT Statement Line"; var Amount: Decimal; var TotalAmount: Decimal; Level: Integer; PeriodSelection: Enum "VAT Statement Report Period Selection"; StartDate: Date; EndDate: Date; EndDateReq: Date; PrintInIntegers: Boolean; UseAmtsInAddCurr: Boolean)
  • +local procedure CalcTotalAmount(VATStmtLine2: Record "VAT Statement Line"; var TotalAmount: Decimal)
  • +procedure InitializeRequest(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean; NewVATPeriod: Code[10])
  • +procedure InitializeRequest(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean; NewVATPeriod: Code[10]; NewCountryRegionFilter: Text[250])
  • −local event OnCalcLineTotalWithBaseOnCaseElse(var VATStmtLine2: Record "VAT Statement Line"; var Amount: Decimal; var TotalAmount: Decimal; Level: Integer; PeriodSelection: Enum "VAT Statement Report Period Selection"; StartDate: Date; EndDate: Date; EndDateReq: Date; PrintInIntegers: Boolean; UseAmtsInAddCurr: Boolean; var TotalBase: Decimal)
  • −local event OnAfterGetAmtRoundingDirection(var Direction: Text[1])
  • −procedure CalcLineTotalWithBase(VATStmtLine2: Record "VAT Statement Line"; var TotalAmount: Decimal; var TotalBase: Decimal; Level: Integer): Boolean
  • −local procedure SetVATEntryKeyAndRangesForVATDate(var VATStmtLine: Record "VAT Statement Line")
  • −local procedure SetVATDate()
  • −local procedure CalcTotalAmount(VATStmtLine2: Record "VAT Statement Line"; var TotalAmount: Decimal; var TotalBase: Decimal)
  • −procedure InitializeRequest(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean)
  • −procedure InitializeRequest(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean; NewCountryRegionFilter: Text)
  • −procedure GetAmtRoundingDirection(): Text[1]
  • −procedure RoundAmount(Amt: Decimal): Decimal
table/122 "Purch. Inv. Header" +14
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12123; "Activity Code"; Code[6])
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Resident"; Option)
  • +field(12131; "Individual Person"; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12133; "Birth City"; Text[30])
  • +field(12134; "First Name"; Text[30])
  • +field(12135; "Last Name"; Text[30])
  • +field(12136; "Date of Birth"; Date)
  • +field(12142; "Fiscal Code"; Code[20])
  • +field(12172; "Bank Account"; Code[20])
  • +field(12190; "Document Remaining Amount"; Decimal)
table/25 "Vendor Ledger Entry" +11, 3 changed
  • +field(12170; "Document Occurrence"; Integer)
  • +field(12171; "Applies-to Occurrence No."; Integer)
  • +field(12174; "Vendor Bill No."; Code[20])
  • +field(12175; "Vendor Bill List"; Code[20])
  • +field(12184; "Int. Arrears Amount to Pay"; Decimal)
  • +field(12185; "Paid Int. Arrears Amount"; Decimal)
  • +key(Key19; "Document Type", "External Document No.", "Vendor No.", "Document Occurrence")
  • +key(Key20; "Posting Date", "Transaction No.", "Entry No.")
  • +key(Key21; "Vendor Posting Group")
  • +key(Key22; "Pmt. Discount Date")
  • +key(Key23; "Document Type", "Due Date", "Open")
  • Δkey(Key16; "Document No.", "Document Occurrence")
  • Δkey(Key17; "Vendor No.", "Open", "Positive", "Applies-to ID")
  • Δkey(Key18; "Document Type", "Document No.", "Document Occurrence", "Vendor No.")
table/5110 "Purchase Line Archive" +14
  • +field(12101; "Deductible %"; Decimal)
  • +field(12102; "Prepayment Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12180; "WIP Item"; Boolean)
  • +field(12182; "WIP Qty at Subc.Loc. (Base)"; Decimal)
  • +field(12183; "Not Proc. WIP Qty to Receive"; Decimal)
  • +field(12184; "Base UM Qty/Pricelist UM Qty"; Decimal)
  • +field(12185; "UoM for Pricelist"; Code[10])
  • +field(12186; "Pricelist UM Qty/Base UM Qty"; Decimal)
  • +field(12187; "Pricelist Cost"; Decimal)
report/741 "VAT Report Suggest Lines" +13
  • +local procedure CreateVATReportLine(VATEntry: Record "VAT Entry"; RecordIdentifier: Code[30])
  • +local procedure CheckNewGroup(var VATEntry: Record "VAT Entry"): Boolean
  • +local procedure UpdateTotals(VATEntry: Record "VAT Entry")
  • +local procedure ClearGlobals()
  • +local procedure ProcessTransaction(var VATEntry: Record "VAT Entry"; RecordIdentifier: Code[10]; GroupType: Enum "Gen. Journal Document Type")
  • +local procedure GetNextLineNo(): Integer
  • +local procedure ApplyThresholdOnInvoiceLines(VatReportHeaderNo: Code[20])
  • +local procedure IsInvoice(VATEntry: Record "VAT Entry"): Boolean
  • +local procedure IsCreditMemo(VATEntry: Record "VAT Entry"): Boolean
  • +local procedure DetermineGroupType(var VATEntry: Record "VAT Entry"): Enum "Gen. Journal Document Type"
  • +local procedure TotalVATEntryBase(VATEntry: Record "VAT Entry"): Decimal
  • +local procedure TotalVATEntryAmount(VATEntry: Record "VAT Entry"): Decimal
  • +local procedure UpdateVatReportLineAmount(var VATReportLine: Record "VAT Report Line"; DocumentNo: Code[20])
table/379 "Detailed Cust. Ledg. Entry" +8, 4 changed
  • +field(12100; "Bank Receipt Issued"; Boolean)
  • +field(12102; "Bank Receipt"; Boolean)
  • +field(12103; "Original Document Type"; Enum "Gen. Journal Document Type")
  • +field(12104; "Original Document No."; Code[20])
  • +key(Key15; "Initial Document Type", "Initial Entry Due Date")
  • +key(Key16; "Customer No.", "Initial Entry Due Date")
  • +key(Key12100; "Original Document Type", "Original Document No.")
  • +local procedure SetOriginalDocumentInfo()
  • Δkey(Key11; "Customer No.", "Document Type", "Bank Receipt", "Bank Receipt Issued")
  • Δkey(Key12; "Customer No.", "Initial Entry Due Date", "Initial Document Type", "Bank Receipt", "Bank Receipt Issued")
  • Δkey(Key13; "Customer No.", "Entry Type", "Posting Date", "Initial Document Type")
  • Δkey(Key14; "Document Type")
table/5746 "Transfer Receipt Header" +12
  • +field(12100; "Package Tracking No."; Text[50])
  • +field(12101; "Gross Weight"; Decimal)
  • +field(12102; "Net Weight"; Decimal)
  • +field(12103; "Parcel Units"; Decimal)
  • +field(12104; "Freight Type"; Option)
  • +field(12180; "Transport Reason Code"; Code[10])
  • +field(12181; "Source Type"; Enum "Analysis Source Type")
  • +field(12182; "Source No."; Code[20])
  • +field(12183; "Goods Appearance"; Code[10])
  • +field(12184; "Volume"; Decimal)
  • +field(12185; "Shipping Notes"; Text[100])
  • +field(12186; "Reason Code"; Code[10])
codeunit/5633 "FA Jnl.-Post Batch" +11
  • +local event OnAfterPostCompressTable(FAJournalLine: Record "FA Journal Line")
  • +local event OnBeforeCreateCompressDeprTable(var CompressDepreciation: array[2] of Record "Compress Depreciation" temporary; FAJournalLine: Record "FA Journal Line"; FixedAsset: Record "Fixed Asset"; DepreciationBook: Record "Depreciation Book"; FADepreciationBook: Record "FA Depreciation Book"; var IsHandled: Boolean)
  • +local event OnBeforeTestGLAccount(var GLAccount: Record "G/L Account"; var IsHandled: Boolean)
  • +local event OnCreateCompressTableOnAfterCompressDeprSetFilters(var CompressDepreciation: array[2] of Record "Compress Depreciation" temporary; FAJournalLine: Record "FA Journal Line"; FixedAsset: Record "Fixed Asset"; DepreciationBook: Record "Depreciation Book"; FADepreciationBook: Record "FA Depreciation Book")
  • +local event OnPostCompressTableOnBeforePostFirstLine(var GenJournalLine: Record "Gen. Journal Line"; CompressDepreciation: array[2] of Record "Compress Depreciation" temporary; FAJournalLine: Record "FA Journal Line"; FAPostingGroup: Record "FA Posting Group")
  • +local event OnPostCompressTableOnAfterPostSecondLine(var GenJournalLine: Record "Gen. Journal Line"; CompressDepreciation: array[2] of Record "Compress Depreciation" temporary; FAJournalLine: Record "FA Journal Line"; FAPostingGroup: Record "FA Posting Group"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
  • +local event OnPostCompressTableOnBeforePostSecondLine(var GenJournalLine: Record "Gen. Journal Line"; CompressDepreciation: array[2] of Record "Compress Depreciation" temporary; FAJournalLine: Record "FA Journal Line"; FAPostingGroup: Record "FA Posting Group")
  • +procedure CreateCompressTable(FAJnlLine: Record "FA Journal Line")
  • +local procedure CreateCompressDeprTable(FAJournalLine: Record "FA Journal Line"; FixedAsset: Record "Fixed Asset"; DepreciationBook: Record "Depreciation Book"; FADepreciationBook: Record "FA Depreciation Book")
  • +procedure PostCompressTable(FAJnlLine: Record "FA Journal Line")
  • +procedure TestGLAcc(var GLAcc: Record "G/L Account")
table/256 "VAT Statement Line" +10, 1 changed
  • +field(12100; "Round Factor"; Option)
  • +field(12124; "Annual VAT Comm. Field"; Option)
  • +field(12125; "Activity Code Filter"; Code[6])
  • +field(12126; "Document Type"; Enum "Gen. Journal Document Type")
  • +field(12127; "EU Service"; Boolean)
  • +field(12128; "Blacklisted Comm. Field"; Code[10])
  • +field(12129; "Refers To Period"; Option)
  • +field(12130; "Blacklist Country Transaction"; Boolean)
  • +procedure Export(var NewVATStatementLine: Record "VAT Statement Line")
  • +procedure GetAmount(var VATEntry: Record "VAT Entry"): Decimal
  • Δfield(8; "Gen. Posting Type"; Option)
table/270 "Bank Account" +9, 2 changed
  • +field(12170; "ABI"; Code[5])
  • +field(12171; "CAB"; Code[5])
  • +field(12172; "Credit Limit"; Decimal)
  • +field(12174; "BBAN"; Code[30])
  • +field(12175; "CUC"; Code[8])
  • +local event OnAfterGetBBAN(var BankAccount: Record "Bank Account")
  • +procedure GetBBAN()
  • +procedure ConvertBankAccNo()
  • +procedure CheckIBAN()
  • Δfield(13; "Bank Account No."; Text[30])
  • Δfield(110; "IBAN"; Code[50])
table/37 "Sales Line" +10, 1 removed
  • +field(12101; "Deductible %"; Decimal)
  • +field(12102; "Prepayment Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12145; "Automatically Generated"; Boolean)
  • +procedure ValidateIncludeInDT(): Boolean
  • +procedure UpdateSplitVATLines(ChangedFieldName: Text)
  • +procedure RemoveSplitVATLinesWithCheck(ChangedFieldName: Text): Boolean
  • −local event OnUpdatePrepmtSetupFieldsOnBeforeClearVATPostingSetup(var SalesLine: Record "Sales Line"; var VATPostingSetup: Record "VAT Posting Setup"; var SkipClear: Boolean)
table/49 "Invoice Post. Buffer" +10, 1 changed
  • +field(12100; "VAT Identifier"; Code[20])
  • +field(12101; "Deductible %"; Decimal)
  • +field(12102; "No. of Fixed Asset Cards"; Integer)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Transport Method"; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Primary Key"; Text[250])
  • +field(12140; "Contract No."; Code[20])
  • Δkey(Key1; "Primary Key")
table/5745 "Transfer Shipment Line" +11
  • +field(12180; "Subcontr. Purch. Order No."; Code[20])
  • +field(12181; "Subcontr. Purch. Order Line"; Integer)
  • +field(12182; "Prod. Order No."; Code[20])
  • +field(12183; "Prod. Order Line No."; Integer)
  • +field(12184; "Prod. Order Comp. Line No."; Integer)
  • +field(12185; "Routing No."; Code[20])
  • +field(12186; "Routing Reference No."; Integer)
  • +field(12187; "Work Center No."; Code[20])
  • +field(12188; "Operation No."; Code[10])
  • +field(12189; "WIP Item"; Boolean)
  • +field(12190; "Return Order"; Boolean)
table/6650 "Return Shipment Header" +11
  • +field(12106; "Shipping Agent Code"; Code[10])
  • +field(12174; "3rd Party Loader Type"; Option)
  • +field(12175; "3rd Party Loader No."; Code[20])
  • +field(12176; "Additional Information"; Text[50])
  • +field(12177; "Additional Notes"; Text[50])
  • +field(12178; "Additional Instructions"; Text[50])
  • +field(12179; "TDD Prepared By"; Text[50])
  • +local procedure UpdateTDDPreparedBy()
  • +local procedure CheckShipAgentMethodComb()
  • +procedure CheckTDDData(): Boolean
  • +procedure GetTDDAddr(var ShippingAgentAddr: array[8] of Text[100]; var LoaderAddr: array[8] of Text[100])
codeunit/5812 "Calculate Standard Cost" +3, 2 changed, 5 removed
  • +local event OnCalcRtngCostSKUOnBeforeCalcRtngLineCostSKU(var RoutingLine: Record "Routing Line"; MainItem: Record Item; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal; var IsHandled: Boolean)
  • +local procedure CalcRtngCostSKU(MainItem: Record Item; RtngHeaderNo: Code[20]; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal)
  • +procedure CalcRtngLineCostSKU(RoutingLine: Record "Routing Line"; MainItem: Record Item; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal)
  • Δprocedure CalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal; var ParentItem: Record Item)
  • Δlocal procedure OnValidateNoByType(var Rec: Record "Standard Cost Worksheet")
  • −local event OnCalcRtngCostSKUOnBeforeCalcRtngLineCostSKU(var RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal; var IsHandled: Boolean)
  • −local procedure CalcRtngCostSKU(RtngHeaderNo: Code[20]; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal)
  • −local procedure CalcRoutingCostPerUnit(Type: Enum "Capacity Type Routing"; No: Code[20]; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum "Unit Cost Calculation Type")
  • −procedure CalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal)
  • −procedure CalcRtngLineCostSKU(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal)
codeunit/744 "VAT Report Validate" +7, 3 removed
  • +local event OnAfterValidateVATReportLines(var VATReportLine: Record "VAT Report Line")
  • +local event OnBeforeCheckVendor(var VATReportLine: Record "VAT Report Line"; var VATEntry: Record "VAT Entry"; var TempVATReportErrorLog: Record "VAT Report Error Log" temporary; var IsHandled: Boolean)
  • +local procedure ValidateVATReportHeader(VATReportHeader: Record "VAT Report Header")
  • +local procedure ValidateVATReportLines(VATReportHeader: Record "VAT Report Header")
  • +procedure CheckVendor(var VATReportLine: Record "VAT Report Line"; var VATEntry: Record "VAT Entry")
  • +procedure CheckCust(var VATReportLine: Record "VAT Report Line"; var VATEntry: Record "VAT Entry")
  • +procedure CheckForeignCountryCode(CountryRegionCode: Code[10])
  • −local procedure ValidateVATReportLinesExists(VATReportHeader: Record "VAT Report Header")
  • −local procedure ValidateVATReportHeader()
  • −local procedure ValidateVATReportLines()
table/17 "G/L Entry" +9, 1 changed
  • +field(12100; "Official Date"; Date)
  • +field(12101; "Positive"; Boolean)
  • +key(Key14; "G/L Account No.", "Posting Date", "Bal. Account No.", "Transaction No.")
  • +key(Key15; "G/L Account No.", "Business Unit Code", "Global Dimension 1 Code", "Global Dimension 2 Code", "Close Income Statement Dim. ID", "Posting Date", "Bal. Account No.", "Transaction No.")
  • +key(Key16; "Transaction No.", "G/L Account No.", "Document No.", "Positive", "Source Type", "Source No.")
  • +key(Key17; "Close Income Statement Dim. ID")
  • +key(Key18; "Dimension Set ID")
  • +key(Key19; "Transaction No.", "G/L Account No.", "Document No.", "Positive", "Source Type", "Source No.", "Posting Date")
  • +key(Key12100; "G/L Account No.", "Posting Date", "Close Income Statement Dim. ID", "Entry No.")
  • Δkey(Key13; "Official Date")
table/288 "Vendor Bank Account" +8, 2 changed
  • +field(12170; "ABI"; Code[5])
  • +field(12171; "CAB"; Code[5])
  • +field(12174; "BBAN"; Code[30])
  • +local event OnAfterGetBBan(var IBAN: Code[50]; var VendorBankAccount: Record "Vendor Bank Account")
  • +local event OnModifyOnIBANIsEmpty(var VendorBankAccount: Record "Vendor Bank Account"; var SkipConfirm: Boolean)
  • +procedure GetBBAN()
  • +procedure ConvertBankAccNo()
  • +procedure CheckIBAN()
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(24; "IBAN"; Code[50])
table/846 "Cash Flow Worksheet Line" +9, 1 removed
  • +local event OnCalculateCFAmountAndCFDateOnBeforeCalcPaymentDiscount(CFDiscountDate: Date; PaymentLines: record "Payment Lines"; var IsHandled: boolean)
  • +local event OnInsertNewLinesForUnpostedDocumentsOnBeforeInsert(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line"; PaymentLines: Record "Payment Lines")
  • +local event OnCalculateForPostedDocumentsOnCheckDocumentTypeElseCase(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line")
  • +local event OnCalculateForPostedDocumentsOnNotConsiderDiscountBeforeExit(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line")
  • +local procedure CalculateForPostedDocuments(CashFlowForecast: Record "Cash Flow Forecast")
  • +procedure CalculateCFAmountAndCFDate(var MaxPmtTolerance: Decimal)
  • +procedure InsertNewLinesForUnpostedDocuments(CashFlowForecast: Record "Cash Flow Forecast"; var MaxPmtTolerance: Decimal)
  • +procedure CheckForCrMemoCalculation(PaymentTermsToApply: Code[10]): Boolean
  • +local procedure ApplyMaxPmtTolerance(MaxPmtTolerance: Decimal; Percent: Decimal; Rounding: Decimal)
  • −local event OnCalculateCFAmountAndCFDateOnBeforeCalcPaymentDiscount(CFDiscountDate: Date; PaymentTerms: record "Payment Terms"; var IsHandled: boolean)
tableextension/99000860 "Mfg. Requisition Line" +10
  • +field(12180; "Standard Task Code"; Code[10])
  • +field(12181; "Base UM Qty/Pricelist UM Qty"; Decimal)
  • +field(12182; "Pricelist UM Qty/Base UM Qty"; Decimal)
  • +field(12183; "WIP Item"; Boolean)
  • +field(12184; "UoM for Pricelist"; Code[10])
  • +field(12187; "Pricelist Cost"; Decimal)
  • +procedure GetSubcontractorPrice()
  • +procedure GetSubcontractorPriceUOM()
  • +procedure GetQtyForUOM(): Decimal
  • +procedure GetQtyBase(): Decimal
table/287 "Customer Bank Account" +7, 2 changed
  • +field(12170; "ABI"; Code[5])
  • +field(12171; "CAB"; Code[5])
  • +field(12174; "BBAN"; Code[30])
  • +local event OnAfterGetBBAN(var CustomerBankAccount: Record "Customer Bank Account")
  • +procedure GetBBAN()
  • +procedure ConvertBankAccNo()
  • +procedure CheckIBAN()
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(24; "IBAN"; Code[50])
table/311 "Sales & Receivables Setup" +9
  • +field(12174; "Bank Receipts Risk Period"; DateFormula)
  • +field(12175; "Temporary Bill List No."; Code[20])
  • +field(12176; "Recall Bill Description"; Text[50])
  • +field(12177; "VAT Exemption Nos."; Code[20])
  • +field(12178; "Fattura PA Nos."; Code[20])
  • +field(12179; "Prevent Posted Doc. Deletion"; Boolean)
  • +field(12180; "Fattura PA Electronic Format"; Code[20])
  • +field(12181; "Validate Document On Posting"; Boolean)
  • +field(12182; "Notify On Occur. Date Change"; Boolean)
table/32 "Item Ledger Entry" +7, 1 changed, 1 removed
  • +field(12180; "Subcontr. Purch. Order No."; Code[20])
  • +field(12181; "Subcontr. Purch. Order Line"; Integer)
  • +field(12182; "Prod. Order No."; Code[20])
  • +field(12183; "Prod. Order Line No."; Integer)
  • +key(Key22; "Order Type", "Order No.", "Order Line No.", "Prod. Order Comp. Line No.", "Entry Type", "Subcontr. Purch. Order No.", "Location Code", "Positive")
  • +key(Key23; "Entry Type", "Order Type", "Order No.", "Posting Date", "Source No.")
  • +key(Key24; "SystemModifiedAt")
  • Δkey(Key21; "Item No.", "Posting Date", "Location Code")
  • −key(Key25; "Entry Type", "Item No.")
table/55 "Invoice Posting Buffer" +9
  • +field(12100; "VAT Identifier"; Code[20])
  • +field(12101; "Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Transport Method"; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Primary Key"; Text[250])
  • +field(12140; "Contract No."; Code[20])
page/475 "VAT Statement Preview Line" +3, 5 removed
  • +local event OnUpdateFormOnBeforePageUpdate(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean; VATPeriod: Code[10])
  • +procedure UpdateForm(var VATStmtName: Record "VAT Statement Name"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewUseAmtsInAddCurr: Boolean; NewVATPeriod: Code[10])
  • +procedure UpdateForm(var VATStmtName: Record "VAT Statement Name"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewUseAmtsInAddCurr: Boolean; NewVATPeriod: Code[10]; NewCountryRegionFilter: Text)
  • −local event OnUpdateFormOnBeforePageUpdate(var NewVATStmtName: Record "VAT Statement Name"; var NewVATStatementLine: Record "VAT Statement Line"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean)
  • −local procedure SetKeyForVATEntry(var VATEntryLocal: Record "VAT Entry")
  • −local procedure SetDateFilterForVATEntry(var VATEntryLocal: Record "VAT Entry")
  • −procedure UpdateForm(var VATStmtName: Record "VAT Statement Name"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewUseAmtsInAddCurr: Boolean)
  • −procedure UpdateForm(var VATStmtName: Record "VAT Statement Name"; NewSelection: Enum "VAT Statement Report Selection"; NewPeriodSelection: Enum "VAT Statement Report Period Selection"; NewUseAmtsInAddCurr: Boolean; NewCountryRegionFilter: Text)
table/5611 "Depreciation Book" +4, 4 changed
  • +field(12100; "Compress Depreciation"; Boolean)
  • +field(12101; "Anticipated Depreciation Calc."; Boolean)
  • +field(12102; "Acc./Red. Depreciation Calc."; Boolean)
  • +procedure CompressingWarning()
  • Δfield(7; "G/L Integration - Custom 1"; Boolean)
  • Δfield(8; "G/L Integration - Custom 2"; Boolean)
  • Δfield(38; "Add-Curr. Exch Rate - Custom 1"; Boolean)
  • Δfield(39; "Add-Curr. Exch Rate - Custom 2"; Boolean)
table/737 "VAT Return Period" 2 changed, 6 removed
  • Δfield(20; "VAT Return No."; Code[20])
  • Δfield(21; "VAT Return Status"; Option)
  • −local procedure GetNoSeriesCode(): Code[20]
  • −procedure CopyToVATReturn(var VATReportHeader: Record "VAT Report Header")
  • −local procedure ParseDatePeriod(var VATReportHeader: Record "VAT Report Header")
  • −procedure FindVATReturnPeriod(var VATReturnPeriod: Record "VAT Return Period"; StartDate: Date; EndDate: Date): Boolean
  • −procedure DiffersFromVATReturnPeriod(var VATReturnPeriod: Record "VAT Return Period"): Boolean
  • −procedure DrillDownVATReturn()
codeunit/11 "Gen. Jnl.-Check Line" +5, 2 removed
  • +local event OnAfterCheckOperationOccurredDate(var GenJournalLine: Record "Gen. Journal Line")
  • +local event OnBeforeCheckOperationOccurredDate(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
  • +local event OnBeforeValidateIncludeInVATReport(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
  • +local procedure CheckOperationOccurredDate(var GenJnlLine: Record "Gen. Journal Line")
  • +procedure ValidateIncludeInVATReport(GenJournalLine: Record "Gen. Journal Line")
  • −local event OnBeforeCheckVATDate(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
  • −local procedure CheckVATDate(var GenJournalLine: Record "Gen. Journal Line")
codeunit/444 "Purchase-Post Prepayments" +5, 1 changed, 1 removed
  • +local event OnAfterGetPrepmtAccNo(VATPostingSetup: Record "VAT Posting Setup"; var PrepmtAccNo: Code[20])
  • +procedure CheckPrepmtReferstoPeriod(var PurchHeader: Record "Purchase Header")
  • +local procedure HasReverseChargeVAT(PurchHeader: Record "Purchase Header"): Boolean
  • +local procedure InsertPostedPaymentLines(PurchHeader: Record "Purchase Header"; DocumentType: Option Invoice,"Credit Memo"; DocumentNo: Code[20])
  • +local procedure InsertPaymentJnlLine(PurchHeader: Record "Purchase Header")
  • Δlocal procedure GetPrepmtAccNo(VATBusPostingGroup: Code[20]; VATProdPostingGroup: Code[20]): Code[20]
  • −local event OnAfterGetPrepmtAccNo(GenPostingSetup: Record "General Posting Setup"; var PrepmtAccNo: Code[20])
codeunit/740 "VAT Report Mediator" +1, 6 removed
  • +local procedure ShowRequestPage(VATReportHeader: Record "VAT Report Header"): Boolean
  • −procedure Generate(VATReportHeader: Record "VAT Report Header")
  • −procedure ShowGenerate(VATReportHeader: Record "VAT Report Header"): Boolean
  • −procedure ShowExport(VATReportHeader: Record "VAT Report Header"): Boolean
  • −procedure ReceiveResponse(VATReportHeader: Record "VAT Report Header")
  • −procedure ShowReceiveResponse(VATReportHeader: Record "VAT Report Header"): Boolean
  • −procedure ShowSubmissionMessage(VATReportHeader: Record "VAT Report Header"): Boolean
table/262 "Intrastat Jnl. Batch" +6, 1 changed
  • +field(12100; "Type"; Option)
  • +field(12101; "Periodicity"; Option)
  • +field(12103; "File Disk No."; Code[20])
  • +field(12110; "Corrective Entry"; Boolean)
  • +field(12111; "EU Service"; Boolean)
  • +key(Key2; "File Disk No.")
  • Δfield(14; "Statistics Period"; Code[10])
table/290 "VAT Amount Line" +7
  • +field(12101; "Deductible %"; Decimal)
  • +field(12103; "Nondeductible Base"; Decimal)
  • +field(12104; "Nondeductible Amount"; Decimal)
  • +field(12105; "Unrealized Base"; Decimal)
  • +field(12106; "Unrealized Amount"; Decimal)
  • +field(12110; "VAT Description"; Text[50])
  • +procedure GetCurrencyCode(): Code[10]
table/3 "Payment Terms" +4, 3 changed
  • +field(12170; "Payment Nos."; Integer)
  • +field(12171; "Payment %"; Decimal)
  • +field(12172; "Fattura Payment Terms Code"; Code[4])
  • +procedure FilterPaymentLines()
  • Δfield(2; "Due Date Calculation"; DateFormula)
  • Δfield(3; "Discount Date Calculation"; DateFormula)
  • Δfield(4; "Discount %"; Decimal)
table/5409 "Prod. Order Routing Line" +5, 2 removed
  • +field(12180; "WIP Item"; Boolean)
  • +field(12181; "Qty. WIP on Subcontractors"; Decimal)
  • +field(12182; "Qty. WIP on Transfer Order"; Decimal)
  • +field(12183; "Purchase Order Filter"; Code[20])
  • +procedure GetSubcPricelist()
  • −local event OnBeforeCheckIfSubcontractingPurchOrderExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; xProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
  • −local procedure CheckIfSubcontractingPurchOrderExist()
table/743 "VAT Report Setup" +5, 1 changed, 1 removed
  • +field(12100; "Intermediary VAT Reg. No."; Text[20])
  • +field(12101; "Intermediary CAF Reg. No."; Text[5])
  • +field(12102; "Intermediary Date"; Date)
  • +field(12150; "Spesometro Communication ID"; Integer)
  • +field(12151; "Filter Datifattura Lines"; Boolean)
  • Δfield(21; "Report Version"; Code[10])
  • −field(4; "VAT Return No. Series"; Code[20])
tableextension/99000801 "Mfg. Capacity Ledger Entry" +7
  • +field(12180; "WIP Item Qty."; Decimal)
  • +field(12181; "Shipping Document No."; Code[20])
  • +field(12182; "Subcontractor No."; Code[20])
  • +field(12183; "Subcontr. Purch. Order No."; Code[20])
  • +field(12184; "Subcontr. Purch. Order Line"; Integer)
  • +key(Key12180; "Subcontr. Purch. Order No.", "Subcontr. Purch. Order Line")
  • +key(Key12182; "Item No.", "Order Type", "Order No.", "Posting Date", "Subcontracting")
codeunit/442 "Sales-Post Prepayments" +4, 1 changed, 1 removed
  • +local event OnAfterGetPrepmtAccNo(VATPostingSetup: Record "VAT Posting Setup"; var PrepmtAccNo: Code[20])
  • +procedure CheckPrepmtReferstoPeriod(var SalesHeader: Record "Sales Header")
  • +local procedure InsertPostedPaymentLines(SalesHeader: Record "Sales Header"; DocumentType: Option Invoice,"Credit Memo"; DocumentNo: Code[20])
  • +local procedure InsertPaymentJnlLine(SalesHeader: Record "Sales Header")
  • Δlocal procedure GetPrepmtAccNo(VATBusPostingGroup: Code[20]; VATProdPostingGroup: Code[20]): Code[20]
  • −local event OnAfterGetPrepmtAccNo(GenPostingSetup: Record "General Posting Setup"; var PrepmtAccNo: Code[20])
codeunit/99000819 "Mfg. Planning Line Management" 6 changed
  • Δlocal procedure OnCalculateOnTransferBOM(var RequisitionLine: Record "Requisition Line"; Item: Record Item; var PlanningComponent: Record "Planning Component"; var TempPlanningErrorLog: Record "Planning Error Log" temporary; var TempPlanningComponent: Record "Planning Component" temporary; SKU: Record "Stockkeeping Unit"; PlanningResiliency: Boolean; var NextPlanningCompLineNo: Integer; Blocked: Boolean)
  • Δlocal procedure OnCalculateRouting(var RequisitionLine: Record "Requisition Line"; var TempPlanningErrorLog: Record "Planning Error Log" temporary; PlanningResiliency: Boolean)
  • Δlocal procedure OnTransferASMBOMOnAfterSetAsmBOMComp(var PlanningComponent: Record "Planning Component")
  • Δlocal procedure OnCalculateComponentsOnbeforePlanningComponentModify(var PlanningComponent: Record "Planning Component")
  • Δlocal procedure OnCheckMultiLevelStructureOnBeforeReqLineModify(var RequisitionLine: Record "Requisition Line")
  • Δlocal procedure OnTransferAsmBOMOnBeforePlanningComponentModify(var PlanningComponent: Record "Planning Component")
page/740 "VAT Report" 6 removed
  • −local event OnAfterInitPageControllers(VATReportHeader: Record "VAT Report Header"; var SubmitControllerStatus: Boolean; var MarkAsSubmitControllerStatus: Boolean; var CalcAndPostVATStatus: Boolean)
  • −local event OnBeforeDownloadSubmissionMessage(var IsHandled: Boolean; var VATReportHeader: Record "VAT Report Header")
  • −local event OnBeforeDownloadResponseMessage(var IsHandled: Boolean; var VATReportHeader: Record "VAT Report Header")
  • −local procedure InitPageControllers()
  • −local procedure InitReturnPeriodGroup()
  • −local procedure CheckForErrors(): Boolean
table/115 "Sales Cr.Memo Line" +6
  • +field(12101; "Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • +field(12145; "Automatically Generated"; Boolean)
table/125 "Purch. Cr. Memo Line" +6
  • +field(12101; "Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
table/312 "Purchases & Payables Setup" +6
  • +field(12101; "Temporary Bill List No."; Code[20])
  • +field(12177; "VAT Exemption Nos."; Code[20])
  • +field(12178; "Prevent Posted Doc. Deletion"; Boolean)
  • +field(12182; "Notify On Occur. Date Change"; Boolean)
  • +field(12191; "Same Ext. Doc. No. in Diff. FY"; Boolean)
  • +field(12192; "Ext. Doc. No. Period Source"; Enum "Period Source Type")
table/5108 "Sales Line Archive" +6
  • +field(12101; "Deductible %"; Decimal)
  • +field(12102; "Prepayment Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12138; "Refers to Period"; Option)
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
table/5747 "Transfer Receipt Line" +6
  • +field(12180; "Subcontr. Purch. Order No."; Code[20])
  • +field(12181; "Subcontr. Purch. Order Line"; Integer)
  • +field(12182; "Prod. Order No."; Code[20])
  • +field(12183; "Prod. Order Line No."; Integer)
  • +field(12184; "Prod. Order Comp. Line No."; Integer)
  • +field(12185; "Return Order"; Boolean)
table/83 "Item Journal Line" +6
  • +field(12181; "Subcontr. Purch. Order No."; Code[20])
  • +field(12182; "Subcontr. Purch. Order Line"; Integer)
  • +field(12183; "WIP Item"; Boolean)
  • +field(12184; "WIP Quantity"; Decimal)
  • +field(12185; "Prod. Order No."; Code[20])
  • +field(12186; "Prod. Order Line No."; Integer)
codeunit/104000 "Upgrade - BaseApp" +5
  • +local event OnAfterTransferFieldsFromNoSeriesLineSales(FromNoSeriesLineSales: Record "No. Series Line Sales"; ToNoSeriesLine: Record "No. Series Line")
  • +local event OnAfterTransferFieldsFromNoSeriesLinePurchase(FromNoSeriesLinePurchase: Record "No. Series Line Purchase"; ToNoSeriesLine: Record "No. Series Line")
  • +local procedure UpgradeNoSeriesIT()
  • +procedure TransferFieldsFromNoSeriesLineSales(FromNoSeriesLineSales: Record "No. Series Line Sales"; var ToNoSeriesLine: Record "No. Series Line")
  • +procedure TransferFieldsFromNoSeriesLinePurchase(FromNoSeriesLinePurchase: Record "No. Series Line Purchase"; var ToNoSeriesLine: Record "No. Series Line")
codeunit/99000760 "Mfg. Item Jnl. Check Line" 5 changed
  • Δlocal procedure OnCheckDimensionsOnAfterSetTableValues(ItemJournalLine: Record "Item Journal Line"; var TableID: array[10] of Integer; var No: array[10] of Code[20])
  • Δlocal procedure OnRunOnCheckWarehouse(var ItemJournalLine: Record "Item Journal Line"; CalledFromAdjustment: Boolean; CalledFromInvtPutawayPick: Boolean)
  • Δlocal procedure OnCheckOutputFields(var ItemJournalLine: Record "Item Journal Line")
  • Δlocal procedure OnCheckEmptyQuantity(ItemJournalLine: Record "Item Journal Line")
  • Δlocal procedure OnCheckBinsOnCheckForEntryTypeOutput(var ItemJournalLine: Record "Item Journal Line"; var ShouldExit: Boolean)
page/50 "Purchase Order" +4, 1 removed
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • +local procedure VATBusPostingGroupOnAfterValid()
  • +local procedure PrepmtCMReferstoPeriodOnAfterV()
  • −local procedure PricesIncludingVATOnAfterValid()
table/291 "Shipping Agent" +5
  • +field(12180; "Address"; Text[80])
  • +field(12181; "Shipping Agent Type"; Option)
  • +field(12182; "Shipping Agent No."; Code[20])
  • +procedure ShippingAgentVendorOrContact(ShippingAgentCode: Code[10]): Boolean
  • +procedure GetTDDAddr(ShippingAgentCode: Code[10]; var AddrArray: array[8] of Text[100])
table/383 "Detailed CV Ledg. Entry Buffer" +3, 2 changed
  • +field(6202; "Non-Deductible VAT Amount ACY"; Decimal)
  • +field(12100; "Bank Receipt Issued"; Boolean)
  • +field(12102; "Bank Receipt"; Boolean)
  • Δfield(6200; "Non-Deductible VAT Amount"; Decimal)
  • Δfield(6201; "Non-Deductible VAT Amount LCY"; Decimal)
table/461 "Prepayment Inv. Line Buffer" +4, 1 changed
  • +field(12101; "Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12126; "Transport Method"; Code[10])
  • +field(12139; "Prepmt. CM Refers to Period"; Option)
  • Δkey(Key1; "G/L Account No.", "Job No.", "Tax Area Code", "Tax Liable", "Tax Group Code", "Invoice Rounding", "Adjustment", "Line No.", "Dimension Set ID", "Prepmt. CM Refers to Period")
table/9 "Country/Region" +5
  • +field(12100; "Currency Code"; Code[10])
  • +field(12101; "Blacklisted"; Boolean)
  • +field(12102; "Foreign Country/Region Code"; Code[3])
  • +field(12103; "On Deny List"; Boolean)
  • +procedure CheckNotEUCountry(CountryCode: Code[20]): Boolean
codeunit/1313 "Correct Posted Purch. Invoice" +3, 1 removed
  • +local event OnBeforeUpdateCheckTotal(PurchInvHeader: Record "Purch. Inv. Header"; var PurchaseHeader: Record "Purchase Header"; var CancellingOnly: Boolean; var SuppressCommit: Boolean)
  • +local event OnAfterCreateCorrectivePurchCrMemo(PurchInvHeader: Record "Purch. Inv. Header"; var PurchaseHeader: Record "Purchase Header"; var CancellingOnly: Boolean)
  • +procedure UpdateCheckTotal(var PurchaseHeader: Record "Purchase Header")
  • −local event OnAfterCreateCorrectivePurchCrMemo(PurchInvHeader: Record "Purch. Inv. Header"; var PurchaseHeader: Record "Purchase Header"; var CancellingOnly: Boolean; var SuppressCommit: Boolean)
codeunit/391 "Shipment Header - Edit" +4
  • +local event OnBeforeReturnShptHeaderModify(var ReturnShipmentHeader: Record "Return Shipment Header"; ReturnShipmentHeader2: Record "Return Shipment Header")
  • +local event OnBeforeTransferShptHeaderModify(var TransferShipmentHeader: Record "Transfer Shipment Header"; TransferShipmentHeader2: Record "Transfer Shipment Header")
  • +procedure ModifyReturnShipment(var ReturnShptHeader2: Record "Return Shipment Header")
  • +procedure ModifyTransferShipment(var TransferShptHeader2: Record "Transfer Shipment Header")
codeunit/743 "VAT Report Export" +2, 2 removed
  • +local procedure ExportReleased(var VATReportHeader: Record "VAT Report Header")
  • +local procedure ExportReport(var VATReportHeader: Record "VAT Report Header"; Validate: Boolean)
  • −local procedure ExportReleased()
  • −local procedure ExportReport()
page/321 "ECSL Report" +1, 3 removed
  • +local procedure CheckForErrors(FilterRecordID: RecordID)
  • −local event OnBeforeCheckForErrors(var ErrorsExist: Boolean; ErrorMessage: Record "Error Message"; var TempErrorMessage: Record "Error Message" temporary)
  • −local procedure InitPageControllers()
  • −local procedure CheckForErrors(): Boolean
page/42 "Sales Order" +3, 1 removed
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • +local procedure PrepmtCMReferstoPeriodOnAfterV()
  • −local procedure PricesIncludingVATOnAfterValid()
report/6653 "Combine Return Receipts" +2, 2 removed
  • +procedure InitializeRequest(NewOperationDateFrom: Date; NewOperationDateTo: Date; NewOperationTypeCode: Code[20]; NewPostingDate: Date; NewDocumentDate: Date; NewCalcInvDisc: Boolean; NewPostCreditMemo: Boolean)
  • +procedure InitializeRequest(NewOperationDateFrom: Date; NewOperationDateTo: Date; NewOperationTypeCode: Code[20]; NewPostingDate: Date; NewDocumentDate: Date; NewVATDate: Date; NewCalcInvDisc: Boolean; NewPostCreditMemo: Boolean)
  • −procedure InitializeRequest(NewPostingDate: Date; NewDocumentDate: Date; NewCalcInvDisc: Boolean; NewPostCreditMemo: Boolean)
  • −procedure InitializeRequest(NewPostingDate: Date; NewDocumentDate: Date; NewVATDate: Date; NewCalcInvDisc: Boolean; NewPostCreditMemo: Boolean)
table/10 "Shipment Method" +4
  • +field(12100; "Intra Shipping Code"; Code[10])
  • +field(12101; "3rd-Party Loader"; Boolean)
  • +procedure ThirdPartyLoader(ShipmentMethodCode: Code[10]): Boolean
  • +procedure CheckShipMethod3rdPartyLoader(ShipmentMethodCode: Code[10])
table/113 "Sales Invoice Line" +4
  • +field(12101; "Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12145; "Automatically Generated"; Boolean)
table/123 "Purch. Inv. Line" +4
  • +field(12101; "Deductible %"; Decimal)
  • +field(12125; "Service Tariff No."; Code[10])
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
table/289 "Payment Method" +4
  • +field(12171; "Bill Code"; Code[20])
  • +field(12172; "Free Type"; Option)
  • +field(12173; "Intrastat Payment Method"; Code[1])
  • +field(12174; "Fattura PA Payment Method"; Code[4])
table/308 "No. Series" +4
  • +field(12100; "No. Series Type"; Option)
  • +field(12101; "VAT Register"; Code[10])
  • +field(12102; "VAT Reg. Print Priority"; Integer)
  • +field(12103; "Reverse Sales VAT No. Series"; Code[20])
table/5200 "Employee" +2, 2 changed
  • +field(12101; "Birth Place"; Text[30])
  • +field(12102; "Birth Place Code"; Code[10])
  • Δfield(57; "Bank Account No."; Text[30])
  • Δfield(58; "IBAN"; Code[50])
codeunit/1004 "Job Transfer Line" +2, 1 removed
  • +local event OnFromPurchaseLineToJnlLineOnAfterValidateJobJnlLineQuantity(var JobJournalLine: Record "Job Journal Line"; PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")
  • +local procedure CalcRevChargeVATAmount(PurchaseLine: Record "Purchase Line"): Decimal
  • −local procedure GetNonDeductibleVATAmtPerUnitCost(JobJnlLine: Record "Job Journal Line"; var NonDeductibleVATAmtPerUnitLCY: Decimal; var NonDeductibleVATAmtPerUnit: Decimal)
codeunit/226 "CustEntry-Apply Posted Entries" +3
  • +procedure SetCheckDim(CheckDimTmp: Boolean)
  • +procedure CheckVATSettlement(CustLedgEntryNo: Integer; PostingDate: Date): Boolean
  • +local procedure IsUnrealizedVAT(VATEntry: Record "VAT Entry"): Boolean
codeunit/426 "Payment Tolerance Management" +3
  • +procedure SetIncludeWHT()
  • +procedure UpdateWHTTolerance(var VendLedgEntryAmount: Decimal; var VendLedgEntryRemAmount: Decimal; GenJnlLineDocNo: Code[20]; GenJnlLineLineNo: Integer)
  • +procedure RetAccPmtTol(AppToDocNo: Code[20]; TotalTolAmt: Decimal; EntryTolAmt: Decimal): Decimal
codeunit/5626 "FA General Report" +3
  • +local event OnCalcFAPostedOriginalAcqCostAmountOnAfterSetFilters(var FALedgerEntry: Record "FA Ledger Entry"; Period: Option; StartingDate: Date; EndingDate: Date)
  • +procedure SetAquisitionDate(var FA2: Record "Fixed Asset"; DeprBookCode: Code[10])
  • +procedure CalcFAPostedOriginalAcqCostAmount(FANo: Code[20]; Period: Option "Before Starting Date","Net Change","at Ending Date"; StartingDate: Date; EndingDate: Date; DeprBookCode: Code[10]): Decimal
codeunit/99000866 "Mfg. Requisition Line" +3
  • +local procedure OnValidateVendorNoOnBeforeLookupVendor(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
  • +local procedure OnValidateVendorNoOnAfterCheckVendor(var RequisitionLine: Record "Requisition Line"; Vend: Record Vendor; CurrentFieldNo: Integer)
  • +local procedure OnValidateVendorNoOnAfterSetSupplyFrom(var RequisitionLine: Record "Requisition Line")
page/44 "Sales Credit Memo" +3
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • +local procedure ReferstoPeriodOnAfterValidate()
page/51 "Purchase Invoice" +2, 1 removed
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • −local procedure PricesIncludingVATOnAfterValid()
page/52 "Purchase Credit Memo" +3
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • +local procedure ReferstoPeriodOnAfterValidate()
page/6630 "Sales Return Order" +3
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • +local procedure ReferstoPeriodOnAfterValidate()
page/6640 "Purchase Return Order" +3
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
  • +local procedure ReferstoPeriodOnAfterValidate()
report/742 "VAT Report Request Page" 3 removed
  • −local event OnAfterSetPeriodIsEditable(VATReportHeader: Record "VAT Report Header"; var PeriodIsEditable: Boolean)
  • −local event OnBeforeVATStatementLineFindSet(var VATStatementLine: Record "VAT Statement Line"; VATReportHeader: Record "VAT Report Header")
  • −local event OnBeforeCalcLineTotalWithBase(var VATStatementReportLine: Record "VAT Statement Report Line"; VATStatementLine: Record "VAT Statement Line"; VATReportHeader: Record "VAT Report Header")
table/111 "Sales Shipment Line" +3
  • +field(12101; "Deductible %"; Decimal)
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12145; "Automatically Generated"; Boolean)
table/120 "Purch. Rcpt. Header" +3
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
  • +field(12132; "Related Entry No."; Integer)
table/121 "Purch. Rcpt. Line" +3
  • +field(12101; "Deductible %"; Decimal)
  • +field(12130; "Include in VAT Transac. Rep."; Boolean)
  • +field(12132; "Related Entry No."; Integer)
table/1226 "Payment Export Data" +2, 1 changed
  • +procedure SetVendorAsRecipient(var Vendor: Record Vendor; var VendorBankAccount: Record "Vendor Bank Account"; SEPAFormat: Option pain,CBI,AMC)
  • +procedure SetBankAsSenderBank(BankAccount: Record "Bank Account"; SEPAFormat: Option pain,CBI,AMC)
  • Δfield(31; "Sender Bank Account No."; Text[50])
table/255 "VAT Statement Template" +1, 2 changed
  • +field(12100; "VAT Stat. Export Report ID"; Integer)
  • Δfield(16; "Page Caption"; Text[250])
  • Δfield(17; "VAT Statement Report Caption"; Text[250])
table/323 "VAT Business Posting Group" +3
  • +field(12100; "Default Sales Operation Type"; Code[20])
  • +field(12101; "Default Purch. Operation Type"; Code[20])
  • +field(12102; "Check VAT Exemption"; Boolean)
table/380 "Detailed Vendor Ledg. Entry" +3
  • +field(12103; "Original Document Type"; Enum "Gen. Journal Document Type")
  • +field(12104; "Original Document No."; Code[20])
  • +local procedure SetOriginalDocumentInfo()
table/382 "CV Ledger Entry Buffer" +3
  • +field(12100; "Document Type to Close"; Enum "Gen. Journal Document Type")
  • +field(12101; "Document No. to Close"; Code[20])
  • +field(12102; "Document Occurrence to Close"; Integer)
table/5600 "Fixed Asset" +3
  • +field(12100; "Source FA No."; Code[20])
  • +field(12102; "Acquisition Year"; Integer)
  • +key(Key11; "Acquisition Year", "FA Class Code", "FA Subclass Code")
table/9054 "Finance Cue" +3
  • +field(12100; "Vendor Bills - Open"; Integer)
  • +field(12101; "Vendor Bills - Sent"; Integer)
  • +field(12102; "Customer Bills"; Integer)
codeunit/1221 "SEPA CT-Fill Export Buffer" +1, 1 removed
  • +procedure FillExportBuffer(var GenJnlLine: Record "Gen. Journal Line"; var PaymentExportData: Record "Payment Export Data"; SEPAFormat: Option pain,CBI,AMC)
  • −procedure FillExportBuffer(var GenJnlLine: Record "Gen. Journal Line"; var PaymentExportData: Record "Payment Export Data")
codeunit/1222 "SEPA CT-Prepare Source" +2
  • +local event OnInsertTempGenJnlLineOnBeforeInsert(var TempGenJnlLine: Record "Gen. Journal Line" temporary; VendorBillLine: Record "Vendor Bill Line")
  • +local procedure InsertTempGenJnlLine(var TempGenJnlLine: Record "Gen. Journal Line" temporary; VendorBillHeader: Record "Vendor Bill Header"; VendorBillLine: Record "Vendor Bill Line"; AmountToPay: Decimal; CumulativeCnt: Integer)
codeunit/1232 "SEPA DD-Prepare Source" +2
  • +local procedure CopyFromCustBillHeader(var ToDirectDebitCollectionEntry: Record "Direct Debit Collection Entry" temporary; DirectDebitCollection: Record "Direct Debit Collection")
  • +local procedure CopyFromIssuedCustBillHeader(var ToDirectDebitCollectionEntry: Record "Direct Debit Collection Entry" temporary; DirectDebitCollection: Record "Direct Debit Collection")
codeunit/224 "EmplEntry-Apply Posted Entries" +2
  • +procedure CheckVATSettlement(EmplLedgEntryNo: Integer; PostingDate: Date): Boolean
  • +local procedure IsUnrealizedVAT(VATEntry: Record "VAT Entry"): Boolean
codeunit/227 "VendEntry-Apply Posted Entries" +2
  • +procedure CheckVATSettlement(VendLedgEntryNo: Integer; PostingDate: Date): Boolean
  • +local procedure IsUnrealizedVAT(VATEntry: Record "VAT Entry"): Boolean
codeunit/5704 "TransferOrder-Post Shipment" +2
  • +local event OnPostWIPItemJnlLineOnBeforeRunWithCheck(var ItemJnlLine: Record "Item Journal Line"; var TransShptHeader: Record "Transfer Shipment Header"; var TransShptLine: Record "Transfer Shipment Line")
  • +procedure PostWIPItemJnlLine(var TransLine3: Record "Transfer Line"; TransShptHeader2: Record "Transfer Shipment Header"; TransShptLine2: Record "Transfer Shipment Line")
codeunit/5988 "Serv-Documents Mgt." +1, 1 removed
  • +procedure FinalizeDeletePmtTermLines()
  • −local procedure CheckVATDate(var ServiceHeader: Record "Service Header")
codeunit/815 "Sales Post Invoice" +1, 1 removed
  • +local procedure SetAmountsForBalancingEntry(SalesHeader: Record "Sales Header"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"; TotalRemainPmtDiscPossible: Decimal)
  • −local procedure SetAmountsForBalancingEntry(SalesHeader: Record "Sales Header"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line")
codeunit/9181 "Application Area Localization" +2
  • +local procedure OnGetPremiumExperienceAppAreas(var TempApplicationAreaSetup: Record "Application Area Setup" temporary)
  • +local procedure SetLegacySubcontractingApplicationArea(var TempApplicationAreaSetup: Record "Application Area Setup" temporary)
codeunit/99000752 "Check Routing Lines" +2
  • +local event OnBeforeCheckRoutingLineWorkCenterFields(var RoutingLine: Record "Routing Line"; var IsHandled: Boolean)
  • +local procedure CheckRoutingLineWorkCenterFields(var RoutingLine: Record "Routing Line")
page/43 "Sales Invoice" +2
  • +local procedure SetIsActivityCodeMandatory()
  • +local procedure OperationOccurredDateOnAfterValidate()
page/507 "Blanket Sales Order" +1, 1 removed
  • +local procedure SetIsActivityCodeMandatory()
  • −local procedure PricesIncludingVATOnAfterValid()
page/509 "Blanket Purchase Order" +1, 1 removed
  • +local procedure SetIsActivityCodeMandatory()
  • −local procedure PricesIncludingVATOnAfterValid()
report/202 "Sales Document - Test" +2
  • +procedure FreeTypeExist(): Boolean
  • +local procedure CleanAmountsInVATAmountLine()
table/1207 "Direct Debit Collection" +2
  • +field(12000; "Source Table ID"; Integer)
  • +procedure SetErrorLink(var GenJnlLine: Record "Gen. Journal Line")
table/12145 "No. Series Line Sales" 2 removed
  • −key(Key2; "Series Code", "Starting Date", "Starting No.")
  • −key(Key3; "Starting No.")
table/12146 "No. Series Line Purchase" 2 removed
  • −key(Key2; "Series Code", "Starting Date", "Starting No.")
  • −key(Key3; "Starting No.")
table/1382 "Item Templ." +2
  • +field(12100; "Lifo Category"; Code[20])
  • +field(12101; "Inventory Valuation"; Option)
table/189 "VAT Setup" +1, 1 changed
  • +field(24; "Per Activity Code Settl. Entry"; Boolean)
  • Δfield(2; "Enable Non-Deductible VAT"; Boolean)
table/221 "Gen. Jnl. Allocation" +1, 1 changed
  • +field(12102; "Deductible %"; Decimal)
  • Δlocal procedure CheckAccountType(AllocAccountDistribution: Record "Alloc. Account Distribution")
table/257 "VAT Statement Name" +2
  • +field(12125; "Activity Code Filter"; Code[6])
  • +procedure Export()
table/27 "Item" +2
  • +field(12100; "Lifo Category"; Code[20])
  • +field(12101; "Inventory Valuation"; Option)
table/282 "Entry/Exit Point" +2
  • +field(12100; "Group Code"; Code[10])
  • +field(12101; "Reduce Statistical Value"; Boolean)
table/381 "VAT Registration No. Format" +2
  • +procedure SkipErrorMsg(SkipMsgDisplay2: Boolean)
  • +procedure GetErrorStatus(var AddRepError2: Boolean)
table/5050 "Contact" +2
  • +field(12101; "Fiscal Code"; Code[20])
  • +procedure GetTDDAddr(ContactNo: Code[20]; var AddrArray: array[8] of Text[100])
table/5643 "Depreciation Table Line" +2
  • +field(12100; "Anticipated %"; Decimal)
  • +field(12101; "Accelerated/Reduced %"; Decimal)
table/6660 "Return Receipt Header" +2
  • +field(12100; "Operation Type"; Code[20])
  • +field(12101; "Operation Occurred Date"; Date)
table/99000765 "Manufacturing Setup" +2
  • +field(12180; "Subcontr. Ship. Reason Code"; Code[10])
  • +field(12181; "Subcontr. Return Reason Code"; Code[10])
codeunit/103 "Cust. Entry-Edit" +1
  • +local procedure UpdateFromPaymentMethodAndBill(PaymentMethodCode: Code[10]; var CustLedgEntry: Record "Cust. Ledger Entry")
codeunit/393 "Reminder-Issue" 1 removed
  • −local procedure CheckVATDate(var ReminderHeader2: Record "Reminder Header")
codeunit/395 "FinChrgMemo-Issue" 1 removed
  • −local procedure CheckVATDate(var FinChrgMemoHeader2: Record "Finance Charge Memo Header")
codeunit/411 "Dimension Buffer Management" +1
  • +procedure RetrieveDimensionsByParentID(DimId: Integer; var DimBuf: Record "Dimension Buffer")
codeunit/5610 "Calculate Depreciation" +1
  • +procedure Calculate(var DeprAmount: Decimal; var Custom1Amount: Decimal; var NumberOfDays: Integer; var Custom1NumberOfDays: Integer; FANo: Code[20]; DeprBookCode: Code[10]; UntilDate: Date; EntryAmounts: array[4] of Decimal; DateFromProjection: Date; DaysInPeriod: Integer; UseCustom1: Boolean; UseCustom2: Boolean; var Custom2Amount: Decimal; ForcedPercent1: Decimal; ForcedPercent2: Decimal)
codeunit/5611 "Calculate Normal Depreciation" +1
  • +procedure Calculate(var DeprAmount: Decimal; var NumberOfDays4: Integer; FANo: Code[20]; DeprBookCode2: Code[10]; UntilDate2: Date; EntryAmounts2: array[4] of Decimal; DateFromProjection2: Date; DaysInPeriod2: Integer; UseCustom11: Boolean; UseCustom21: Boolean; var Custom1Amount2: Decimal; var Custom2Amount2: Decimal; ForcedPercent11: Decimal; ForcedPercent22: Decimal)
codeunit/5618 "Table Depr. Calculation" +1
  • +procedure GetTablePercent(DeprBookCode: Code[10]; DeprTableCode: Code[10]; FirstUserDefinedDeprDate: Date; StartingDate: Date; EndingDate: Date; DeprType2: Option Normal,Custom1,Custom2): Decimal
codeunit/5705 "TransferOrder-Post Receipt" +1
  • +local event OnInsertTransRcptLineOnBeforeUpdateSubcontractPurchOrderLine(var TransferReceiptHeader: Record "Transfer Receipt Header"; var TransRcptLine: Record "Transfer Receipt Line"; var TransLine: Record "Transfer Line"; var IsHandled: Boolean)
codeunit/5980 "Service-Post" +1
  • +local procedure ValidateIncludeInVATReport(ServiceHeaderParam: Record "Service Header")
codeunit/816 "Purch. Post Invoice" +1
  • +procedure CreateTempFA(GenJnlLine: Record "Gen. Journal Line"; SplitNo: Integer): Boolean
codeunit/96 "Purch.-Quote to Order" +1
  • +local procedure InsertPurchaseHeader(var PurchaseHeader: Record "Purchase Header")
codeunit/97 "Blanket Purch. Order to Order" +1
  • +local procedure InsertPurchaseHeader(var PurchaseHeader: Record "Purchase Header")
codeunit/9998 "Upgrade Tag Definitions" +1
  • +procedure GetLegacySubcontractingUpgradeTag(): Code[250]
page/41 "Sales Quote" +1
  • +local procedure SetIsActivityCodeMandatory()
page/47 "Sales Invoice Subform" +1
  • +local procedure UpdateSplitVATLinesPage(ChangedFieldName: Text[100])
page/49 "Purchase Quote" +1
  • +local procedure SetIsActivityCodeMandatory()
page/5660 "Depreciation Table Lines" +1
  • +procedure CalcDeprPerc(DeprCode: Code[10]): Decimal
page/96 "Sales Cr. Memo Subform" +1
  • +local procedure UpdateSplitVATLinesPage(ChangedFieldName: Text[100])
page/99000754 "Work Center Card" +1
  • +local procedure SubcontractorNoOnAfterValidate()
page/99000755 "Work Center List" +1
  • +procedure GetSelectionFilter(): Code[80]
page/99000765 "Routing Lines" +1
  • +procedure ShowSubcPrices()
page/99000799 "Standard Tasks" +1
  • +procedure GetSelectionFilter(): Code[80]
page/99000886 "Subcontracting Worksheet" 1 changed
  • Δlocal event OnBeforeCarryOutActionMsg(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)
report/5692 "Calculate Depreciation" +1
  • +procedure TestDocumentNo()
report/5911 "Service - Invoice" +1
  • +local procedure CleanAmountsInVATAmountLine()
report/5912 "Service - Credit Memo" +1
  • +local procedure CleanAmountsInVATAmountLine()
report/5915 "Service Document - Test" +1
  • +local procedure CleanAmountsInVATAmountLine()
table/179 "Reversal Entry" +1
  • +procedure CheckReverseDocumentType(EntryNo: Integer; DocumentType: Enum "Gen. Journal Document Type")
table/302 "Finance Charge Memo Header" +1
  • +field(12123; "Activity Code"; Code[6])
table/304 "Issued Fin. Charge Memo Header" +1
  • +field(12123; "Activity Code"; Code[6])
table/372 "Payment Buffer" +1
  • +field(12100; "Document Occurrence"; Integer)
table/475 "Vendor Payment Buffer" +1
  • +field(12100; "Document Occurrence"; Integer)
table/6661 "Return Receipt Line" +1
  • +field(12145; "Automatically Generated"; Boolean)
table/92 "Customer Posting Group" +1
  • +field(12100; "Free Invoice Account"; Code[20])
table/99 "Item Vendor" +1
  • +field(12100; "Country/Region of Origin Code"; Code[10])
table/99000764 "Routing Line" +1
  • +field(12180; "WIP Item"; Boolean)
table/99000830 "Planning Routing Line" +1
  • +field(12180; "WIP Item"; Boolean)
tableextension/99000829 "Mfg. Planning Component" +1
  • +local event OnValidateRoutingLinkCodeOnBeforeSubcontractorProcurementCheck(var PlanningComponent: Record "Planning Component"; Vendor: Record Vendor; var IsHandled: Boolean)
codeunit/5708 "Release Transfer Document" body changes only
enum/256 "VAT Statement Line Type" body changes only
enum/258 "VAT Statement Line Amount Type" body changes only
enum/264 "Intrastat Source Type" body changes only
enum/6 "Gen. Journal Document Type" body changes only
page/323 "EC Sales List Reports" body changes only
page/5740 "Transfer Order" body changes only
page/5742 "Transfer Orders" body changes only
page/6650 "Posted Return Shipment" body changes only
page/744 "VAT Report List" body changes only
permissionset/1001 "LOCAL" body changes only
permissionset/1002 "LOCAL READ" body changes only
permissionset/9276 "VAT Report - Edit" body changes only
report/740 "VAT Report Print" body changes only

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

Overview

The Italian layer is large: 551 objects, 829 fields added to W1 tables, 92 events and 337 procedures. Most of the change is on posting and document tables. Sales, purchase, journal and VAT entry tables gain fields such as Operation Type, Operation Occurred Date, Activity Code, Service Tariff No., Deductible % and Fiscal Code. Codeunits Gen. Jnl.-Post Line, Sales-Post and Purch.-Post carry many of the new events and procedures.

Own objects cover the local features. These are bills and bill posting groups, withholding tax and INPS contributions, periodic VAT settlement, the annual VAT communication, G/L book and VAT register printing, Spesometro and Datifattura exports, the FatturaPA export and Fattura setup, payment lines for installment terms, LIFO and fiscal inventory valuation, compressed depreciation, and the Intrastat IT extensions. Learn documents these in the Italy local functionality pages. Subcontracting is documented as deprecated and replaced by a separate Subcontracting app, with a migration for sandboxes.

Developers can hook the new events in posting, bill handling, VAT report validation, fixed asset batch posting and the cash flow worksheet. Setup is concentrated on General Ledger Setup, Company Information, VAT Posting Setup, Payment Terms and the Fattura Setup page.

Key points

  • VAT: non-deductible VAT, Deductible % on lines and VAT entries, VAT posting setup fields, Calc. and Post VAT Settlement with rounding and minimum payable, and Italian VAT statements.
  • VAT transactions reports: suggest lines by threshold, validate, export as .ccf files, correct or cancel reports and record tax authority receipt numbers.
  • Withholding tax and INPS contribution codes, brackets and payment lists, driven by fields on Vendor and calculated at payment.
  • Customer and vendor bills with bill codes, bill posting groups, SEPA credit transfer and direct debit export, and CBI payment request file support.
  • FatturaPA electronic invoicing with Fattura Setup, document types, codes, project info and self-billing export.
  • Fiscal reporting: G/L book and VAT register printing with page numbering, Intrastat IT with corrective entries, fiscal denial list, Italian payment terms with installments.
  • Fiscal inventory valuation (average, FIFO, LIFO, discrete LIFO) and fixed asset anticipated, accelerated, reduced and compressed depreciation.
  • Legacy subcontracting with WIP items, subcontractor prices and transfer orders, deprecated in favor of the Subcontracting app.

Narrative written by Sonnet from the code diff and 33 Learn page summaries. In numbers: Italy (IT) localization of Business Central in BC29: 356 objects of its own, 196 W1 objects changed (829 fields and 92 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 46 93 196
Bank 7 74 10
Service 5 58 0
Inventory 25 36 129
Sales 39 5 200
Purchases 33 6 230
Manufacturing 12 20 13
Foundation 8 20 41
EServices 0 19 0
FixedAssets 10 2 7
(no namespace) 0 10 0
Utilities 0 9 0
Microsoft 0 3 0
Security 3 0 0
Environment 1 1 0
HumanResources 2 0 2
Upgrade 2 0 0
CashFlow 1 0 0
CRM 1 0 1
Projects 1 0 0

Finance

Core Italian VAT and ledger logic. Gen. Jnl.-Post Line gets bill handling, unrealized VAT and non-deductible VAT procedures with many events. VAT Entry, VAT Posting Setup, General Ledger Setup and journal lines gain local fields. VAT report objects get suggest, validate and export logic, and own codeunits export Spesometro, withholding tax and VAT payment communication.

Why: Learn describes Italian VAT with non-deductible VAT, service tariffs and reverse charge, and VAT transactions reports for amounts above a threshold, plus VAT settlement and statement submission.

Objects: codeunit/12 “Gen. Jnl.-Post Line”, table/254 “VAT Entry”, table/325 “VAT Posting Setup”, table/98 “General Ledger Setup”, report/20 “Calc. and Post VAT Settlement”, table/81 “Gen. Journal Line”, report/741 “VAT Report Suggest Lines”, codeunit/744 “VAT Report Validate”.

All 139 objects of Finance in the diff

Bank

Adds customer and vendor bills with issuing, posting, recall and status change, bill posting groups and ABI/CAB lists. Bank account tables gain ABI, CAB and BBAN with IBAN checks. SEPA credit transfer and direct debit codeunits are extended, and INPS contribution pages sit here.

Why: Learn documents automatic payments and bills, SEPA Credit Transfer and Direct Debit and the Italian bill formats.

Objects: table/270 “Bank Account”, table/289 “Payment Method”, codeunit/12172 “Customer Bill - Post + Print” (own), codeunit/12173 “Vendor Bill List - Post” (own), codeunit/12177 “SEPA - DD Export Mgt.” (own), codeunit/12178 “SEPA CT CBI-Check Line” (own), codeunit/1221 “SEPA CT-Fill Export Buffer”, codeunit/1232 “SEPA DD-Prepare Source”.

All 81 objects of Bank in the diff

Service

Italian counterparts for service documents: edit codeunits for posted service documents, page extensions for service orders, invoices and contracts, FatturaPA validation hooks, and service declaration (service Intrastat) objects with periodicity and report type enums.

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

Objects: codeunit/12216 “Service Declaration Mgt. IT” (own), codeunit/12140 “Serv. Document Mgt. IT” (own), codeunit/12109 “Serv. Local Integration IT” (own), codeunit/5988 “Serv-Documents Mgt.”, codeunit/12187 “Service Invoice Header - Edit” (own), enum/12214 “Serv. Decl. Periodicity IT” (own), page/12214 “Serv. Decl. Lines IT” (own), pageextension/12451 “Service Order IT” (own).

All 63 objects of Service in the diff

Inventory

Transfer orders gain transport document fields (reason code, weight, loader, goods appearance) and WIP subcontracting fields. Intrastat tables and Intrastat Report IT objects handle the Italian format. Own LIFO, item cost history and fiscal inventory valuation reports and pages live here.

Why: Learn describes Intrastat for Italy with periodicity, corrective entries and file disk numbers, and fiscal inventory valuation by several cost methods.

Objects: table/5740 “Transfer Header”, table/5744 “Transfer Shipment Header”, table/263 “Intrastat Jnl. Line”, table/262 “Intrastat Jnl. Batch”, codeunit/148121 “Intrastat Report Management IT” (own), report/12135 “Fiscal Inventory Valuation” (own), report/12137 “LIFO Valuation” (own), page/12137 “Item Costing Setup” (own).

All 61 objects of Inventory in the diff

Sales

Sales documents, archives and posted documents gain operation type, operation occurred date, activity code, fiscal code and individual person data. Customer gets fiscal code, PA code, PEC e-mail and bill fields. Sales-Post and prepayment posting get payment line and VAT report logic, and split VAT line procedures are added.

Why: Learn covers VAT transactions report preparation (individual person, resident, tax representative) and FatturaPA invoicing to public administration.

Objects: table/36 “Sales Header”, table/18 “Customer”, codeunit/80 “Sales-Post”, table/21 “Cust. Ledger Entry”, table/37 “Sales Line”, table/311 “Sales & Receivables Setup”, codeunit/442 “Sales-Post Prepayments”, table/112 “Sales Invoice Header”.

All 44 objects of Sales in the diff

Purchases

Purchase documents gain operation type, check total, reverse sales VAT, activity code and tax representative fields. Vendor carries withholding tax, social security and birth and residence data. Purch.-Post adds withholding and social security posting, fixed asset splitting and payment line events.

Why: Learn documents withholding tax set up per vendor and calculated at payment, and the fixed asset card creation from invoices.

Objects: table/38 “Purchase Header”, table/23 “Vendor”, codeunit/90 “Purch.-Post”, table/39 “Purchase Line”, table/312 “Purchases & Payables Setup”, codeunit/444 “Purchase-Post Prepayments”, table/25 “Vendor Ledger Entry”, table/288 “Vendor Bank Account”.

All 39 objects of Purchases in the diff

Manufacturing

Legacy Italian subcontracting: subcontracting orders, transfer orders, prices, WIP item fields on routing and production order routing lines, dispatching and transfer shipment reports, plus migration and upgrade codeunits.

Why: Learn states the feature is deprecated and replaced by the Subcontracting app, with a migration for sandbox environments.

Objects: codeunit/12152 “SubcontractingManagement” (own), codeunit/12153 “SubcontractingPricesMgt” (own), table/12152 “Subcontractor Prices” (own), table/5409 “Prod. Order Routing Line”, page/12152 “Subcontracting Order” (own), codeunit/149951 “IT Subc. Migration” (own), report/12152 “Create Subcontr.Transf. Order” (own), table/99000765 “Manufacturing Setup”.

All 32 objects of Manufacturing in the diff

Foundation

Company Information gets Italian registration, REA and tax representative fields. Payment Terms get installment payment lines (Payment Lines and Posted Payment Lines tables), No. Series gets VAT register types, and Country/Region gets deny list fields. Company officials and company types are new.

Why: Learn covers payment terms with installments and discount dates, company information setup and the fiscal denial list.

Objects: table/79 “Company Information”, table/3 “Payment Terms”, table/12170 “Payment Lines” (own), table/9 “Country/Region”, table/308 “No. Series”, table/12159 “Company Officials” (own), codeunit/12196 “Company Initialize IT” (own), table/12171 “Posted Payment Lines” (own).

All 28 objects of Foundation in the diff

EServices

FatturaPA electronic invoicing: export codeunit, sales and service validation, Fattura header and line tables, setup, document types, codes, project info and self-billing export.

Why: Learn describes FatturaPA invoicing to public administration through the SDI platform, with setup for invoices, credit memos, self-billing and prepayments.

Objects: codeunit/12179 “Export FatturaPA Document” (own), codeunit/12180 “FatturaPA Sales Validation” (own), table/12205 “Fattura Setup” (own), page/12204 “Fattura Setup” (own), codeunit/12185 “Export Self-Billing Documents” (own), table/12203 “Fattura Header” (own), table/12204 “Fattura Line” (own), table/12206 “Fattura Document Type” (own).

All 19 objects of EServices in the diff

FixedAssets

Adds anticipated, accelerated and reduced depreciation through depreciation table fields, compressed depreciation posting in FA Jnl.-Post Batch, new Depreciation Book report, and extra procedures in depreciation calculation.

Why: Learn documents alternate depreciation methods, compressed depreciation to reduce ledger entries, and the Depreciation Book report.

Objects: codeunit/5633 “FA Jnl.-Post Batch”, table/5611 “Depreciation Book”, table/5643 “Depreciation Table Line”, report/12119 “Depreciation Book” (own), table/12100 “Compress Depreciation” (own), codeunit/5611 “Calculate Normal Depreciation”, codeunit/5618 “Table Depr. Calculation”, codeunit/5626 “FA General Report”.

All 12 objects of FixedAssets in the diff

(no namespace)

Italy extensions to No. Series and No. Series Line, an IT no. series codeunit, the CBI payment request XMLport and upgrade codeunits for detailed ledger entries and periodic VAT settlement entries.

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

Objects: xmlport/12100 “CBI Payment Request.00.04.00” (own), codeunit/12148 “No. Series IT” (own), tableextension/12145 “NoSeriesIT” (own), tableextension/12146 “NoSeriesLineIT” (own), tableextension/12147 “GeneralLedgerSetupIT” (own), table/12118 “Intra - form Buffer” (own).

All 10 objects of (no namespace) in the diff

Utilities

Local helper objects: activity codes, appointment codes, Spesometro appointments, the fiscal code check setup and report management and application management codeunits.

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

Objects: table/12124 “Activity Code” (own), page/12124 “Activity Codes” (own), table/12125 “Appointment Code” (own), table/12126 “Spesometro Appointment” (own), table/12123 “Check Fiscal Code Setup” (own), codeunit/12112 “IT - Report Management” (own), codeunit/12104 “LocalApplicationManagement” (own), page/12120 “Spesometro Appointments” (own).

All 9 objects of Utilities in the diff

Microsoft

Flat file management codeunit, a blacklist communication amount table and a document relation table.

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

Objects: codeunit/12133 “Flat File Management” (own), table/12194 “Blacklist Comm. Amount” (own), table/12197 “Document Relation” (own).

All 3 objects of Microsoft in the diff

Security

The LOCAL, LOCAL READ and VAT Report - Edit permission sets are changed to cover the Italian objects.

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

Objects: permissionset/1001 “LOCAL”, permissionset/1002 “LOCAL READ”, permissionset/9276 “VAT Report - Edit”.

All 3 objects of Security in the diff

Environment

A feature management codeunit for Italy and application area additions, including the legacy subcontracting application area.

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

Objects: codeunit/12100 “Feature Management IT” (own), codeunit/9181 “Application Area Localization”.

All 2 objects of Environment in the diff

HumanResources

Employee gets birth place fields, and employee entry application gets VAT settlement and unrealized VAT checks.

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

Objects: table/5200 “Employee”, codeunit/224 “EmplEntry-Apply Posted Entries”.

All 2 objects of HumanResources in the diff

CashFlow

Cash Flow Worksheet Line gets new events and procedures for posted and unposted document calculation, credit memos and payment tolerance.

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

Objects: table/846 “Cash Flow Worksheet Line”.

All 1 objects of CashFlow in the diff

CRM

Contact gets a Fiscal Code field and a transport document address procedure.

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

Objects: table/5050 “Contact”.

All 1 objects of CRM in the diff

Projects

Job Transfer Line gets a reverse charge VAT amount procedure and an event after validating job journal quantity.

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

Objects: codeunit/1004 “Job Transfer Line”.

All 1 objects of Projects in the diff

Objects of its own

356 objects only this country has.

Other versions

  • BC30: 547 objects differ from W1 (829 fields, 92 events added)

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