dogueke
7th July 2003, 11:34
Hi,


I would like to do some modification on the session script of tfacp2421m000 but when I compile the original script without any changes I get the error messages below. I looked at the code, it seems like this 'acp.not.anticipated' word is a macro that should have been defined at the declaration section but there is no trace of any macro declarations ?!?!? I checked if the patch that the session came with included the correct source and that is not the problem. Any suggestions about the cause ??? Am I missing something basic ?


The ERROR:

tfacp2421.de10:
std_gen6.1 -s ptfacp2421.de10 -qe /bse/tmp/tmp082642738
bic6.1 -Pvariant=0 ptfacp2421.de1g -u -d ottstpstandard -o otfacp2421.de1 -f /
bse/tmp/tmp082642737 -qe /bse/tmp/tmp082642739
bic_enumset( 4): Warning(15): "bic_enumset function now in standard library"
itfacp00170( 74): Warning(3): Return value of function 'set.mem' ignored.
itfacp00170( 74): Warning(3): Return value of function 'set.mem' ignored.
itfacp00170( 74): Warning(3): Return value of function 'set.mem' ignored.
itfacp00170( 74): Warning(3): Return value of function 'set.mem' ignored.
ptfacp2421.de10( 879): Error SQL: Unkonwn column 'acp.not.anticipated'
ptfacp2421.de10( 879): Error SQL: Syntax error: 'and' not expected
ptfacp2421.de10( 989): Error SQL: Found 2 errors during scanning/parsing .. Stopped.
...
...

günther
7th July 2003, 12:33
The definition comes from itfacrdefines. SOL 124979:



#define ACP.NOT.ANTICIPATED ( tfacp200.tpay <>tfacp.tpay.anticipated
^ and tfacp200.tpay <> tfacp.tpay.advance.ant
^ and tfacp200.tpay <> tfacp.tpay.unallocated.ant )

dogueke
7th July 2003, 14:24
Instead of finding the right include file I was thinking may be I could just write down the necessary macro definitions inside my script. But of course I would also need:

acp.advance.unallocated
acr.advance.unallocated

acp.amount.paid.fc
acp.amount.paid.hc

acp.invoice
acr.invoice

acr.amount.paid.fc
acr.amount.paid.hc

could you also give me the code for these macros :)) ?
I know I ask a bit too much but it would save me a lot of time....

mark_h
7th July 2003, 15:26
I recommend using the latest solution. One include was okay - but we do not want source code posted on the board. Please get the latest include from Baan for your system.

Thanks

Mark

arunkw
7th July 2003, 20:26
Comment of dogueke
Instead of finding the right include file I was thinking may be I could just write down the necessary macro definitions
could you also give me the code for these macros ) ?
I would suggest that you get the latest Include and do not try to write down the macros in the program scripts that will be needed just because that will solve your problem during compilation. This might cause clashing of variables and other in competencies might arise once you update your includes later some time.

And now that, you will be getting a latest include do not forget to get all the objects that were using this latest include.

Regards