Error returned when using dde to interface my program with peachtree. sending a transaction for a customer in PT.
Error is this:
Topic: PTCOMPAN
Received: DDDE_INITIATE: PTCOMPAN.
REPLIED: DDE_ACK: PTCOMPAN
RECEIVED: DDE_POKE: file=salesjournal, CLEAR
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=Customer
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=invoice
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=date
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=datedue
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=firstdistribution
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=nextdistribution
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,SAVE
REPLIED: DDE_ACK: Cannot save when out of balance.
Here is the kicker. If I go into PT and remove a single character from the customer name field the transaction will go over. If I then max out the same field with numbers (39 character max.)It will process the transaction. What might be wrong???
Thank you in advance!!
Error is this:
Topic: PTCOMPAN
Received: DDDE_INITIATE: PTCOMPAN.
REPLIED: DDE_ACK: PTCOMPAN
RECEIVED: DDE_POKE: file=salesjournal, CLEAR
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=Customer
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=invoice
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=date
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=datedue
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=firstdistribution
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=nextdistribution
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,SAVE
REPLIED: DDE_ACK: Cannot save when out of balance.
Here is the kicker. If I go into PT and remove a single character from the customer name field the transaction will go over. If I then max out the same field with numbers (39 character max.)It will process the transaction. What might be wrong???
Thank you in advance!!