How to get GST TCS and TDS Values before posting of Document in D365 BC

Get GST TCS and TDS Values before posting of Document in D365 BC:

(1) In this blog we will get to know about how to get tax components values before posting of Sales and Purchase document in Business Central D365.

(2) First create a new page of “Tax Transaction Value” and then accordingly write the code. This table contains all the tax-related entries as shown.

tax-related entries in d365 bc

(3) Note: For getting the values before posting, you must check the below points.

  • Value ID
  • Percentage
  • Tax Type
  • The system shows value Document Line wise (Tax Record ID)

(4) For the Sales & Purchase Document, the source code is given below.

  • For GST Components:
GST Components source code d365 bc
GST Components source code bc d365

For TCS:

TCS source code in d365 bc

For TDS:

TDS source code in d365 bc

(5) In this way we will get the value of tax components and use the above source code and print the values as per the requirement.


How to Display the Decimal Value as a Percentage in D365 BC
How to Bookmark a Page and Report on Role Center in D365 BC
Business Central Keyboard Shortcuts Keys Overview
Maximum Companies can be created in One Environment in D365 BC
Error PTE0004- Package Validation Failed in BC D365 SAAS
How to Delete Characters and Space from String by using DELCHR Function in BC D365
Dimensions and Dimension Values Overview and Setup in D365 BC
Setup for GST TDS and GST TCS– Microsoft Docs

Leave a Reply