Specify the SpecificCustomerToGenericBrokerageAccount business object map details

Follow these steps to specify the SpecificCustomerToGenericBrokerageAccount business object map details:
  1. In the navigation tree, click BrokerageModule > Mapping > Data Maps > SpecificCustomerToGenericBrokerageAccount.
  2. From the pop-up menu, select Open With > Business Object Mapping Editor. The editor opens for SpecificCustomerToGenericBrokerageAccount.
  3. Click the SpecificCustomerToGenericBrokerageAccount tab.
  4. Right-click the customerNumber label.
  5. From the pop-up menu, select Add Connection.
  6. Click the customerNumber label.
  7. Right-click the maximumTransactionAmount label.
  8. From the pop-up menu, select Add Connection.
  9. Click the transactionTradingLimit label.
  10. Right-click the cashBalance label.
  11. From the pop-up menu, select Add Connection.
  12. Click the balance label.
  13. Right-click the returnCode label.
  14. From the pop-up menu, select Add Connection.
  15. Click the dataValid label.
  16. Right-click the CustomerBO label.
  17. From the pop-up menu, select Add Connection.
  18. Click the BrokerageAccountBO label.
  19. Right-click 4 Move.
  20. From the pop-up menu, select Change Transform Type > Custom.
    *SpecificCustomerToGenericBrokerageAccount
  21. Switch to the Properties view. Click on the Details tab.
  22. Maximize the Properties view.
  23. Click the Standard... icon on the palette.
  24. Selectmath > equal to.
  25. Click OK.
  26. Click on the canvas to add the equal to activity.
  27. Add an expression to the first input terminal of the equal to activity. Type CustomerBO_returnCode.
  28. Add an expression to the second input terminal of the equal to activity. Type 0.
  29. Add an expression to the output terminal of the equal to activity. Type BrokerageAccountBO_dataValid.
  30. Click the Properties tab to restore the Properties view.
  31. Right-click 5 Submap.
  32. From the pop-up menu, select Change Transform Type > Custom.
  33. Switch to the Properties view. Click on the Details tab.
  34. Maximize the Properties view.
  35. Click the Standard... icon on the palette.
  36. Selectmath > equal to.
  37. Click OK.
  38. Click on the canvas to add the equal to activity.
  39. Add an expression to the first input terminal of the equal to activity. Type CustomerBO.returnCode.
  40. Add an expression to the second input terminal of the equal to activity. Type 0.
  41. Add an expression to the output terminal of the equal to activity. Type BrokerageAccountBO.dataValid.
  42. Add an expression to the bottom of the canvas. Type BrokerageAccountBO.dataValid && CustomerBO.numberOfStockSymbols > 0.
  43. type:int{http://www.w3.org/2001/XMLSchema}
  44. Click on the Choice palette button.
  45. Click on the bottom of the canvas to add the if true otherwise activity.
  46. Click the Standard... icon on the palette.
  47. Selectlogic > createStockPortfolio.
  48. Click OK.
  49. Click inside the if true canvas to add the createStockPortfolio activity.
  50. Add an expression to the first input terminal of the createStockPortfolio activity. Type CustomerBO.stockSymbols.
  51. Add an expression to the second input terminal of the createStockPortfolio activity. Type CustomerBO.quantityOfShares.
  52. Add an expression to the output terminal of the createStockPortfolio activity. Type stockPortfolio.
  53. Add an expression at the bottom the if true canvas. Type stockPortfolio.
  54. Add an expression to the exit terminal of the stockPortfolio expression. Type BrokerageAccountBO.stockPortfolio.
  55. Visual code placed in this area will be executed if the value of the input is true
  56. Right-click the output terminal of the BrokerageAccountBO.dataValid && CustomerBO.numberOfStockSymbols > 0 expression.
  57. From the pop-up menu select Add > Link Click on the input terminal of the if true otherwise activity.
  58. Restore the Properties view.
  59. From the menu, select File > Save (or press Ctrl+S).
  60. From the menu, select File > Close (or press Ctrl+F4).

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.