Basically, SMP_PS_list_bvr_diffs builds up a list of all occurrence data of both the supplied BVRs. This list is ordered by sequence number, and (within that) by item/rev tag. qty[0] holds the quantity of the occurrence in the first BVR, and qty[1] that for the second BVR. Each difference element represents the number of occurrences of a single item/rev in the BVRs.
Note that:
-
If a difference element contains the same quantity value for both BVRs, this is an unchanged occurrence (i.e. each BVR has the same number of occurrences of this item/rev).
-
If a difference element contains different quantities for each BVR, there have either been additional occurrences added to the second BVR compared to the first (qty[1] > qty[0]), or some occurrences have been removed from the second compared to the first (qty[1] < qty[0]).
Used to hold the tag of the BOMline referencing the compare, also the windows used (this allows them to be disposed of using SMP_PS_free_bvr_diffs)
Free all memory allocated by SMP_PS_list_bvr_diffs for the given difference listing
- Parameters
-
| diffs | (I) List of differences to free |
Build up a list of differences between the two given BVR's
- Parameters
-
| bvr_a | (I) First BVR to compare |
| bvr_b | (I) Second BVR to compare |
| n_diffs | (O) Number of differences returned |
| diffs | (OF) n_diffs List of differences |
Print given list of diffs to given file in MRP format
- Parameters
-
| f | (I) File to which to list the diffs |
| diffs | (I) List of differences |
Print given list of diffs to given file
- Parameters
-
| f | (I) File to which to list the diffs |
| diffs | (I) List of differences |