======2. Prepare INVOICE======
element43=>start: 2. Prepare INVOICE element42=>operation: EntityAnalyzer element41=>operation: INVOICE FOR BUYER A element40=>condition: OnEntitiesSelected element28=>operation: INVOICE FOR BUYER B element27=>condition: OnEntitiesSelected element15=>operation: INVOICE FOR bus_buyer_einvoice_test element14=>condition: OnEntitiesSelected element8=>operation: If new Msg in To.Bus_Supplier_A element7=>condition: OnMessageSelection element5=>operation: If new Msg in To.Bus_Supplier_B element4=>condition: OnMessageSelection element2=>operation: If new Msg in To.bus_supplier_einvoice_test element1=>condition: OnMessageSelection element0=>subroutine: RUN 3. Send To.bus_supplier_einvoice_test element3=>subroutine: RUN 3. Send To.Bus_Supplier_B element6=>subroutine: RUN 3. Send To.Bus_Supplier_A element13=>operation: EntityLoader element12=>condition: OnEntityObject element11=>inputoutput: EntityTransformer element10=>condition: OnEntityTransformed element9=>operation: Create Msg in To.bus_supplier_einvoice_test element26=>operation: EntityLoader element25=>condition: OnEntityObject element24=>inputoutput: EntityTransformer element23=>condition: OnEntityTransformed element22=>condition: OnEntityTransformed element21=>operation: Is Supplier B? element20=>condition: OnTrue element19=>operation: Create Msg in To.Bus_Supplier_B element18=>operation: Is Supplier A? element17=>condition: OnTrue element16=>operation: Create Msg in To.Bus_Supplier_A element39=>operation: EntityLoader element38=>condition: OnEntityObject element37=>inputoutput: EntityTransformer element36=>condition: OnEntityTransformed element35=>condition: OnEntityTransformed element34=>operation: Is Supplier B? element33=>condition: OnTrue element32=>operation: Create Msg in To.Bus_Supplier_B element31=>operation: Is Supplier A? element30=>condition: OnTrue element29=>operation: Create Msg in To.Bus_Supplier_A element43->element42 element42->element41 element41->element40 element40(yes, right)->element39 element40(no)->element28 element39->element38 element38(yes, right)->element37 element37->element36 element36(yes, right)->element31 element36(no)->element35 element31->element30 element30(yes, right)->element29 element35(yes, right)->element34 element34->element33 element33(yes, right)->element32 element28->element27 element27(yes, right)->element26 element27(no)->element15 element26->element25 element25(yes, right)->element24 element24->element23 element23(yes, right)->element18 element23(no)->element22 element18->element17 element17(yes, right)->element16 element22(yes, right)->element21 element21->element20 element20(yes, right)->element19 element15->element14 element14(yes, right)->element13 element14(no)->element8 element13->element12 element12(yes, right)->element11 element11->element10 element10(yes, right)->element9 element8->element7 element7(yes, right)->element6 element7(no)->element5 element5->element4 element4(yes, right)->element3 element4(no)->element2 element2->element1 element1(yes, right)->element0
  1. (Job) 2. Prepare INVOICE
  2. (EntityAnalyzer) Analyze Msg
  3. (EntityAnalyzer) EntityAnalyzer1
  4. (EntityAnalyzer) EntityAnalyzer
  5. (EntitySelector) INVOICE FOR BUYER A
    1. (OnEntitiesSelected)
      1. (EntityLoader) EntityLoader
        1. (OnEntityObject)
          1. (EntityTransformer) EntityTransformer
            1. (OnEntityTransformed)
              1. (EntityIfCase) Is Supplier A?
                1. (OnTrue)
                  1. (EntityMessageCreator) Create Msg in To.Bus_Supplier_A
            1. (OnEntityTransformed)
              1. (EntityIfCase) Is Supplier B?
                1. (OnTrue)
                  1. (EntityMessageCreator) Create Msg in To.Bus_Supplier_B
  6. (EntitySelector) INVOICE FOR BUYER B
    1. (OnEntitiesSelected)
      1. (EntityLoader) EntityLoader
        1. (OnEntityObject)
          1. (EntityTransformer) EntityTransformer
            1. (OnEntityTransformed)
              1. (EntityIfCase) Is Supplier A?
                1. (OnTrue)
                  1. (EntityMessageCreator) Create Msg in To.Bus_Supplier_A
            1. (OnEntityTransformed)
              1. (EntityIfCase) Is Supplier B?
                1. (OnTrue)
                  1. (EntityMessageCreator) Create Msg in To.Bus_Supplier_B
  7. (EntitySelector) INVOICE FOR bus_buyer_einvoice_test
    1. (OnEntitiesSelected)
      1. (EntityLoader) EntityLoader
        1. (OnEntityObject)
          1. (EntityTransformer) EntityTransformer
            1. (OnEntityTransformed)
              1. (EntityMessageCreator) Create Msg in To.bus_supplier_einvoice_test
  8. (MessageSelector) If new Msg in To.Bus_Supplier_A
    1. (OnMessageSelection)
      1. (DelegatorJob) RUN 3. Send To.Bus_Supplier_A
        1. (DelegateJob) 3. Send To.Bus_Supplier_A
    2. (MessageSelector) If new Msg in To.Bus_Supplier_B
      1. (OnMessageSelection)
        1. (DelegatorJob) RUN 3. Send To.Bus_Supplier_B
          1. (DelegateJob) 3. Send To.Bus_Supplier_B
      2. (MessageSelector) If new Msg in To.bus_supplier_einvoice_test
        1. (OnMessageSelection)
          1. (DelegatorJob) RUN 3. Send To.bus_supplier_einvoice_test
            1. (DelegateJob) 3. Send To.bus_supplier_einvoice_test