codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 18807 "TCS Management" (IN)

IN country layer · Microsoft.Finance.TCS.TCSBase

Across versions

  1. BC23-28not present
  2. BC29-30present

IN country layer · Microsoft.Finance.TCS.TCSBase · BC29-30 · source at ea08af5e · facts from BC29

An object of the IN localization, not part of W1.

Events published

  • OnBeforeFilterGetAmtFromDocumentNoForEInv(var TCSEntry: Record "TCS Entry"; DocumentNo: Code[20]) (integration)
  • OnAfterGetAmtFromDocumentNoForEInv(TCSEntry: Record "TCS Entry"; var Amount: Decimal; DocumentNo: code[20]) (integration)

Event subscriptions

  • CheckTCSValidation subscribes to Codeunit “Gen. Jnl.-Post Line” OnbeforePostGenJnlLine
  • AssignNOCGenJnlLine subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (Account No.)
  • ChecKDefinedNOC subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (TCS Nature of Collection)
  • ClearTCSFields subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (Account Type)
  • SetTotalTCSInclSHECessAmount subscribes to Codeunit “Tax Document GL Posting” OnPrepareTransValueToPost
  • OnAfterGetTCSAmountFromTransNo subscribes to Codeunit “Tax Base Subscribers” OnAfterGetTCSAmountFromTransNo
  • OnAfterGetAmountFromDocumentNoForEInv subscribes to Codeunit “Tax Base Subscribers” OnAfterGetAmountFromDocumentNoForEInv
  • OnAfterValidateDocumentType subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (Document Type)
  • UpdateTotalTCSAmountInCustLedgerEntry subscribes to Table “Cust. Ledger Entry” OnAfterInsertEvent

Procedures

  • OpenTCSEntries(FromEntry: Integer; ToEntry: Integer)
  • ConvertTCSAmountToLCY(CurrencyCode: Code[10]; Amount: Decimal; CurrencyFactor: Decimal; PostingDate: Date): Decimal
  • RoundTCSAmount(TCSAmount: Decimal): Decimal

Plus 4 local procedures.

Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "TCS Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

A IN country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.

Evidence 1 sources