On one table I have four fields bpentid+bproleid+prodbrnid to get the proper billing number(inv) they have relationships to fields on another table.
example: If bproleid=mb then bpentid =inv
If bproleid=DI then bpentid+bproleid+prodbrnid donot have to equalto the billing. The record should match what is equal to the record on the table.
If bproleid=wh then bpentid+bproleid+prodbrnid donot have to equalto the billing. The record should match what is equal to the record on the table.
these are all the bproleid variable conditions Wh DI MB
example: If bproleid=mb then bpentid =inv
If bproleid=DI then bpentid+bproleid+prodbrnid donot have to equalto the billing. The record should match what is equal to the record on the table.
If bproleid=wh then bpentid+bproleid+prodbrnid donot have to equalto the billing. The record should match what is equal to the record on the table.
these are all the bproleid variable conditions Wh DI MB