Hi everyone,
I’m wracking my brain trying to find a way to provide receipt data to a user. It seems straight forward but I’m struggling to thing about this/develop it dimensionally.
Business requirement: User wants to use Phocas to see the quantity of parts we received in by PO number. Additionally, she would like to be able to filter by receipt date.
The problem I’m running into: The only 1:1 relationship with receipt date is pack slip (as far as I know). And most of our large POs have multiple pack slips. Further complicating the issue is “received quantity” is by PO release.
Question: how do I model this data when it all seems to exist as different granularity?
Misc: I started with the EDA-supplied script f_Purchasing and modified it to include Receipt Date. This works except for the POs which have multiple pack slips and therefore multiple receipt dates. When there are multiple receipt dates for a PO, the received quantity is duplicated and double-counted.
The tables I’m primarily interested in are ERP.RcvDtl and ERP.PORel. Hopefully I’m missing some link between the two which will solve all my problems!
Thanks in advance,
Kellan