Freight Costs

 5 Replies
 0 Subscribed to this topic
 1 Subscribed to this forum
Sort:
Author
Messages
Kodi L
Basic Member Send Private Message
Posts: 12
Basic Member
Is there a report that I can run that details the add-on costs from AP invoice entry that are applied to purchase orders? I am trying to find out what the freight costs are by purchase order, I also want to be able to see the invoice total.

Thanks in advance
Kodi
JonA
Veteran Member Send Private Message
Posts: 1163
Veteran Member
I'm not aware of a good canned add-on cost report in Lawson. I have a couple Crystal reports that I use. Do you use Crystal?
Jon Athey - Sr. Supply Chain Analyst - Materials Management - MyMichigan Health
Kodi L
Basic Member Send Private Message
Posts: 12
Basic Member
No, we don't use crystal reports but if you could give me an idea of what fields you are pulling your data from & I will have someone build a report
Thanks in advance
Kodi
Kodi L
Basic Member Send Private Message
Posts: 12
Basic Member
No, we don't use crystal reports but if you could give me an idea of what fields you are pulling your data from & I will have someone build a report
Thanks in advance
Kodi
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
We have a script that we run once a week to email our AP folks. (I believe that it deals with EDI invoices that have errors due to add-on costs), but it may give you a place to start?
Here is the Oracle sql statement.
set head off
set linesize 150
set pagesize 0
set feedback off
set trimspool on
set termout off
spool /tmp/aoc_alert.txt
SELECT trim(MACINVAOC.AOC_CODE)||':'||
trim(MACINVAOC.INVOICE)||':'||
to_char(MACINVOICE.INVOICE_DTE,'YYYYMMDD')||':'||
trim(MACINVAOC.VENDOR)||':'||
trim(APVENMAST.LEGAL_NAME)||':'
FROM (LAWSON.MACINVOICE MACINVOICE INNER JOIN
LAWSON.APVENMAST APVENMAST ON
MACINVOICE.VENDOR=APVENMAST.VENDOR) INNER JOIN
LAWSON.MACINVAOC MACINVAOC ON
((MACINVOICE.COMPANY=MACINVAOC.COMPANY) AND
(MACINVOICE.INVOICE=MACINVAOC.INVOICE)) AND
(APVENMAST.VENDOR=MACINVAOC.VENDOR)
where MACINVOICE.INVOICE_DTE >= decode(to_char(sysdate,'DY'),'MON',
trunc(sysdate) -4,
trunc(sysdate) -1)
order by MACINVAOC.INVOICE
;
Kodi L
Basic Member Send Private Message
Posts: 12
Basic Member
Thanks Greg. That should help.