localization · BC29official - Microsoftreviewed - checked by Opus

Australia (AU)

Australia (AU) localization of Business Central 29. It covers GST posting and settlement, Business Activity Statements (BAS), withholding tax (WHT), ABN handling, tax invoices and adjustment notes, EFT payments, post-dated checks, address validation and cost-plus pricing. It answers where AU tax, banking and reporting behavior differs from W1.

What AU changes in W1 121 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/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/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])
report/20 "Calc. and Post VAT Settlement" +5, 1 removed
  • +local event OnBeforePostGenJnlLineReverseChargeVAT(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var VATAmount: Decimal)
  • +procedure SetRequestOptionEditable(Editable: Boolean)
  • +local procedure PostSettlementGenJnlLine(PostAmount: Decimal; AddCurrencyPostAmount: Decimal)
  • +procedure SetVATReport(NewVATReportHeader: Record "VAT Report Header")
  • +local procedure SettleVATReport()
  • −local event OnBeforePostGenJnlLineReverseChargeVAT(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var VATAmount: Decimal; var VATAmountAddCurr: Decimal)
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")
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/45 "G/L Register" +3, 1 removed
  • +field(28040; "From WHT Entry No."; Integer)
  • +field(28041; "To WHT Entry No."; Integer)
  • +procedure GetNextEntryNo(UseLegacyPosting: Boolean): Integer
  • −procedure GetNextRegisterNo(UseLegacyPosting: Boolean): Integer
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])
table/740 "VAT Report Header" +4
  • +field(11600; "BAS ID No."; Code[11])
  • +field(11601; "BAS Version No."; Integer)
  • +field(11602; "Settlement Posted"; Boolean)
  • +field(11603; "Include Prev. Open Entries"; Boolean)
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
codeunit/740 "VAT Report Mediator" +3
  • +procedure AllowedToCalcAndPostVATSettlement(VATReportHeader: Record "VAT Report Header"): Boolean
  • +procedure DisableCalcAndPostVATTSettlementFields(VATReportHeader: Record "VAT Report Header"): Boolean
  • +procedure DisableSubmitAction(VATReportHeader: Record "VAT Report Header"): Boolean
codeunit/815 "Sales Post Invoice" +3
  • +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 UpdateInvoicePostingBufferGST(SalesLine: Record "Sales Line"; InvoicePostingBuffer: Record "Invoice Posting Buffer")
codeunit/816 "Purch. Post Invoice" +3
  • +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 UpdateInvoicePostingBufferGST(PurchLine: Record "Purchase Line"; InvoicePostingBuffer: Record "Invoice Posting Buffer")
report/113 "Customer/Item Sales" +1, 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")
table/746 "VAT Reports Configuration" +3
  • +field(11600; "Post Settlement When Submitted"; Boolean)
  • +field(11601; "Disable Post Settlement Fields"; Boolean)
  • +field(11602; "Disable Submit Action"; Boolean)
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")
page/742 "VAT Report Statement Subform" +1
  • +local procedure BASEntryDrillDown()
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/256 "VAT Statement Line" +1
  • +field(11600; "BAS Adjustment"; Boolean)
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/743 "VAT Report Setup" +1
  • +field(11600; "BAS Report No. Series"; 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/740 "VAT Report Configuration" 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
page/737 "VAT Return Period List" body changes only
page/738 "VAT Return Period Card" body changes only
page/740 "VAT Report" body changes only
page/744 "VAT Report List" 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 AU layer is large: 292 objects, about 468 added fields, 218 procedures and 22 events. The main capabilities are GST (including full GST on prepayments and ACY amount fields), the BAS (own BAS setup, calculation sheet, export and business unit objects, plus BAS fields on G/L, VAT and journal tables), and withholding tax (own WHT posting groups, WHT entries, WHTManagement codeunit 28040, settlement and certificate reports). Posting codeunits such as Gen. Jnl.-Post Line, Sales-Post and Purch.-Post are extended with WHT and GST procedures.

Other local features: ABN on company, customer, vendor and contact records with validation, adjustment notes with BAS adjustment fields, posted tax invoice and credit memo pages and reports, EFT payment files and register, post-dated checks, Australian address validation with counties and barcode printing, and cost-plus pricing on price lines. An AU subscriber for the expense agent and incoming document vendor lookup by ABN are also present.

Learn documents these under Australia local functionality: Australian Tax overview, Withholding Tax, ABN and adjustment notes, GST on prepayments, BAS business units, EFT, addresses, Payment Times Reporting, and electronic invoicing with Peppol PINT A-NZ.

Key points

  • GST: Enable GST (Australia) and Full GST on Prepayment on General Ledger Setup, ACY VAT amount fields on lines, GST sales and purchase entry pages, and a GST settlement report.
  • BAS: own BAS setup, calculation sheet, business unit, XML field and export objects, with BAS Doc. No. and BAS Version fields on G/L Entry, VAT Entry and journal lines.
  • Withholding tax: WHT business and product posting groups, revenue types, WHT posting setup, WHT Entry page, settlement report and certificates, with WHT fields on vendors, items, resources and documents.
  • ABN: ABN and ABN Division Part No. on company, customer, vendor and contact records; incoming documents can find a vendor by ABN.
  • Adjustment notes: Adjustment, BAS Adjustment and Adjustment Applies-to fields on journals, ledger entries and sales and purchase documents.
  • Tax invoices and credit memos: posted sales and purchase tax invoice and credit memo pages, number series in setup tables, and printing reports.
  • Banking: EFT register, Create EFT File and Transfer EFT Register, post-dated checks, deposit slip and bank reconciliation reports.
  • Addresses and pricing: county and post code validation with AMAS and barcode support; Cost-plus % and Published Price on price lines.

Narrative written by Sonnet from the code diff and 29 Learn page summaries. In numbers: Australia (AU) localization of Business Central in BC29: 171 objects of its own, 121 W1 objects changed (468 fields and 22 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 39 135 171
Purchases 26 4 137
Sales 26 1 123
Foundation 10 9 10
Bank 5 10 9
Inventory 6 2 4
(no namespace) 0 3 0
Text 0 3 0
Pricing 2 0 8
Security 2 0 0
Service 0 2 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

Core of the AU layer: GST and ACY amounts, BAS setup, calculation and export, withholding tax (WHT) posting, settlement and entries, tax invoice management, post-dated checks, and many local reports. Gen. Jnl.-Post Line, Post Batch, Post Reverse, VAT Report objects, General Ledger Setup, G/L Entry, VAT Entry and journal line tables gain fields, events and procedures.

Why: Learn describes GST posting for BAS reporting, WHT withheld from vendors without an ABN and remitted to the ATO, and BAS group consolidation across business units.

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

All 174 objects of Finance in the diff

Purchases

Purchase documents and posted documents get ABN, WHT, adjustment, tax document and ACY GST fields. Purch.-Post, prepayment posting and invoice posting add WHT and full GST procedures. Purchases & Payables Setup holds GST groups, tax invoice number series and post-dated check settings.

Why: Learn covers ABN on vendors, WHT for vendors without an ABN, and GST on prepayments.

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

All 30 objects of Purchases in the diff

Sales

Sales documents and posted documents get WHT, adjustment, tax document type and ACY GST fields. Sales-Post and prepayment posting add WHT and full GST procedures, and tax invoice number series checks are added to posting. Includes the AU/NZ Statement report and S/T exemption fields.

Why: Learn documents adjustment notes for GST compliance and posted tax invoice and credit memo viewing.

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

All 27 objects of Sales in the diff

Foundation

Company Information gets ABN, tax period, WHT registration and RDO fields. Country/Region gets address validation and AMAS settings. Own counties, address buffer tables and Format Address and DateFilter-Calc procedures support tax invoices, barcodes and local periods.

Why: Learn describes handling of postal codes with multiple cities and same-named cities in different states, and ABN validation.

Objects: table/79 “Company Information”, table/9 “Country/Region”, codeunit/365 “Format Address”, codeunit/358 “DateFilter-Calc”, table/28004 “County” (own), page/28003 “Counties” (own), table/28002 “Address Buffer” (own), codeunit/28020 “Report Management APAC” (own).

All 19 objects of Foundation in the diff

Bank

Adds EFT payments (bank account EFT fields, EFT register, Create EFT File and Transfer EFT Register), post-dated check fields, and AU reports such as deposit slip, bank reconciliation, bank cash flow comparison and back-dated aged balances. Bank reconciliation posting can post unrealized WHT.

Why: Learn documents EFT vendor payments with bank file export and several bank reports.

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

All 15 objects of Bank in the diff

Inventory

Adds WHT Product Posting Group to Item, Item Template and Item Charge, a vendor exchange rate (ACY) field on item journal lines, and cost-plus price update logic in ItemCostManagement. Adds 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/1382 “Item Templ.”, table/5800 “Item Charge”, table/83 “Item Journal Line”, report/14311 “Stock Card” (own), report/28022 “Stock Movement” (own).

All 8 objects of Inventory in the diff

(no namespace)

Adds the BAS Export codeunit and the G/L-BAS permission set, plus a source code table extension.

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

Objects: codeunit/11604 “BAS Export” (own), permissionset/11600 “G/L-BAS” (own), tableextension/28160 “SourcecodeAPAC” (own).

All 3 objects of (no namespace) in the diff

Text

Own barcode management codeunit and two reports (BarCode Checking, BarCode Batch Job) supporting barcode printing on addresses.

Why: Learn lists barcode printing among the Australian address features.

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

Price List Line and Price Worksheet Line gain Published Price, Cost, Cost-plus % and Discount Amount fields, with procedures to update unit price by cost-plus percentage.

Why: Learn has a page on determining sales price by cost plus percentage.

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

All 2 objects of Pricing in the diff

Security

The LOCAL and LOCAL READ permission sets are changed to cover AU 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 page 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

CRM

Contact gets ABN, Registered, ABN Division Part No. and IRD No. fields.

Why: Learn covers ABN entry and validation.

Objects: table/5050 “Contact”.

All 1 objects of CRM in the diff

ExpenseAgent

Adds the Expense Event Subscriber AU codeunit.

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

Objects: codeunit/6915 “Expense Event Subscriber AU” (own).

All 1 objects of ExpenseAgent in the diff

FixedAssets

Fixed Asset gets a WHT Product Posting Group field.

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 Facade Helper gets a procedure that creates 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-map Incoming Purch. Doc adds FindVendorByABN and an event after setting incoming document header data, so vendors can be matched by ABN.

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

Resource gets a WHT Product Posting Group field.

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 the 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

171 objects only this country has.

Other versions

  • BC30: 292 objects differ from W1 (468 fields, 22 events added)

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