localization · BC29official - Microsoftreviewed - checked by Opus

NewZealand (NZ)

New Zealand localization of Business Central 29. It covers GST posting and settlement, withholding tax (WHT), IRD numbers, adjustment notes, EFT vendor payments, tax invoices, post-dated checks, cost-plus pricing and DPID address bar codes. It answers what NZ adds to W1 in finance, sales, purchases and banking.

What NZ changes in W1 109 objects, BC29

codeunit/12 "Gen. Jnl.-Post Line" +41, 4 removed
  • +local event OnAfterOldCustLedgEntryModify(var CustLedgEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")
  • +local event OnAfterOldVendLedgEntryModify(var VendLedgEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; AppliedAmount: Decimal; var NextTaxEntryNo: Integer; var NextEntryNo: Integer; var NextCheckEntryNo: Integer; NextTransactionNo: Integer)
  • +local event OnPostCustWHTOnAfterPostCustWHTTaxInv(var GenJournalLine: Record "Gen. Journal Line"; var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +local event OnBeforeUnApplyWHTEntry(GenJnlLine: Record "Gen. Journal Line"; TransactionType: Option; CVNo: Code[20]; TransactionNo: Integer; VoidCheck: Boolean; var IsHandled: Boolean)
  • +local procedure PostApplyCust(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; Cust: Record Customer; AllApplied: Boolean; var AppliedAmount: Decimal; var OldAppliedAmount: Decimal; var PmtTolAmtToBeApplied: Decimal; CustLedgEntry2: Record "Cust. Ledger Entry")
  • +local procedure PostApplyVend(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf2: Record "CV Ledger Entry Buffer"; Vend: Record Vendor; AllApplied: Boolean; var AppliedAmount: Decimal; var OldAppliedAmount: Decimal; var PmtTolAmtToBeApplied: Decimal)
  • +procedure UnapplyVendLedgEntry(GenJournalLine: Record "Gen. Journal Line"; DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; VoidCheck: Boolean)
  • +local procedure VendorACYExchangeRateApplies(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +procedure InsertWHTPostingBufferPosted(var WHTEntryGL: Record "WHT Entry"; var GenJnlLine: Record "Gen. Journal Line"; Apply: Boolean; Source: Option Sales,Purchase)
  • +procedure IncreaseWHTEntryNo()
  • +procedure GetTransactionNo(var TransactionNo: Integer)
  • +procedure InsertGSTReport(VATEntryNo: Integer; GenJnlLine2: Record "Gen. Journal Line")
  • +procedure GetVATEntryNo(): Integer
  • +procedure InsertWHTPaymentGL(GenJnlLine: Record "Gen. Journal Line"; var GenJnlLineWHT: Record "Gen. Journal Line"; var EntryNo: Integer)
  • +local procedure IsAboveWHTMinInvoiceAmount(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +procedure SetReversalDocument(ReversalDoc: Boolean)
  • +local procedure CalcDtldCVLedgEntryAmount(GenJnlLine: Record "Gen. Journal Line"; WHTPercent: Decimal): Decimal
  • +procedure CalcGLAccWHT(GenJnlLine: Record "Gen. Journal Line"; var WHTPostingSetup: Record "WHT Posting Setup"; var WHTAmountLCY: Decimal; var WHTAmount: Decimal)
  • +procedure PostGLAccWHT(GenJnlLine: Record "Gen. Journal Line"; WHTPostingSetup: Record "WHT Posting Setup"; WHTAmountLCY: Decimal)
  • +procedure CalcCustWHT(GenJnlLine: Record "Gen. Journal Line"; var WHTPostingSetup: Record "WHT Posting Setup"; var WHTAmountLCY: Decimal; var WHTAmount: Decimal)
  • +procedure PostCustWHT(GenJnlLine: Record "Gen. Journal Line"; CustLedgEntry: Record "Cust. Ledger Entry"; WHTPostingSetup: Record "WHT Posting Setup"; WHTAmountLCY: Decimal)
  • +procedure PostCustWHTTaxInv(GenJnlLine: Record "Gen. Journal Line"; CustLedgEntry: Record "Cust. Ledger Entry")
  • +procedure CalcVendWHT(GenJnlLine: Record "Gen. Journal Line"; var WHTPostingSetup: Record "WHT Posting Setup"; var WHTAmountLCY: Decimal; var WHTAmount: Decimal)
  • +procedure PostVendWHT(GenJnlLine: Record "Gen. Journal Line"; VendLedgEntry: Record "Vendor Ledger Entry"; WHTPostingSetup: Record "WHT Posting Setup"; WHTAmountLCY: Decimal; WHTAmount: Decimal)
  • +procedure PostVendWHTTaxInv(GenJnlLine: Record "Gen. Journal Line"; VendLedgEntry: Record "Vendor Ledger Entry")
  • +procedure CalcBankAccWHT(GenJnlLine: Record "Gen. Journal Line"; var WHTPostingSetup: Record "WHT Posting Setup"; var WHTAmountLCY: Decimal; var WHTAmount: Decimal)
  • +procedure CalcBankAccWHT2(GenJnlLine: Record "Gen. Journal Line"; var WHTPostingSetup: Record "WHT Posting Setup"; var WHTAmountLCY: Decimal; var WHTAmount: Decimal)
  • +procedure PostBankAccWHT(GenJnlLine: Record "Gen. Journal Line"; WHTPostingSetup: Record "WHT Posting Setup"; WHTAmountLCY: Decimal)
  • +procedure UpdateWHTEntryTransaction(DocNo: Code[20])
  • +procedure ProcessSourceCode(SourceCode: Code[10]; SourceCodeSetup: Record "Source Code Setup"): Boolean
  • +procedure IsCustAcc(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +procedure IsVendAcc(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +procedure IsPaymentOrRefund(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • +procedure UnapplyWHTEntry(GenJnlLine: Record "Gen. Journal Line"; TransactionType: Option; CVNo: Code[20]; TransactionNo: Integer; VoidCheck: Boolean)
  • +procedure CollectWHTAmount(DocNo: Code[20]): Decimal
  • +procedure GetNextWHTEntryNo(): Integer
  • +procedure IncrNextWHTEntryNo()
  • +local procedure InsertPmtDiscGSTReport(GenJnlLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry")
  • +local procedure CreateVendGLEntriesForTotalAmounts(GenJnlLine: Record "Gen. Journal Line"; var TempDimPostingBuffer: Record "Dimension Posting Buffer"; VendPostingGr: Record "Vendor Posting Group"; AdjAmountBuf: array[4] of Decimal; SavedEntryNo: Integer; LedgEntryInserted: Boolean; GLAccNo: Code[20])
  • +local procedure SetBASFields(var VATEntry: Record "VAT Entry"; BASDocNo: Code[11]; BASVersion: Integer; BASAdjustment: Boolean)
  • +local procedure CalcSourceCurrVATBaseAmount(GenJnlLine: Record "Gen. Journal Line"; WHTAmountLCY: Decimal): Decimal
  • −local event OnAfterOldCustLedgEntryModify(var CustLedgEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var TempCustLedgerEntry: Record "Cust. Ledger Entry" temporary; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")
  • −local event OnAfterOldVendLedgEntryModify(var VendLedgEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var TempVendorLedgerEntry: Record "Vendor Ledger Entry" temporary; var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; AppliedAmount: Decimal; var NextTaxEntryNo: Integer; var NextEntryNo: Integer; var NextCheckEntryNo: Integer; NextTransactionNo: Integer)
  • −local procedure UpdateAppliedCVLedgerEntries()
  • −local procedure CalcSourceCurrVATBaseAmount(var GenJnlLine: Record "Gen. Journal Line"): Decimal
table/81 "Gen. Journal Line" +44
  • +field(11620; "Adjustment"; Boolean)
  • +field(11621; "BAS Adjustment"; Boolean)
  • +field(11626; "Adjustment Applies-to"; Code[20])
  • +field(11627; "Adjmt. Entry No."; Integer)
  • +field(11629; "BAS Doc. No."; Code[11])
  • +field(11630; "BAS Version"; Integer)
  • +field(11631; "Financially Voided Cheque"; Boolean)
  • +field(11632; "EFT Journal No."; Integer)
  • +field(11633; "EFT Payment"; Boolean)
  • +field(11634; "EFT Ledger Entry No."; Integer)
  • +field(11635; "EFT Bank Account No."; Code[20])
  • +field(11636; "EFT Register No."; Integer)
  • +field(28021; "Bank Branch No."; Text[20])
  • +field(28022; "Bank Account No."; Text[30])
  • +field(28023; "Customer/Vendor Bank"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28043; "WHT Entry No."; Integer)
  • +field(28044; "WHT Report Line No."; Code[20])
  • +field(28045; "Skip WHT"; Boolean)
  • +field(28046; "Certificate Printed"; Boolean)
  • +field(28047; "WHT Payment"; Boolean)
  • +field(28048; "Actual Vendor No."; Code[20])
  • +field(28049; "Is WHT"; Boolean)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +field(28087; "Vendor Exchange Rate (ACY)"; Decimal)
  • +field(28088; "Line Discount Amt. (ACY)"; Decimal)
  • +field(28089; "Inv. Discount Amt. (ACY)"; Decimal)
  • +field(28090; "Post Dated Check"; Boolean)
  • +field(28091; "Check No."; Code[20])
  • +field(28092; "Interest Amount"; Decimal)
  • +field(28093; "Interest Amount (LCY)"; Decimal)
  • +field(28161; "Entry No."; Integer)
  • +local event OnBeforeCheckAdjustmentAppliesto(GeneralLedgerSetup: Record "General Ledger Setup"; SourceCodeSetup: Record "Source Code Setup"; var IsHandled: Boolean)
  • +local event OnAfterShouldCheckAdjustmentAppliesTo(var GenJournalLine: Record "Gen. Journal Line"; var ShouldCheck: Boolean)
  • +procedure ValidateAdjmtAppliesTo()
  • +procedure CheckAdjustmentAppliesto()
  • +local procedure ShouldCheckAdjustmentAppliesTo(var GenJournalLine: Record "Gen. Journal Line"): Boolean
  • +local procedure LookupAdjmtAppliesTo()
table/181 "Posted Gen. Journal Line" +38
  • +field(11620; "Adjustment"; Boolean)
  • +field(11621; "BAS Adjustment"; Boolean)
  • +field(11626; "Adjustment Applies-to"; Code[20])
  • +field(11627; "Adjmt. Entry No."; Integer)
  • +field(11629; "BAS Doc. No."; Code[11])
  • +field(11630; "BAS Version"; Integer)
  • +field(11631; "Financially Voided Cheque"; Boolean)
  • +field(11632; "EFT Journal No."; Integer)
  • +field(11633; "EFT Payment"; Boolean)
  • +field(11634; "EFT Ledger Entry No."; Integer)
  • +field(11635; "EFT Bank Account No."; Code[20])
  • +field(11636; "EFT Register No."; Integer)
  • +field(28021; "Bank Branch No."; Text[20])
  • +field(28022; "Bank Account No."; Text[30])
  • +field(28023; "Customer/Vendor Bank"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28043; "WHT Entry No."; Integer)
  • +field(28044; "WHT Report Line No."; Code[20])
  • +field(28045; "Skip WHT"; Boolean)
  • +field(28046; "Certificate Printed"; Boolean)
  • +field(28047; "WHT Payment"; Boolean)
  • +field(28048; "Actual Vendor No."; Code[20])
  • +field(28049; "Is WHT"; Boolean)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +field(28087; "Vendor Exchange Rate (ACY)"; Decimal)
  • +field(28088; "Line Discount Amt. (ACY)"; Decimal)
  • +field(28089; "Inv. Discount Amt. (ACY)"; Decimal)
  • +field(28090; "Post Dated Check"; Boolean)
  • +field(28091; "Check No."; Code[20])
  • +field(28092; "Interest Amount"; Decimal)
  • +field(28093; "Interest Amount (LCY)"; Decimal)
  • +field(28161; "Entry No."; Integer)
table/39 "Purchase Line" +28
  • +field(28006; "Prepmt. VAT Amount Deducted"; Decimal)
  • +field(28007; "Prepmt. VAT Base Deducted"; Decimal)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +key(Key15; "Document Type", "Document No.", "WHT Business Posting Group", "WHT Product Posting Group")
  • +local event OnBeforeCalcPrepaymentLineAmount(var PurchaseLine: Record "Purchase Line"; Currency: Record Currency; var IsHandled: Boolean)
  • +procedure GetFullGST(): Boolean
  • +procedure InitTextVariable()
  • +procedure InitTextVariableTH()
  • +procedure FormatNoText(var NoText: array[2] of Text[80]; No: Decimal; CurrencyCode: Code[10])
  • +procedure FormatNoTextTH(var NoText: array[2] of Text[80]; No: Decimal; CurrencyCode: Code[10])
  • +local procedure CalculateFullGST(var PrepmtLineAmount: Decimal): Boolean
  • +local procedure UpdateGSTAmounts(): Boolean
  • +local procedure FullGSTAmount(): Decimal
  • +local procedure ExcludeVAT(AmountInclVAT: Decimal): Decimal
  • +local procedure LineAmountExclFullGST(): Decimal
  • +local procedure PrepmtLineAmtExclFullGST(): Decimal
  • +local procedure AppendInvDiscount(LineAmount: Decimal): Decimal
  • +procedure CalcFullGSTValues(var VATAmountLine: Record "VAT Amount Line"; var PurchLine: Record "Purchase Line"; PriceIncludingVAT: Boolean)
  • +procedure UpdateACYAmounts(PurchHeaderToCalc: Record "Purchase Header")
  • +local procedure CalcCurrencyFactorACY(): Decimal
  • +local procedure GetAdditionalCurrencyCode(): Code[10]
table/254 "VAT Entry" +22, 5 changed
  • +field(11624; "Adjustment"; Boolean)
  • +field(11625; "BAS Adjustment"; Boolean)
  • +field(11626; "BAS Doc. No."; Code[11])
  • +field(11627; "BAS Version"; Integer)
  • +field(11628; "Consol. BAS Doc. No."; Code[11])
  • +field(11629; "Consol. Version No."; Integer)
  • +field(28070; "Currency Code"; Code[10])
  • +field(28071; "Sett. Unrealised Amount (FCY)"; Decimal)
  • +field(28072; "Sett. Unrealised Base (FCY)"; Decimal)
  • +field(28073; "Sett. Unrealized Amount"; Decimal)
  • +field(28074; "Sett. Unrealized Base"; Decimal)
  • +field(28075; "Sett. Rem. Unrealized Amount"; Decimal)
  • +field(28076; "Sett. Rem. Unrealized Base"; Decimal)
  • +field(28077; "Settlement Adjustment"; Boolean)
  • +field(28078; "Sett. Payment Entry No."; Integer)
  • +key(Key14; "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Tax Jurisdiction Code", "Use Tax", "Posting Date", "G/L Acc. No.")
  • +key(Key15; "Posting Date", "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Reversed", "G/L Acc. No.", "VAT Reporting Date")
  • +key(Key16; "Document Date")
  • +key(Key17; "G/L Acc. No.")
  • +key(Key18; "Type", "Closed", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Reversed", "Posting Date", "G/L Acc. No.", "VAT Reporting Date")
  • +procedure GetCustUnrealizedVATPart(SettledAmount: Decimal; Paid: Decimal; Full: Decimal; TotalUnrealVATAmountFirst: Decimal; TotalUnrealVATAmountLast: Decimal; CustLedgEntry: Record "Cust. Ledger Entry"; GenJnlLine: Record "Gen. Journal Line"; WHTAmount: Decimal): Decimal
  • +local procedure GetWHTAmount(DocumentNo: Code[20]; var WHTAmount: Decimal)
  • Δkey(Key9; "BAS Doc. No.", "BAS Version")
  • Δkey(Key10; "Type", "Closed", "BAS Adjustment", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Posting Date", "BAS Doc. No.")
  • Δkey(Key11; "Document Type", "Type", "Currency Code", "Posting Date", "Closed")
  • Δkey(Key12; "Bill-to/Pay-to No.")
  • Δkey(Key13; "Sett. Payment Entry No.")
table/98 "General Ledger Setup" +26, 1 changed
  • +field(11600; "BAS to be Lodged as a Group"; Boolean)
  • +field(11601; "BAS Group Company"; Boolean)
  • +field(11602; "BAS GST Division Factor"; Decimal)
  • +field(11603; "Adjustment Mandatory"; Boolean)
  • +field(11604; "Enable GST (Australia)"; Boolean)
  • +field(11605; "Enable IRD No."; Boolean)
  • +field(11606; "Enable VAT Registration No."; Boolean)
  • +field(28000; "Address Validation"; Option)
  • +field(28001; "AMAS Software"; Integer)
  • +field(28002; "BarCode Custom Information"; Option)
  • +field(28005; "Full GST on Prepayment"; Boolean)
  • +field(28042; "Manual Sales WHT Calc."; Boolean)
  • +field(28043; "Enable WHT"; Boolean)
  • +field(28044; "Enable Tax Invoices"; Boolean)
  • +field(28045; "Print Tax Invoices on Posting"; Boolean)
  • +field(28046; "Round Amount for WHT Calc"; Boolean)
  • +field(28047; "Min. WHT Calc only on Inv. Amt"; Boolean)
  • +field(28048; "Force Payment With Invoice"; Boolean)
  • +field(28090; "Post Dated Journal Template"; Code[10])
  • +field(28091; "Post Dated Journal Batch"; Code[10])
  • +field(28092; "Interest Cal Excl. VAT"; Boolean)
  • +field(28093; "GST Report"; Boolean)
  • +procedure GSTEnabled(DateToCheck: Date): Boolean
  • +procedure IRDNoEnabled(): Boolean
  • +procedure VATRegistrationNoEnabled(): Boolean
  • +procedure CheckFullGSTonPrepayment(VATBusPostingGr: Text[30]; VATProdPostingGr: Text[30]): Boolean
  • Δfield(57; "Local Address Format"; Option)
table/37 "Sales Line" +25, 1 removed
  • +field(28006; "Prepmt. VAT Amount Deducted"; Decimal)
  • +field(28007; "Prepmt. VAT Base Deducted"; Decimal)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28043; "Full GST"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +local event OnBeforeCalcPrepaymentLineAmount(var SalesLine: Record "Sales Line"; Currency: Record Currency; var IsHandled: Boolean)
  • +procedure InitTextVariable()
  • +procedure InitTextVariableTH()
  • +procedure FormatNoText(var NoText: array[2] of Text[80]; No: Decimal; CurrencyCode: Code[10])
  • +procedure FormatNoTextTH(var NoText: array[2] of Text[80]; No: Decimal; CurrencyCode: Code[10])
  • +local procedure CalculateFullGST(var PrepmtLineAmount: Decimal): Boolean
  • +local procedure FullGSTAmount(): Decimal
  • +procedure GetFullGST(): Boolean
  • +procedure GetGLSetup()
  • +procedure CalcFullGSTValues(var VATAmountLine: Record "VAT Amount Line"; var SalesLine: Record "Sales Line"; PriceIncludingVAT: Boolean)
  • +procedure UpdateACYAmounts(SalesHeaderToCalc: Record "Sales Header")
  • +local procedure GetCurrencyFactorACY(var AddCurrency: Record Currency): Decimal
  • +local procedure GetCurrencyFactorACY(var AddCurrency: Record Currency; CurrSalesHeader: Record "Sales Header"): Decimal
  • +local procedure GetAdditionalCurrencyCode(): Code[10]
  • −local event OnCalcVATAmountLinesOnBeforeVATAmountLineUpdateLines(var SalesLine: Record "Sales Line"; var IsHandled: Boolean; var VATAmountLine: Record "VAT Amount Line"; var TotalVATAmount: Decimal)
table/112 "Sales Invoice Header" +15, 5 changed
  • +field(17110; "S/T Type"; Option)
  • +field(17111; "S/T Expiry Date"; Date)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Rem. WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28042; "Paid WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28043; "Total WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28070; "Tax Document Type"; Option)
  • +field(28071; "Printed Tax Document"; Boolean)
  • +field(28072; "Posted Tax Document"; Boolean)
  • +field(28073; "Tax Document Marked"; Boolean)
  • +field(28074; "Tax Date Filter"; Date)
  • +field(28075; "Invoice Print Type"; Option)
  • +key(Key14; "Due Date")
  • +key(Key15; "Salesperson Code")
  • +key(Key16; "SystemModifiedAt")
  • Δkey(Key9; "Printed Tax Document", "Bill-to Customer No.", "Currency Code", "Payment Discount %", "Posted Tax Document", "Tax Document Marked")
  • Δkey(Key10; "Tax Document Type", "Bill-to Customer No.", "Currency Code", "Payment Discount %", "Printed Tax Document", "Posted Tax Document")
  • Δkey(Key11; "Tax Document Marked")
  • Δkey(Key12; "Posting Date")
  • Δkey(Key13; "Document Exchange Status")
table/25 "Vendor Ledger Entry" +16, 3 changed
  • +field(11620; "Adjustment"; Boolean)
  • +field(11621; "BAS Adjustment"; Boolean)
  • +field(11626; "Adjustment Applies-to"; Code[20])
  • +field(11628; "Pre Adjmt. Reason Code"; Code[10])
  • +field(11631; "Financially Voided Cheque"; Boolean)
  • +field(11632; "EFT Register No."; Integer)
  • +field(11633; "EFT Amount Transferred"; Decimal)
  • +field(11634; "EFT Bank Account No."; Code[20])
  • +field(28040; "Rem. Amt for WHT"; Decimal)
  • +field(28041; "Rem. Amt"; Decimal)
  • +field(28042; "WHT Amount"; Decimal)
  • +field(28043; "WHT Amount (LCY)"; Decimal)
  • +key(Key19; "EFT Register No.")
  • +key(Key20; "Vendor Posting Group")
  • +key(Key21; "Pmt. Discount Date")
  • +key(Key22; "Document Type", "Due Date", "Open")
  • Δkey(Key16; "Vendor No.", "Document Date", "BAS Adjustment")
  • Δkey(Key17; "Vendor No.", "Positive", "Applies-to Doc. Type", "Applies-to Doc. No.", "Due Date")
  • Δkey(Key18; "Document No.", "Document Type", "Vendor No.")
table/38 "Purchase Header" +19
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(11620; "ABN"; Text[14])
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Actual Vendor No."; Code[20])
  • +field(28050; "WHT Amount"; Decimal)
  • +field(28070; "Printed Tax Document"; Boolean)
  • +field(28071; "Posted Tax Document"; Boolean)
  • +field(28072; "Tax Document Posting Date"; Date)
  • +field(28087; "Vendor Exchange Rate (ACY)"; Decimal)
  • +local event OnValidateBuyFromVendorNoOnBeforeCheckVendorRegistered(var PurchaseHeader: Record "Purchase Header"; var SkipCheckVendorRegistered: Boolean)
  • +local procedure ValidateDocumentDate()
  • +local procedure ValidateAppliesToDocNo()
  • +local procedure LookupAppliesToDocNo()
  • +local procedure LookupAdjmtAppliesTo()
  • +procedure ValidateAdjmtAppliesTo()
  • +local procedure UpdateACYAmountInLines()
codeunit/90 "Purch.-Post" +16, 2 removed
  • +local event OnBeforePostWHT(var PurchaseHeader: Record "Purchase Header"; var TotalInvAmount: Decimal; var PurchInvHeader: Record "Purch. Inv. Header"; var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; var TempPurchaseLineGlobal: Record "Purchase Line" temporary; var WHTEntry: Record "WHT Entry"; var IsHandled: Boolean)
  • +local procedure CalculateAmountsInclVAT(PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; FullGST: Boolean)
  • +local procedure PostICGenJnl(PurchHeader: Record "Purchase Header")
  • +procedure GetCurrencyFactorACY(PurchHeader: Record "Purchase Header")
  • +procedure InsertGenJournalWHT(var PurchHeader: Record "Purchase Header"; var GenJnlLine: Record "Gen. Journal Line"; AccountNo: Code[20])
  • +procedure GetDate(PurchHeader: Record "Purchase Header"): Date
  • +local procedure FillPrepmtLineNoBuf(LineNo: Integer; PrepmtLineNo: Integer)
  • +local procedure SavePrepmtVATDeducted(PurchLine: Record "Purchase Line")
  • +local procedure DividePrepmtVATDeducted(var PurchLine: Record "Purchase Line")
  • +local procedure DistributeAmount(AmountToDistibute: Decimal; Ratio: Decimal; var Amount: Decimal; var Reminder: Decimal)
  • +local procedure UpdateTaxForPostedDoc(var PurchHeader: Record "Purchase Header")
  • +local procedure CheckWHTApplication(PurchHeader: Record "Purchase Header")
  • +local procedure CalcWHTAmountOnPrepayment(DocNo: Code[20]): Decimal
  • +local procedure PostWHT(var PurchHeader: Record "Purchase Header"; TotalInvAmount: Decimal)
  • +local procedure InitializeWHTAmount(var PurchHeader: Record "Purchase Header")
  • +local procedure RestoreWHTAmountToHeader(var PurchaseHeader: Record "Purchase Header")
  • −local procedure CalculateAmountsInclVAT(PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary)
  • −local procedure PostICGenJnl()
table/21 "Cust. Ledger Entry" +12, 6 changed
  • +field(11620; "Adjustment"; Boolean)
  • +field(11621; "BAS Adjustment"; Boolean)
  • +field(11626; "Adjustment Applies-to"; Code[20])
  • +field(11628; "Pre Adjmt. Reason Code"; Code[10])
  • +field(28040; "Rem. Amt for WHT"; Decimal)
  • +field(28041; "Rem. Amt"; Decimal)
  • +field(28042; "WHT Amount"; Decimal)
  • +field(28043; "WHT Amount (LCY)"; Decimal)
  • +field(28044; "WHT Payment"; Boolean)
  • +key(Key24; "Document Type", "Open", "Posting Date", "Closed at Date")
  • +key(Key25; "Salesperson Code")
  • +key(Key26; "SystemModifiedAt")
  • Δkey(Key18; "Customer No.", "Document Date", "BAS Adjustment")
  • Δkey(Key19; "Customer No.", "Positive", "Applies-to Doc. Type", "Applies-to Doc. No.", "Due Date")
  • Δkey(Key20; "Document No.", "Document Type", "Customer No.")
  • Δkey(Key21; "Document Type", "Posting Date")
  • Δkey(Key22; "Document Type", "Customer No.", "Open", "Due Date")
  • Δkey(Key23; "Customer Posting Group")
table/79 "Company Information" +11, 3 changed, 4 removed
  • +field(11620; "ABN"; Text[13])
  • +field(11621; "Tax Period"; Option)
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(17100; "IRD No."; Text[30])
  • +field(28040; "WHT Registration ID"; Text[30])
  • +field(28041; "RDO Code"; Code[3])
  • +field(28070; "VAT Registration Date"; Date)
  • +local event OnBeforeValidateCity(var CompanyInformation: Record "Company Information"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • +local event OnBeforeValidatePostCode(var CompanyInformation: Record "Company Information"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • +local event OnBeforeValidateShipToCity(var CompanyInformation: Record "Company Information"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • +local event OnBeforeValidateShipToPostCode(var CompanyInformation: Record "Company Information"; CurrentFieldNo: Integer; var IsHandled: Boolean)
  • Δfield(11; "Giro No."; Text[20])
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(38; "IBAN"; Code[50])
  • −local event OnBeforeValidateCity(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
  • −local event OnBeforeValidatePostCode(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
  • −local event OnBeforeValidateShipToCity(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
  • −local event OnBeforeValidateShipToPostCode(var CompanyInformation: Record "Company Information"; var IsHandled: Boolean)
table/312 "Purchases & Payables Setup" +16
  • +field(11610; "GST Prod. Posting Group"; Code[20])
  • +field(11611; "Pre-GST Prod. Posting Group"; Code[20])
  • +field(11612; "Vendor Registration Warning"; Boolean)
  • +field(11613; "Payment Discount Reason Code"; Code[10])
  • +field(28040; "WHT Certificate No. Series"; Code[20])
  • +field(28041; "Print Dialog"; Boolean)
  • +field(28042; "Print WHT Docs. on Pay. Post"; Boolean)
  • +field(28043; "Print WHT Docs. on Credit Memo"; Boolean)
  • +field(28070; "Posted Tax Invoice Nos."; Code[20])
  • +field(28071; "Posted Tax Credit Memo Nos"; Code[20])
  • +field(28072; "Posted Non Tax Invoice Nos."; Code[20])
  • +field(28073; "Posted Non Tax Credit Memo Nos"; Code[20])
  • +field(28087; "Enable Vendor GST Amount (ACY)"; Boolean)
  • +field(28090; "Post Dated Check Template"; Code[10])
  • +field(28091; "Post Dated Check Batch"; Code[10])
  • +field(28093; "Default Cancel Reason Code"; Code[10])
table/114 "Sales Cr.Memo Header" +15
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(17110; "S/T Type"; Option)
  • +field(17111; "S/T Expiry Date"; Date)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Rem. WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28042; "Paid WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28043; "Total WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28070; "Tax Document Type"; Option)
  • +field(28071; "Printed Tax Document"; Boolean)
  • +field(28072; "Posted Tax Document"; Boolean)
  • +field(28073; "Tax Document Marked"; Boolean)
  • +field(28074; "Tax Date Filter"; Date)
  • +field(28075; "Invoice Print Type"; Option)
table/124 "Purch. Cr. Memo Hdr." +15
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(11620; "ABN"; Text[14])
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Rem. WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28042; "Paid WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28043; "Total WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28045; "Actual Vendor No."; Code[20])
  • +field(28070; "Printed Tax Document"; Boolean)
  • +field(28071; "Posted Tax Document"; Boolean)
  • +field(28073; "Tax Date Filter"; Date)
  • +field(28074; "Tax Document Marked"; Boolean)
  • +field(28075; "Invoice Print Type"; Option)
table/23 "Vendor" +13, 2 changed
  • +field(11620; "ABN"; Text[11])
  • +field(11621; "Registered"; Boolean)
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(11623; "Foreign Vend"; Boolean)
  • +field(11624; "EFT Payment"; Boolean)
  • +field(11625; "EFT Bank Account No."; Code[20])
  • +field(17100; "IRD No."; Text[30])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Payable Amount (LCY)"; Decimal)
  • +field(28042; "WHT Registration ID"; Text[20])
  • +field(28043; "ID No."; Text[20])
  • +field(28090; "Post Dated Checks (LCY)"; Decimal)
  • +key(Key16; "SystemModifiedAt")
  • Δkey(Key14; "ABN", "ABN Division Part No.")
  • Δkey(Key15; "Blocked")
table/290 "VAT Amount Line" +14, 1 changed
  • +field(28005; "Full GST on Prepayment"; Boolean)
  • +field(28070; "VAT Realized"; Decimal)
  • +field(28071; "Amount Paid"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +field(28086; "Calculated VAT Amount (ACY)"; Decimal)
  • +procedure GetTotalLineAmountACY(): Decimal
  • +procedure GetTotalVATAmountACY(): Decimal
  • +procedure GetTotalVATBaseACY(): Decimal
  • +procedure GetTotalAmountInclVATACY(): Decimal
  • +local procedure GetAdditionalReportingCurrencyCode(): Code[10]
  • Δkey(Key1; "VAT Identifier", "VAT Calculation Type", "Tax Group Code", "Use Tax", "Positive", "Full GST on Prepayment")
table/115 "Sales Cr.Memo Line" +11, 2 changed
  • +field(17110; "S/T Exempt"; Boolean)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +key(Key9; "Document No.", "Location Code")
  • +procedure GetAdditionalCurrencyCode(): Code[10]
  • Δkey(Key7; "Document No.", "WHT Business Posting Group", "WHT Product Posting Group")
  • Δkey(Key8; "Order No.", "Order Line No.", "Posting Date")
table/123 "Purch. Inv. Line" +11, 2 changed
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +field(28091; "Prepayment %"; Decimal)
  • +key(Key7; "Document No.", "Location Code")
  • +local procedure GetAdditionalCurrencyCode(): Code[10]
  • Δkey(Key5; "Document No.", "WHT Business Posting Group", "WHT Product Posting Group")
  • Δkey(Key6; "Order No.", "Order Line No.", "Posting Date")
table/36 "Sales Header" +13
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28050; "WHT Amount"; Decimal)
  • +field(28070; "Tax Document Type"; Option)
  • +field(28071; "Printed Tax Document"; Boolean)
  • +field(28072; "Posted Tax Document"; Boolean)
  • +field(28073; "Tax Document Marked"; Boolean)
  • +local procedure ValidateDocumentDate()
  • +local procedure ValidateAppliesToDocNo()
  • +local procedure LookupAppliesToDocNo()
  • +procedure ValidateAdjmtAppliesTo()
table/49 "Invoice Post. Buffer" +12, 1 changed
  • +field(11624; "Adjustment"; Boolean)
  • +field(11625; "BAS Adjustment"; Boolean)
  • +field(11626; "Adjustment Applies-to"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount(ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount(ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +field(28110; "Line No."; Integer)
  • +field(28111; "Posting Description"; Text[100])
  • Δkey(Key1; "Line No.", "Type", "G/L Account", "Gen. Bus. Posting Group", "Gen. Prod. Posting Group", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Tax Area Code", "Tax Group Code", "Tax Liable", "Use Tax", "Dimension Set ID", "Job No.", "Fixed Asset Line No.", "Deferral Code", "Additional Grouping Identifier")
codeunit/444 "Purchase-Post Prepayments" +11, 1 removed
  • +local procedure CalcWHTAmounts(PurchInvNo: Code[20]; PrepaymentInvLineBuffer: Record "Prepayment Inv. Line Buffer"; var WHTEntry: Record "WHT Entry"; var WHTAmount: Decimal; var WHTAmountLCY: Decimal)
  • +procedure SavePrepmtAmounts(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; DocumentType: Option Invoice,"Credit Memo",Statistic; var TempOriginalPurchLine: Record "Purchase Line")
  • +procedure RestorePrepmtAmounts(var TempOriginalPurchLine: Record "Purchase Line"; var PurchLine: Record "Purchase Line"; DocumentType: Option Invoice,"Credit Memo",Statistic)
  • +local procedure CalcFullGSTOnLine(PurchLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; DocumentType: Option Invoice,"Credit Memo",Statistic; PricesIncludingVAT: Boolean)
  • +local procedure PostPrepmtInvLineBuffer(PurchHeader: Record "Purchase Header"; PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; DocumentType: Option Invoice,"Credit Memo"; PostingDescription: Text[100]; DocType: Enum "Gen. Journal Document Type"; DocNo: Code[20]; ExtDocNo: Text[35]; SrcCode: Code[10]; PostingNoSeriesCode: Code[20]; WHTAmountLCY: Decimal; WHTAmount: Decimal)
  • +procedure InsertGST(PurchHeader: Record "Purchase Header"; PrepmtInvLineBuf2: Record "Prepayment Inv. Line Buffer"; DocumentType: Option Invoice,"Credit Memo"; DocumentNo: Code[20]; VATEntryNo: Integer)
  • +procedure InsertInvLineBufferGST(var PrepmtInvLineBuf: Record "Prepayment Inv. Line Buffer"; PrepmtInvLineBuf2: Record "Prepayment Inv. Line Buffer")
  • +procedure FillInvLineBufferGST(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; GLAcc: Record "G/L Account"; var PrepmtInvLineBuf: Record "Prepayment Inv. Line Buffer")
  • +procedure BuildInvLineBufferGST(PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; DocumentType: Option; var PrepmtInvLineBuf: Record "Prepayment Inv. Line Buffer"; InvoiceRounding: Boolean)
  • +local procedure IsFullGST(var PurchaseLine: Record "Purchase Line"): Boolean
  • +local procedure IsFullGST(var PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"): Boolean
  • −local procedure PostPrepmtInvLineBuffer(PurchHeader: Record "Purchase Header"; PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; DocumentType: Option Invoice,"Credit Memo"; PostingDescription: Text[100]; DocType: Enum "Gen. Journal Document Type"; DocNo: Code[20]; ExtDocNo: Text[35]; SrcCode: Code[10]; PostingNoSeriesCode: Code[20])
table/113 "Sales Invoice Line" +12
  • +field(17110; "S/T Exempt"; Boolean)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +field(28090; "Prepayment %"; Decimal)
  • +key(Key28001; "Document No.", "WHT Business Posting Group", "WHT Product Posting Group")
  • +local procedure GetAdditionalCurrencyCode(): Code[10]
table/122 "Purch. Inv. Header" +12
  • +field(11620; "ABN"; Text[14])
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Rem. WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28042; "Paid WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28043; "Total WHT Prepaid Amount (LCY)"; Decimal)
  • +field(28044; "Actual Vendor No."; Code[20])
  • +field(28070; "Printed Tax Document"; Boolean)
  • +field(28071; "Posted Tax Document"; Boolean)
  • +field(28073; "Tax Date Filter"; Date)
  • +field(28074; "Tax Document Marked"; Boolean)
  • +field(28075; "Invoice Print Type"; Option)
table/125 "Purch. Cr. Memo Line" +10, 2 changed
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28042; "WHT Absorb Base"; Decimal)
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount (ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount (ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +key(Key6; "Document No.", "Location Code")
  • +local procedure GetAdditionalCurrencyCode(): Code[10]
  • Δkey(Key4; "Document No.", "WHT Business Posting Group", "WHT Product Posting Group")
  • Δkey(Key5; "Order No.", "Order Line No.", "Posting Date")
table/17 "G/L Entry" +11, 1 changed
  • +field(11600; "BAS Doc. No."; Code[11])
  • +field(11601; "BAS Adjustment"; Boolean)
  • +field(11602; "Adjustment"; Boolean)
  • +field(11624; "BAS Version"; Integer)
  • +field(11625; "Consol. BAS Doc. No."; Code[11])
  • +field(11626; "Consol. Version No."; Integer)
  • +key(Key14; "BAS Doc. No.", "BAS Version")
  • +key(Key15; "G/L Account No.", "BAS Adjustment", "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Posting Date", "BAS Doc. No.")
  • +key(Key16; "Source Code", "Posting Date", "Document No.")
  • +key(Key17; "Source Code", "Document No.", "Posting Date")
  • +key(Key18; "Dimension Set ID")
  • Δkey(Key13; "G/L Account No.", "Posting Date", "VAT Bus. Posting Group", "VAT Prod. Posting Group")
table/311 "Sales & Receivables Setup" +12
  • +field(11610; "Pre-GST Prod. Posting Group"; Code[20])
  • +field(11611; "Payment Discount Reason Code"; Code[10])
  • +field(28040; "Print WHT on Credit Memo"; Boolean)
  • +field(28041; "Print Dialog"; Boolean)
  • +field(28070; "Posted Tax Invoice Nos."; Code[20])
  • +field(28071; "Posted Tax Credit Memo Nos"; Code[20])
  • +field(28072; "Posted Non Tax Invoice Nos."; Code[20])
  • +field(28073; "Posted Non Tax Credit Memo Nos"; Code[20])
  • +field(28090; "Post Dated Check Template"; Code[10])
  • +field(28091; "Post Dated Check Batch"; Code[10])
  • +field(28092; "Incl. PDC in Cr. Limit Check"; Boolean)
  • +field(28093; "Default Cancel Reason Code"; Code[10])
table/55 "Invoice Posting Buffer" +11
  • +field(11624; "Adjustment"; Boolean)
  • +field(11625; "BAS Adjustment"; Boolean)
  • +field(11626; "Adjustment Applies-to"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28081; "VAT Base (ACY)"; Decimal)
  • +field(28082; "VAT Amount(ACY)"; Decimal)
  • +field(28083; "Amount Including VAT (ACY)"; Decimal)
  • +field(28084; "Amount(ACY)"; Decimal)
  • +field(28085; "VAT Difference (ACY)"; Decimal)
  • +procedure GetGLAccountGST(DeferralCode: Code[10]; DefaultGLAccount: Code[20]): Code[20]
codeunit/365 "Format Address" +10
  • +procedure CreateBarCode(TableNo: Integer; TableKey: Text; AddressType: Option; CustomInfo1: Code[20]; CustomInfo2: Code[20]; CustomInfo3: Code[20])
  • +procedure PrintBarCode(AddressType: Option): Text[100]
  • +procedure SalesTaxInvBillTo(var AddrArray: array[8] of Text[100]; var SalesTaxInvHeader: Record "Sales Tax Invoice Header")
  • +procedure SalesTaxInvShipTo(var AddrArray: array[8] of Text[100]; var SalesTaxInvHeader: Record "Sales Tax Invoice Header")
  • +procedure SalesTaxCrMemoBillTo(var AddrArray: array[8] of Text[100]; var SalesTaxCrMemoHeader: Record "Sales Tax Cr.Memo Header")
  • +procedure SalesTaxCrMemoShipTo(var AddrArray: array[8] of Text[100]; var SalesTaxCrMemoHeader: Record "Sales Tax Cr.Memo Header")
  • +procedure PurchTaxInvPayTo(var AddrArray: array[8] of Text[100]; var PurchTaxInvHeader: Record "Purch. Tax Inv. Header")
  • +procedure PurchTaxInvShipTo(var AddrArray: array[8] of Text[100]; var PurchTaxInvHeader: Record "Purch. Tax Inv. Header")
  • +procedure PurchTaxCrMemoPayTo(var AddrArray: array[8] of Text[100]; var PurchTaxCrMemoHeader: Record "Purch. Tax Cr. Memo Hdr.")
  • +procedure PurchTaxCrMemoShipTo(var AddrArray: array[8] of Text[100]; var PurchTaxCrMemoHeader: Record "Purch. Tax Cr. Memo Hdr.")
codeunit/442 "Sales-Post Prepayments" +10
  • +procedure SavePrepmtAmounts(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; DocumentType: Option Invoice,"Credit Memo",Statistic; var TempOriginalSalesLine: Record "Sales Line")
  • +procedure RestorePrepmtAmounts(var TempOriginalSalesLine: Record "Sales Line"; var SalesLine: Record "Sales Line"; DocumentType: Option Invoice,"Credit Memo",Statistic)
  • +local procedure CalcFullGSTOnLine(SalesLine: Record "Sales Line"; var VATAmountLine: Record "VAT Amount Line"; DocumentType: Option Invoice,"Credit Memo",Statistic; PricesIncludingVAT: Boolean)
  • +procedure InsertGST(SalesHeader: Record "Sales Header"; PrepmtInvBuf2: Record "Prepayment Inv. Line Buffer"; DocumentType: Option Invoice,"Credit Memo"; DocumentNo: Code[20]; VATEntryNo: Integer)
  • +procedure InsertInvLineBufferGST(var PrepmtInvBuf: Record "Prepayment Inv. Line Buffer"; PrepmtInvBuf2: Record "Prepayment Inv. Line Buffer")
  • +local procedure FillInvLineBufferGST(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; GLAcc: Record "G/L Account"; var PrepmtInvBuf: Record "Prepayment Inv. Line Buffer")
  • +local procedure BuildInvLineBufferGST(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; DocumentType: Option; var PrepmtInvBuf: Record "Prepayment Inv. Line Buffer"; InvoiceRounding: Boolean)
  • +procedure PrepmtAmountCheck(SalesLine: Record "Sales Line"; DocumentType: Option Invoice,"Credit Memo",Statistic): Decimal
  • +local procedure IsFullGST(var SalesLine: Record "Sales Line"): Boolean
  • +local procedure IsFullGST(var PrepaymentInvLineBuffer: Record "Prepayment Inv. Line Buffer"): Boolean
codeunit/80 "Sales-Post" +9, 1 removed
  • +local procedure PostICGenJnl(SalesHeader: Record "Sales Header")
  • +procedure InsertGenJournalWHT(var SalesHeader: Record "Sales Header"; var GenJnlLine: Record "Gen. Journal Line"; AccountNo: Code[20]; AmountWHT: Decimal)
  • +local procedure FillPrepmtLineNoBuf(LineNo: Integer; PrepmtLineNo: Integer)
  • +local procedure SavePrepmtVATDeducted(SalesLine: Record "Sales Line")
  • +local procedure UpdateTaxForPostedDoc(var SalesHeader: Record "Sales Header")
  • +procedure GetCurrencyFactorACY(SalesHeader: Record "Sales Header"; var AddCurrency: Record Currency): Decimal
  • +procedure GetDate(SalesHeader: Record "Sales Header"): Date
  • +local procedure CheckWHTApplication(SalesHeader: Record "Sales Header")
  • +local procedure PostWHT(var SalesHeader: Record "Sales Header"; TotalInvAmount: Decimal)
  • −local procedure PostICGenJnl()
table/1383 "Vendor Templ." +9, 1 changed
  • +field(11620; "ABN"; Text[11])
  • +field(11621; "Registered"; Boolean)
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(11623; "Foreign Vend"; Boolean)
  • +field(11624; "EFT Payment"; Boolean)
  • +field(17100; "IRD No."; Text[30])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28042; "WHT Registration ID"; Text[20])
  • +field(28043; "ID No."; Text[20])
  • Δfield(14; "Our Account No."; Text[20])
table/18 "Customer" +10
  • +field(11620; "ABN"; Text[11])
  • +field(11621; "Registered"; Boolean)
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(17100; "IRD No."; Text[30])
  • +field(17110; "S/T Type"; Option)
  • +field(17111; "S/T Expiry Date"; Date)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Payable Amount (LCY)"; Decimal)
  • +field(28070; "Tax Document Type"; Option)
  • +field(28090; "Post Dated Checks (LCY)"; Decimal)
table/45 "G/L Register" +4, 2 changed, 4 removed
  • +field(28040; "From WHT Entry No."; Integer)
  • +field(28041; "To WHT Entry No."; Integer)
  • +key(key5; "Source Code", "Journal Batch Name", "SystemCreatedAt")
  • +procedure GetNextEntryNo(UseLegacyPosting: Boolean): Integer
  • Δkey(key4; "From Entry No.", "To Entry No.")
  • Δkey(key6; "SystemCreatedAt")
  • −field(10700; "Posting Date"; Date)
  • −key(key7; "Source Code", "Journal Batch Name", "SystemCreatedAt")
  • −key(key8; "SystemCreatedAt")
  • −procedure GetNextRegisterNo(UseLegacyPosting: Boolean): Integer
table/1381 "Customer Templ." +8, 1 changed
  • +field(11620; "ABN"; Text[11])
  • +field(11621; "Registered"; Boolean)
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(17100; "IRD No."; Text[30])
  • +field(17110; "S/T Type"; Option)
  • +field(17111; "S/T Expiry Date"; Date)
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28070; "Tax Document Type"; Option)
  • Δfield(14; "Our Account No."; Text[20])
codeunit/816 "Purch. Post Invoice" +8
  • +local procedure InsertGST(PurchHeader: Record "Purchase Header"; InvoicePostingBuffer: Record "Invoice Posting Buffer"; VATEntryNo: Integer)
  • +local procedure FillInvoicePostingBufferGST(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; PurchLineACY: Record "Purchase Line")
  • +local procedure VATExchangeAmtLCYToACY(PostingDate: Date; AmountLCY: Decimal): Decimal
  • +local procedure SetVendorExchangeRateACYAmounts(PurchHeader: Record "Purchase Header"; InvoicePostingBuffer: Record "Invoice Posting Buffer"; var GenJnlLine: Record "Gen. Journal Line")
  • +local procedure VendorExchangeAmtLCYToACY(PostingDate: Date; AmountLCY: Decimal; Factor: Decimal): Decimal
  • +local procedure UseVendorExchangeRateACY(PurchHeader: Record "Purchase Header"): Boolean
  • +local procedure GetACYCurrency(): Boolean
  • +local procedure UpdateInvoicePostingBufferGST(PurchLine: Record "Purchase Line"; InvoicePostingBuffer: Record "Invoice Posting Buffer")
codeunit/13 "Gen. Jnl.-Post Batch" +6, 1 removed
  • +procedure CheckWHTCalculationRule(TotalInvoiceAmountLCY: Decimal; WHTPostingSetup: Record "WHT Posting Setup"; var GenJnlLine5: Record "Gen. Journal Line")
  • +procedure VendorMinWHT(var VendLedgEntry: Record "Vendor Ledger Entry"; var GenJnlLine5: Record "Gen. Journal Line")
  • +procedure CustomerMinWHT(var CustLedgEntry: Record "Cust. Ledger Entry"; var GenJnlLine5: Record "Gen. Journal Line")
  • +procedure CompareAmounts(AmountLCY: Decimal; WHTPostSetup: Record "WHT Posting Setup"): Boolean
  • +local procedure PostGenJournalLine(var GenJournalLine: Record "Gen. Journal Line"; CurrGenJnlLine: Record "Gen. Journal Line"; CurrentICPartner: Code[20]; ICTransactionNo: Integer): Boolean
  • +local procedure IsWHTPaymentPosting(var GenJournalLine: Record "Gen. Journal Line"): Boolean
  • −local procedure PostGenJournalLine(var GenJournalLine: Record "Gen. Journal Line"; CurrentICPartner: Code[20]; ICTransactionNo: Integer): Boolean
table/120 "Purch. Rcpt. Header" +7
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(11620; "ABN"; Text[14])
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Actual Vendor No."; Code[20])
table/270 "Bank Account" +5, 2 changed
  • +field(11600; "EFT Bank Code"; Code[10])
  • +field(11601; "EFT BSB No."; Code[10])
  • +field(11602; "EFT Security No."; Text[30])
  • +field(11603; "EFT Balancing Record Required"; Boolean)
  • +field(11604; "EFT Security Name"; Text[50])
  • Δfield(13; "Bank Account No."; Text[30])
  • Δfield(110; "IBAN"; Code[50])
table/5109 "Purchase Header Archive" +7
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(11620; "ABN"; Text[14])
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Actual Vendor No."; Code[20])
table/6660 "Return Receipt Header" +7
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(11620; "ABN"; Text[14])
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "Actual Vendor No."; Code[20])
table/5050 "Contact" +5, 1 changed
  • +field(11620; "ABN"; Text[11])
  • +field(11621; "Registered"; Boolean)
  • +field(11622; "ABN Division Part No."; Text[3])
  • +field(17100; "IRD No."; Text[30])
  • +key(Key14; "SystemModifiedAt")
  • Δkey(Key13; "ABN", "Type")
codeunit/815 "Sales Post Invoice" +5
  • +procedure InsertGST(SalesHeader: Record "Sales Header"; InvoicePostingBuffer: Record "Invoice Posting Buffer"; VATEntryNo: Integer)
  • +local procedure PrepareLineGST(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; SalesLineACY: Record "Sales Line")
  • +local procedure VATExchangeAmtLCYToACY(PostingDate: Date; AmountLCY: Decimal): Decimal
  • +local procedure GetACYCurrency(): Boolean
  • +local procedure UpdateInvoicePostingBufferGST(SalesLine: Record "Sales Line"; InvoicePostingBuffer: Record "Invoice Posting Buffer")
page/118 "General Ledger Setup" +5
  • +local procedure UpdateControls()
  • +procedure UpdateSetups()
  • +local procedure EnableGSTAustraliaOnAfterValid()
  • +local procedure AddressValidationOnAfterValida()
  • +local procedure AMASSoftwareOnFormat()
table/5107 "Sales Header Archive" +5
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28070; "Tax Document Type"; Option)
table/7001 "Price List Line" +5
  • +field(28060; "Published Price"; Decimal)
  • +field(28061; "Cost"; Decimal)
  • +field(28062; "Cost-plus %"; Decimal)
  • +field(28063; "Discount Amount"; Decimal)
  • +local procedure UpdateUnitPriceByCostPlusPct()
table/7002 "Sales Price" +5
  • +field(28060; "Published Price"; Decimal)
  • +field(28061; "Cost"; Decimal)
  • +field(28062; "Cost-plus %"; Decimal)
  • +field(28063; "Discount Amount"; Decimal)
  • +procedure UpdateUnitPrice()
table/7022 "Price Worksheet Line" +5
  • +field(28060; "Published Price"; Decimal)
  • +field(28061; "Cost"; Decimal)
  • +field(28062; "Cost-plus %"; Decimal)
  • +field(28063; "Discount Amount"; Decimal)
  • +local procedure UpdateUnitPriceByCostPlusPct()
page/576 "VAT Specification Subform" +4
  • +procedure ShowGSTAmountACY()
  • +local procedure CalculateACYVATAmounts()
  • +local procedure UpdateVATAmountACY(PostingDate: Date; HeaderCurrencyCode: Code[10]; HeaderCurrencyFactor: Decimal; VendorExchangeRateACY: Decimal)
  • +procedure SetPurchHeader(var PurchHeader: Record "Purchase Header")
table/179 "Reversal Entry" +4
  • +procedure CopyWHTEntryFilters(var WHTEntry: Record "WHT Entry")
  • +local procedure CheckWHT(WHTEntry: Record "WHT Entry")
  • +procedure ShowWHTEntries()
  • +procedure InsertFromWHTEntry(var TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)
table/271 "Bank Account Ledger Entry" +3, 1 changed
  • +field(28090; "Post Dated Check No."; Code[20])
  • +key(Key9; "Bank Account No.", "Document No.", "Posting Date", "Open")
  • +key(key10; "Statement No.", "Statement Line No.")
  • Δkey(Key8; "Document Type", "Document No.", "Open")
table/330 "Currency Exchange Rate" +4
  • +field(28041; "Relational Sett. Rate Amount"; Decimal)
  • +field(28140; "Settlement Rate Amount"; Decimal)
  • +procedure ExchangeRateFactorFRS21(Date: Date; CurrencyCode: Code[10]; VendorExchRate: Decimal): Decimal
  • +procedure ExchangeRateFRS21(Date: Date; CurrencyCodeFCY: Code[10]; CurrencyCode: Code[10]; VendorExchRate: Decimal): Decimal
table/383 "Detailed CV Ledg. Entry Buffer" +2, 2 changed
  • +field(6202; "Non-Deductible VAT Amount ACY"; Decimal)
  • +field(17130; "Document Date"; Date)
  • Δfield(6200; "Non-Deductible VAT Amount"; Decimal)
  • Δfield(6201; "Non-Deductible VAT Amount LCY"; Decimal)
table/6650 "Return Shipment Header" +4
  • +field(11612; "Adjustment"; Boolean)
  • +field(11613; "BAS Adjustment"; Boolean)
  • +field(11614; "Adjustment Applies-to"; Code[20])
  • +field(28040; "WHT Business Posting Group"; Code[20])
codeunit/20 "Posting Preview Event Handler" +2, 1 changed
  • +local procedure OnInsertGSTSalesEntry(var Rec: Record "GST Sales Entry"; RunTrigger: Boolean)
  • +local procedure OnInsertGSTPurchaseEntry(var Rec: Record "GST Purchase Entry"; RunTrigger: Boolean)
  • Δlocal procedure OnAfterGenJnlPostLineFinishPosting(var GlobalGLEntry: Record "G/L Entry"; var GLRegister: Record "G/L Register"; var IsTransactionConsistent: Boolean; var GenJournalLine: Record "Gen. Journal Line")
codeunit/358 "DateFilter-Calc" +3
  • +procedure VerifiyDateFilter(Filter: Text[30])
  • +procedure VerifMonthPeriod(Filter: Text[30])
  • +procedure ReturnEndingPeriod(StartPeriod: Date; PeriodType: Option Date,Week,Month,Quarter,Year): Date
codeunit/5804 "ItemCostManagement" +3
  • +local event OnBeforeUpdateCostPlusPrices(ItemNo: Code[20]; var IsHandled: Boolean)
  • +procedure UpdateCostPlusPrices(ItemNo: Code[20])
  • +local procedure UpdateOldCostPlusPrices(ItemNo: Code[20]): Boolean
report/113 "Customer/Item Sales" 1 changed, 2 removed
  • Δprocedure InitializeRequest(NewPagePerCustomer: Boolean)
  • −procedure CalculateProfitPercent(Amount: Decimal; ProfitAmt: Decimal): Decimal
  • −local procedure UpdateRequestPageFilterValues()
table/15 "G/L Account" +3
  • +field(28040; "WHT Business Posting Group"; Code[20])
  • +field(28041; "WHT Product Posting Group"; Code[20])
  • +field(28160; "G/L Entry Type Filter"; Option)
table/272 "Check Ledger Entry" +3
  • +field(28040; "WHT Amount"; Decimal)
  • +field(28090; "PDC Check No."; Code[20])
  • +field(28091; "Interest Amount"; Decimal)
table/288 "Vendor Bank Account" +1, 2 changed
  • +field(11600; "EFT BSB No."; Code[10])
  • Δfield(14; "Bank Account No."; Text[30])
  • Δfield(24; "IBAN"; Code[50])
table/32 "Item Ledger Entry" +2, 1 changed
  • +key(Key22; "Location Code", "Item No.", "Posting Date")
  • +key(Key23; "SystemModifiedAt")
  • Δkey(Key21; "Item No.", "Location Code", "Posting Date")
codeunit/103 "Cust. Entry-Edit" +2
  • +local event OnBeforeModifyCustLedgEntry(var CurrentSalesHeader: Record "Sales Header"; var CustLedgerEntry: Record "Cust. Ledger Entry")
  • +procedure LookupAdjmtAppliesTo(var CurrentSalesHeader: Record "Sales Header")
codeunit/1217 "Pre-map Incoming Purch. Doc" +2
  • +local event OnAfterSetIncomingDocumentPersistHeaderData(EntryNo: Integer; RecordNo: Integer; var IncomingDocument: Record "Incoming Document")
  • +local procedure FindVendorByABN(var Vendor: Record Vendor; VATRegNo: Text): Boolean
codeunit/1303 "Correct Posted Sales Invoice" +2
  • +local event OnAfterSetDefaultCancelReasonCode(var SalesHeader: Record "Sales Header")
  • +local procedure SetCrMemoDefaultReasonCode(var SalesHeader: Record "Sales Header")
codeunit/1313 "Correct Posted Purch. Invoice" +2
  • +local event OnAfterSetDefaultCancelReasonCode(var PurchaseHeader: Record "Purchase Header")
  • +local procedure SetCrMemoDefaultReasonCode(var PurchaseHeader: Record "Purchase Header")
codeunit/17 "Gen. Jnl.-Post Reverse" +2
  • +procedure ReverseWHT(var WHTEntry: Record "WHT Entry"; SourceCode: Code[10])
  • +procedure ReverseGST(VATEntry: Record "VAT Entry")
codeunit/226 "CustEntry-Apply Posted Entries" +2
  • +local procedure CheckWHTAmount(CustLedgEntry: Record "Cust. Ledger Entry")
  • +local procedure GetInvoiceNo(CustLedgEntry: Record "Cust. Ledger Entry"): Code[20]
codeunit/227 "VendEntry-Apply Posted Entries" +2
  • +local procedure CheckWHTAmount(VendLedgEntry: Record "Vendor Ledger Entry")
  • +local procedure GetInvoiceNo(VendLedgEntry: Record "Vendor Ledger Entry"): Code[20]
codeunit/367 "CheckManagement" +1, 1 removed
  • +local procedure CalcAmountToVoid(CheckLedgEntry: Record "Check Ledger Entry"; var WHTAmount: Decimal): Decimal
  • −local procedure CalcAmountToVoid(CheckLedgEntry: Record "Check Ledger Entry"): Decimal
page/161 "Purchase Statistics" 2 changed
  • Δprocedure GetVATSpecification()
  • Δprocedure SetVATSpecification()
report/114 "Salesperson - Sales Statistics" 2 removed
  • −procedure CalculateProfitPercent(Amount: Decimal; ProfitAmt: Decimal): Decimal
  • −local procedure UpdateRequestPageFilterValues()
report/292 "Copy Sales Document" +1, 1 removed
  • +local event OnPreReportOnBeforeCopySalesDoc(var CopyDocumentMgt: Codeunit "Copy Document Mgt."; DocType: Integer; DocNo: Code[20]; SalesHeader: Record "Sales Header"; CurrReportUseRequestPage: Boolean; IncludeHeader: Boolean; RecalculateLines: Boolean; ExactCostReversingMandatory: Boolean; var ReplacePostDate: Boolean; var ReplaceDocDate: Boolean; var PostingDate: Date)
  • −local event OnPreReportOnBeforeCopySalesDoc(var CopyDocumentMgt: Codeunit "Copy Document Mgt."; DocType: Integer; DocNo: Code[20]; SalesHeader: Record "Sales Header"; CurrReportUseRequestPage: Boolean; IncludeHeader: Boolean; RecalculateLines: Boolean; ExactCostReversingMandatory: Boolean)
report/402 "Purchase Document - Test" +1, 1 removed
  • +procedure AddDimToTempLine(PurchLine: Record "Purchase Line"; var TempDimSetEntry: Record "Dimension Set Entry")
  • −procedure AddDimToTempLine(PurchLine: Record "Purchase Line")
report/8 "Budget" +1, 1 removed
  • +procedure InitializeRequest(NewPeriodStartDate: Date; NewPeriodLength: Text[30]; NewRounding: Option)
  • −procedure InitializeRequest(NewPeriodStartDate: Date; NewPeriodLength: Text[30]; NewInThousands: Boolean)
table/461 "Prepayment Inv. Line Buffer" +2
  • +field(28002; "Invoice Discount Amount"; Decimal)
  • +field(28004; "Prepayment %"; Decimal)
table/9 "Country/Region" +2
  • +field(28000; "Address Validation"; Option)
  • +field(28001; "AMAS Software"; Integer)
table/93 "Vendor Posting Group" +2
  • +field(28070; "Non-Taxable"; Boolean)
  • +field(28090; "Interest Account"; Code[20])
codeunit/1373 "Batch Posting Print Mgt." +1
  • +procedure PrintOtherDocuments(var GenJournalLine: Record "Gen. Journal Line"; PrintWHT: Boolean; ScheduleInJobQueue: Boolean)
codeunit/1797 "Data Migration Facade Helper" +1
  • +procedure CreateCountyIfNeeded(NameToSet: Text[30]; DescriptionToSet: Text[30]): Text[30]
codeunit/370 "Bank Acc. Reconciliation Post" +1
  • +local procedure PostUnrealizedWHT(var GenJnlLine: Record "Gen. Journal Line")
codeunit/81 "Sales-Post (Yes/No)" +1
  • +local procedure CheckTaxNoSeries(SalesHeader: Record "Sales Header"; SalesSetup: Record "Sales & Receivables Setup")
codeunit/82 "Sales-Post + Print" +1
  • +local procedure CheckTaxNoSeries(SalesHeader: Record "Sales Header"; SalesSetup: Record "Sales & Receivables Setup")
page/10 "Countries/Regions" +1
  • +local procedure AMASSoftwareOnFormat()
page/256 "Payment Journal" +1
  • +local event OnPrintRemittanceAdvanceOnAfterSetFilters(var GenJnlLine: Record "Gen. Journal Line"; var ReportSelections: Record "Report Selections")
report/310 "Vendor - Labels" 1 changed
  • Δprocedure InitializeRequest(SetLabelFormat: Option)
report/393 "Suggest Vendor Payments" +1
  • +local procedure GetExternalDocumentNo(VendLedgEntryNo: Integer): Code[35]
table/1382 "Item Templ." +1
  • +field(28040; "WHT Product Posting Group"; Code[20])
table/156 "Resource" +1
  • +field(28040; "WHT Product Posting Group"; Code[20])
table/187 "VAT Posting Parameters" +1
  • +field(11620; "VAT Base ACY"; Decimal)
table/225 "Post Code" 1 changed
  • Δfield(5; "County"; Text[30])
table/242 "Source Code Setup" +1
  • +field(28040; "WHT Settlement"; Code[10])
table/27 "Item" +1
  • +field(28040; "WHT Product Posting Group"; Code[20])
table/379 "Detailed Cust. Ledg. Entry" +1
  • +field(17130; "Document Date"; Date)
table/380 "Detailed Vendor Ledg. Entry" +1
  • +field(17130; "Document Date"; Date)
table/5600 "Fixed Asset" +1
  • +field(28040; "WHT Product Posting Group"; Code[20])
table/5800 "Item Charge" +1
  • +field(28040; "WHT Product Posting Group"; Code[20])
table/83 "Item Journal Line" +1
  • +field(28087; "Vendor Exchange Rate (ACY)"; Decimal)
table/92 "Customer Posting Group" +1
  • +field(28070; "Non-Taxable"; Boolean)
enum/180 "Reversal Entry Type" body changes only
enum/77 "Report Selection Usage" body changes only
enum/8 "Country/Region Address Format" body changes only
enum/89 "Gen. Journal Template Type" body changes only
page/248 "VAT Registration Config" body changes only
page/29 "Vendor Ledger Entries" body changes only
page/323 "EC Sales List Reports" body changes only
permissionset/1001 "LOCAL" body changes only
permissionset/1002 "LOCAL READ" body changes only

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

Overview

The NZ layer is a shared APAC code base. Alongside NZ features it carries Australian and other regional objects, such as ABN and BAS, Thai (TH) WHT reports and other regional WHT and VAT return reports. Its main local capabilities are GST posting, WHT, IRD numbers and adjustment notes, EFT payments and tax invoices. The code adds about 459 fields to W1 tables. Typical additions are IRD No., WHT posting groups, Adjustment and Adjustment Applies-to, and ACY amounts. It also adds procedures to Gen. Jnl.-Post Line, Sales-Post and Purch.-Post, and adds 21 events.

WHT is handled by codeunit 28040 “WHTManagement”, WHT setup pages, a WHT Entry page, settlement reports and certificates. GST is handled by the Calculate GST Settlement report, GST entry pages, full GST on prepayments and settlement exchange rates (Currency Exchange Rate fields). Banking adds EFT through codeunit 11603 “EFT Management” and table 11609 “EFT Register”, plus check installments, deposit slips and bank reconciliation reports. Sales and purchase documents gain posted tax invoice and credit memo pages, TaxInvoiceManagement and print codeunits for tax documents.

Microsoft Learn documents the NZ functionality for WHT, GST, IRD numbers, adjustment notes, EFT, addresses, cost-plus pricing, financial reports and Peppol PINT A-NZ e-invoicing through the E-Documents framework. The listed objects include no NZ e-invoicing objects.

Key points

  • GST posting: ACY amount fields, full GST on prepayments, GST entry pages, Calculate GST Settlement report and settlement exchange rate adjustment.
  • Withholding tax: WHT posting groups, revenue types, posting setup, WHT Entry page, settlement report, certificates and WHT handling in posting codeunits.
  • IRD numbers on company, customer, vendor and contact records, with adjustment notes via Adjustment and Adjustment Applies-to fields.
  • EFT vendor payments through EFT Management, EFT Register and the Create EFT File and Transfer EFT Register reports.
  • Posted sales and purchase tax invoices and credit memos, with their own pages, numbering in setup and print codeunits.
  • Post-dated checks, check installments, deposit slip, bank reconciliation and cash flow comparison reports.
  • Cost-plus percentage pricing on price list, price worksheet and sales price lines.
  • Addresses: counties, post code check and DPID bar codes. Learn also covers Peppol PINT A-NZ e-invoicing.

Narrative written by Sonnet from the code diff and 26 Learn page summaries. In numbers: NewZealand (NZ) localization of Business Central in BC29: 170 objects of its own, 109 W1 objects changed (459 fields and 21 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 27 136 162
Purchases 26 4 137
Sales 26 1 123
Foundation 10 9 10
Bank 5 10 9
Inventory 6 2 4
Text 0 3 0
Pricing 2 0 8
Security 2 0 0
Service 0 2 0
(no namespace) 0 1 0
CRM 1 0 4
ExpenseAgent 0 1 0
FixedAssets 1 0 1
Integration 1 0 0
IO 1 0 0
Projects 1 0 1
Utilities 0 1 0

Finance

Adds GST and WHT posting to the general ledger. This includes new fields on Gen. Journal Line, VAT Entry and General Ledger Setup, plus procedures and events in Gen. Jnl.-Post Line, Post Batch and Post Reverse. New own objects cover WHT management, tax invoices, GST entries, settlement reports and financial statements.

Why: Learn documents GST posting setup, GST settlement, VAT settlement exchange rate adjustment, WHT setup and settlement, and the balance sheet and income statement reports.

Objects: codeunit/12 “Gen. Jnl.-Post Line”, table/98 “General Ledger Setup”, table/81 “Gen. Journal Line”, table/254 “VAT Entry”, codeunit/28040 “WHTManagement” (own), report/11603 “Calculate GST Settlement” (own), report/28041 “Calc. and Post WHT Settlement” (own), page/28044 “WHT Entry” (own).

All 163 objects of Finance in the diff

Purchases

Adds IRD number, WHT groups, adjustment fields and ACY amounts to vendors and purchase documents, posted documents and setup. Purch.-Post, prepayment and invoice posting codeunits gain WHT and GST procedures. A purchase receipts report and a credit memo edit page are added.

Why: Learn covers setting up vendors without IRD numbers for WHT and the NZ IRD number and adjustment note rules.

Objects: table/38 “Purchase Header”, table/39 “Purchase Line”, codeunit/90 “Purch.-Post”, codeunit/444 “Purchase-Post Prepayments”, codeunit/816 “Purch. Post Invoice”, table/312 “Purchases & Payables Setup”, table/23 “Vendor”, table/124 “Purch. Cr. Memo Hdr.”.

All 30 objects of Purchases in the diff

Sales

Adds IRD number, WHT groups, adjustment fields, tax document fields and ACY amounts to customers and sales documents. Sales-Post, prepayment and invoice posting codeunits gain WHT and full GST procedures. Also adds an AU/NZ Statement report.

Why: Learn documents GST on prepayments and adjustment notes (credit memos) that correct taxable supply and GST amounts.

Objects: table/36 “Sales Header”, table/37 “Sales Line”, codeunit/80 “Sales-Post”, codeunit/442 “Sales-Post Prepayments”, codeunit/815 “Sales Post Invoice”, table/311 “Sales & Receivables Setup”, table/18 “Customer”, report/17110 “AU/NZ Statement” (own).

All 27 objects of Sales in the diff

Foundation

Adds IRD No., ABN and WHT registration fields to Company Information. It adds address handling with counties, post code check and bar code creation in Format Address, plus address validation fields on Country/Region.

Why: Learn describes postal code lookups, region validation and DPID bar code generation for NZ addresses.

Objects: table/79 “Company Information”, codeunit/365 “Format Address”, table/9 “Country/Region”, table/28004 “County” (own), page/28003 “Counties” (own), codeunit/358 “DateFilter-Calc”, table/242 “Source Code Setup”.

All 19 objects of Foundation in the diff

Bank

Adds EFT fields to Bank Account, an EFT Register table and page, and EFT management with file creation reports. It also adds deposit slip, bank reconciliation and cash flow comparison reports, plus post-dated check fields on bank ledger entries.

Why: Learn documents EFT vendor payments, bank cash flow comparison, and the printed bank reconciliation and deposit slip reports.

Objects: codeunit/11603 “EFT Management” (own), table/11609 “EFT Register” (own), page/11615 “EFT Register” (own), report/11608 “Create EFT File” (own), report/11607 “Transfer EFT Register” (own), table/270 “Bank Account”, report/28021 “Bank Account Reconciliation” (own), report/28023 “Deposit Slip” (own).

All 15 objects of Bank in the diff

Inventory

Adds a WHT Product Posting Group field to Item, Item Template and Item Charge. Item cost management updates cost-plus prices. Adds the Stock Card and Stock Movement reports.

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

Objects: codeunit/5804 “ItemCostManagement”, table/27 “Item”, table/5800 “Item Charge”, table/1382 “Item Templ.”, report/14311 “Stock Card” (own), report/28022 “Stock Movement” (own).

All 8 objects of Inventory in the diff

Text

Adds bar code management and the BarCode Checking and BarCode Batch Job reports.

Why: Learn links bar code generation to NZ address DPID.

Objects: codeunit/28001 “BarCode Management” (own), report/28000 “BarCode Checking” (own), report/28001 “BarCode Batch Job” (own).

All 3 objects of Text in the diff

Pricing

Adds Published Price, Cost, Cost-plus % and Discount Amount fields to price list lines and worksheet lines. Procedures update the unit price from the cost-plus percentage.

Why: Learn documents setting sales prices by cost-plus percentage in NZ.

Objects: table/7001 “Price List Line”, table/7022 “Price Worksheet Line”.

All 2 objects of Pricing in the diff

Security

Changes the LOCAL and LOCAL READ permission sets to cover the NZ 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”.

All 2 objects of Security in the diff

Service

Adds an APAC service document management codeunit and a service manager role center extension.

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

Objects: codeunit/11612 “Serv. Document Mgt. APAC” (own), pageextension/28041 “Serv.ServiceMgrRoleCenter APAC” (own).

All 2 objects of Service in the diff

(no namespace)

Adds a source code table extension for APAC.

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

Objects: tableextension/28160 “SourcecodeAPAC” (own).

All 1 objects of (no namespace) in the diff

CRM

Adds ABN, Registered, ABN Division Part No. and IRD No. fields to Contact.

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

ExpenseAgent

Adds an NZ expense event subscriber codeunit.

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

Objects: codeunit/6977 “Expense Event Subscriber NZ” (own).

All 1 objects of ExpenseAgent in the diff

FixedAssets

Adds a WHT Product Posting Group field to Fixed Asset.

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

Objects: table/5600 “Fixed Asset”.

All 1 objects of FixedAssets in the diff

Integration

Data migration can create a county when needed.

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

Objects: codeunit/1797 “Data Migration Facade Helper”.

All 1 objects of Integration in the diff

IO

Pre-mapping of incoming purchase documents can find a vendor by ABN, with a new event.

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

Objects: codeunit/1217 “Pre-map Incoming Purch. Doc”.

All 1 objects of IO in the diff

Projects

Adds a WHT Product Posting Group field to Resource.

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

Objects: table/156 “Resource”.

All 1 objects of Projects in the diff

Utilities

Adds a CodeUnit Selection page.

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

Objects: page/28001 “CodeUnit Selection” (own).

All 1 objects of Utilities in the diff

Objects of its own

170 objects only this country has.

Other versions

  • BC30: 278 objects differ from W1 (459 fields, 21 events added)

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