Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 49

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 8th September 2016, 17:57
kishoremeher kishoremeher is offline
Junior Member
Join Date: Apr 2007
Location: India
Posts: 24
kishoremeher is on a distinguished road
Baan: baan4, baan LN - DB: Oracle - OS: UNIX
dll for get tax detail for a sales order line in LN 10.4 with India localization
Baan: Other/Unknown
C/S: None/Unknown

Hi Baanboard.

We recently implemented Infor 10.4 with India Localisation.
I am trying to create a customised sales order report where I have to print the Aggregated tax with all breakdown (excise + cess + he.cess) with the respective amount as getting displayed in session tctax9141m10l.
Can anyone help me to get the logic for the same.
Also wondering if there is any standard DLL available for the same.

Reply With Quote
Sponsored Links
Old 9th September 2016, 06:52
srprks srprks is offline
Join Date: May 2016
Location: Bangalore
Posts: 82
srprks is on a distinguished road
Baan: 10.4,Baan IV - DB: Oracle,SQL - OS: Unix,Windows
Tax break up DLL



void domain tcccty, domain tccvat, domain tcdate, domain tcamnt i.order.line.price, domain tcamnt i.customs.value, domain tcamnt, domain tcamnt i.retail.sales.price, domain tcamnt i.tariff.price, domain tcccur i.price.currency, domain tcdate, domain tcrtyp, domain tcpric i.asv.excise, domain tcpric i.asv.vat, domain tcpric, domain tcdate, domain tcyesno, domain tcyesno i.yesno.flag, ref domain tctax.indt.l i.duty.type.array(,), ref domain tcamnt i.duties.array(,), ref domain tcpvat,), ref domain tctax.seqn o.maximum.sequence.number, ref domain tcamnt o.line.base.amount.array(,), ref domain tcamnt,), ref domain tccvat,) fixed, ref domain tctax.indt.l,), ref domain tcyesno,), ref domain tcamnt, ref domain tcamnt, ref domain tcamnt, ref domain tcamnt, ref domain tcmcs.s250m o.comb.output.set() fixed mb, ref domain tcmcs.s250m o.error.msg mb )
 Expl.:	This function determines the tax amounts for a tax country
	and aggregate tax code for a certain date.
	The amounts that are retrieved are:
	-	tax amount per tctax941 tax line
	-	base amount per tctax941 line
	-	claimable tax amount
	- 	non-claimable tax amount
	-	total tax amount
	Duty type array and duties are used only in the case of
	"AS IS SALES" scenario. This array should be empty for other
	Tax Rates are read from tcmcs032 table and populated.In the case
	of "AS IS SALES", "" date will be used as
	tax date in calculation. In other scenarios, will be
	The o.comb.output.set is an array of strings of size 250 and
	this array will contain sets of records concatenated with a
	seperator '|' The array will be as follows
	o.comb.output.set(1,1)	- "A201|4|2|16|1000|160" interpret as
	"TAX CODE|Indirect Tax|Expensed|Tax Rate|Base Amount|Tax Amount"
	Sales Tax is calculated for "AS IS SALES".
Pre:	Following arrays need to be declared in the calling script
	domain	tcamnt, 1)	based
	domain	tcamnt	line.base.amount.array(1, 1)	based
	domain	tccvat, 1)	based
	domain	tctax.indt.l, 1)	based
	domain	tcyesno, 1)	based
	domain	tcmcs.s250m	o.comb.output.set(1)	based

Post:	Free.mem() must be done for the declared arrays !!
Return:	-
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sales Order Lines manasrpadhi AFS/DDC/OLE: Function servers 2 21st September 2011 13:11
Sales Order Line Status not updated wanabegudatbaan Distribution, Transportation & Warehousing 4 24th April 2007 12:05
Adding a line to a Sales Order. wricks Tools Development 8 7th February 2003 03:44
Archiving of Sales Order Data kclewley Archiving & Multisite 6 21st January 2003 12:00
Function server dll for Sales Order Lines mgakhar AFS/DDC/OLE: Function servers 3 13th November 2002 18:59

All times are GMT +2. The time now is 20:23.

©2001-2018 - -