2003”N 4ŒŽ 1“ú | VERIFICATION FOR SUBSETS | BACK >> –ÚŽŸ |
œ Verification for subsets 1. Entity @We have data of "business partner (trading partner)" with the identifier of "BP-NO", "business partner" is an entity, and it's described as noted below: @@Business Partner:oBP-NO, BP-name,...p[ R ] @ @If and when there is, in the "business partner" set, a "partition" code of "classification by business relations" with the value of "1" for "consignor" and "2" for "supplier", then the entity must be divided into two subsets as noted below:
@@Business Partner:oBP-NO, BP-name, by business relations, ...p[ R ] @
@A business partner, with the value of 001 in BP-NO, may be BOTH a consignor AND a supplier.
@If we leave them as they are, an application program must be complicated with nested-IF statements so that the following cases are embedded in control-flow of statements: @ @The "partition" code of "business relations" must NOT be legitimate, they are NOT a "partition" code in the way they must be, so that it's NOT an attribute belonging to the "business partner" set. @We must get it back on the right track as noted below:
@@Business Partner:oBP-NO, BP-name,...p[ R ] @You can see that "nested-IF" statements can be reduced into a statement, because the combination table (of "BP.BR. taisyohyo") works as a "truth table." @ |
@ | << ‚à‚Ç‚é | HOME | ‚·‚·‚Þ >> |
@ | ‚sŽšŒ`‚d‚qŽè–@‚̉p–ó |