Hello Ang,
udono schrieb:
[...]
> test2.pl works with some errors, i try to follow...
test2 works good with german Chart, but there are some minor errors
in the query in line 850...
I quoted the Values this way, and it worked:
$query = qq|INSERT INTO partscustomer (parts_id, customer_id,
pricegroup_id, pricebreak, sellprice, curr,
validfrom, validto)
VALUES ('$self->{id}', '$vc->{customer}->{id}',
'$vc->{pricegroup_id}', '$vc->{"pricebreak"}',
'$vc->{"customerprice"}', '$vc->{"customercurr"}', |
.$user->dbquote($self->{"validfrom"},
"SQL_DATE").qq|, |
.$user->dbquote($self->{"validto"},
"SQL_DATE").qq|)|;
---------8<---------
Greetings Udo
|