The manufacturer of our software has recently made a change in the databases that store shipment to vendor data. We started using 4 tables to link up for the receipts and 4 tables (2 that are the same and 2 that were different) to link up the shipments. Now the information seems to be in one table. Knowing that the software company doesn't change things for no reason, I can only assume that the old way of getting shipments will soon not work. So my goal is to get everything from the same table, but I'm having issues with duplication of data due to the links. I have attached a snapshot of the database links. I have duplicated the material_trans table on it in order to get the data as close as I have. The job to Job_Operation is a left link. the Source to Job_Operation is a left link, and the rest are right links. I'm not sure if this is correct, but it gets the data close. My question comes from the duplication. When I look at the data, if we have one shipment and one receipt then I get 4 lines, shipment, receipt, shipment and receipt in that order. if we have 3 of each, I get 18 lines. The software company wants to charge me a hefty sum to get someone to work with me on this but they charge a huge sum to work with us for each hour. So that being said, I know that there must be a way to do it, but what am I not seeing in the formulas and linkups.
↧