cole_hng
7th July 2023, 06:43
Hi,
I refer to below link to do
http://www.baanboard.com/baanboard/showthread.php?t=26405
My Code : rmk.txt.3 = tcmcs.dll0006.decode(r.amount,1, decode0, decode1, decode2, decode3)
But when i compile report and show below error message, may i know how to solve it?
rcisli2405smt15( 446): Error: Function 'tcmcs.dll0006.decode' returns no value.
rcisli2405smt15( 446): Error: 7 arguments expected for function 'tcmcs.dll0006.decode'
bdittmar
7th July 2023, 10:39
Hello,
rcisli2405smt15( 446): Error: 7 arguments expected for function
6 args are used.
Regards
günther
7th July 2023, 12:28
Hi,
we have 7 arguments on our system:
function extern void tcmcs.dll0006.decode(
domain tcamnt i.amount,
boolean i.decimals,
ref domain tcmcs.s130m o.amount.in.words.complete,
ref domain tcmcs.st65m o.amount.in.words.part.1,
ref domain tcmcs.st65m o.amount.in.words.part.2,
ref domain tcmcs.st65m o.amount.in.words.decimals,
domain tclang i.system.language)
Regards
Günther
cole_hng
10th July 2023, 12:09
domain tcmcs.s130m decode0
domain tcmcs.st65m decode1
domain tcmcs.st65m decode2
domain tcmcs.st20m decode3
domain tclang ic
rmk.txt.3 = tcmcs.dll0006.decode(1000,1, decode0, decode1, decode2, decode3,ic)
-------------------------------------------------------------------------------------------------------
rcisli2405smt14( 257): Error: Function 'tcmcs.dll0006.decode' returns no value.
rcisli2405smt14( 257): Error: Argument 1 for function 'tcmcs.dll0006.decode' has illegal type.
rcisli2405smt14( 257): Error: Illegal type combination: 'long should be: double'
rcisli2405smt14( 257): Error: Argument 1 for function 'message' has illegal type.
rcisli2405smt14( 257): Error: Illegal type combination: '? should be: string'
Hi Günther,
Can give me example?
günther
10th July 2023, 13:06
Hi,
try:
tcmcs.dll0006.decode(1000.0, 1, decode0, decode1, decode2, decode3, ic)
or (better)
tcmcs.dll0006.decode(1000.0, true, decode0, decode1, decode2, decode3, ic)
OmeLuuk
10th July 2023, 15:06
function extern void tcmcs.dll0006.decode(Check ttstpbaandoc on tcmcsdll0006 to know this about your own environmentrcisli2405smt14( 257): Error: Function 'tcmcs.dll0006.decode' returns no value.That is where void refers to... the result is in the arguments.
cole_hng
11th July 2023, 07:06
Hi Günther,
I try this "tcmcs.dll0006.decode(1000.0, true, decode0, decode1, decode2, decode3, ic)"
But still got 1 error
rcisli2405smt14( 260): Error: Function 'tcmcs.dll0006.decode' returns no value.
:confused:
cole_hng
11th July 2023, 07:12
Hi OmeLuuk,
I am Infor LN newbie.
Can you teach me step by step how to check ttstpbaandoc on tcmcsdll0006?:)
günther
11th July 2023, 07:38
Hi,
wrong:
rmk.txt.3 = tcmcs.dll0006.decode(1000.0, true, decode0, decode1, decode2, decode3, ic)
okay:
tcmcs.dll0006.decode(1000.0, true, decode0, decode1, decode2, decode3, ic)
A void function does not return a value, so you cannot assign that to your variable rmk.txt.3.
cole_hng
12th July 2023, 04:07
Hi Günther,
OIC.
But i need rmk.txt.3 to show "one thousand". How do i do?
bdittmar
12th July 2023, 11:54
Hi Günther,
OIC.
But i need rmk.txt.3 to show "one thousand". How do i do?
function extern void tcmcs.dll0006.decode(
domain tcamnt i.amount,
boolean i.decimals,
ref domain tcmcs.s130m o.amount.in.words.complete,
ref domain tcmcs.st65m o.amount.in.words.part.1,
ref domain tcmcs.st65m o.amount.in.words.part.2,
ref domain tcmcs.st65m o.amount.in.words.decimals,
domain tclang i.system.language)
i = input
o = output
The words "one thousand" should be found in the DLL-Output decode0 .
Regards
OmeLuuk
17th July 2023, 16:10
Hi OmeLuuk,
I am Infor LN newbie.
Can you teach me step by step how to check ttstpbaandoc on tcmcsdll0006?:)Choose in the menu Run Program, in the dialog presented give program to run: ttstpbaandoc
Then in the dialog give package combination and user (to know the correct software component via the derivation structure), choose type document Library, package tc and software component mcsdll0006 to mcsdll0006.
Press Generate,
In the baandoc.zip file you will find your documentation package.