Skip to Content
0
Former Member
May 14, 2010 at 06:09 AM

The signed data problem for script

27 Views

Hi,

I encountered one problem about the signed of vaule when running script.

*PACCT Account Type*_

S001 INC

S002 INC

V001 EXP

script : TEST.LGF

*WHEN P_ACCT

*IS S001

*REC(FACTOR=1,P_ACCT="S002")

*REC(FACTOR=1,P_ACCT="V001")

*ENDWHEN

*COMMIT

I input the S001 with 100 LC and run the script as following scenario:

Scenario 1:

- include the TEST.LGF in the Default.LGF

- create the input schedule to input 100 at S001

I will get S002=100 and V001=100

Scenario 2:

- input the S001 = 100 into application first

- create datapackge to run the script TEST.LGF

- run the datapackage and verify "successful"

I will get the S002= -100 and V001= -100

Why did the same code got different signed ?

Is there any thing I missed ?

Please give me some advise.