pcaenaro
Well Known Member
Lisa,
First of all, it's Friday!! so don7t worry.
The answer to your problem lies in your Select Statement:
Select on DOC and not on PYID
right now, you select the Payment ID and therefore sum up the amounts for the whole payment. If yo want the total doc number change your
F0414.Select (PYID only)
to F0414.Select (DOC and PYID)
That should do the trick
Cheers
Philippe
One World B7333 SP16 AS400
First of all, it's Friday!! so don7t worry.
The answer to your problem lies in your Select Statement:
Select on DOC and not on PYID
right now, you select the Payment ID and therefore sum up the amounts for the whole payment. If yo want the total doc number change your
F0414.Select (PYID only)
to F0414.Select (DOC and PYID)
That should do the trick
Cheers
Philippe
One World B7333 SP16 AS400