@ind-rcg/modeler-sfdx-cli-plugin 246.1046.0 → 246.1048.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/README.md +1 -1
  2. package/oclif.manifest.json +1 -1
  3. package/package.json +4 -4
  4. package/templates/contractTemplates/YourModule Section/BO/LO_ListObject/Lo${NAME}/Li${NAME}.listitem.xml +5 -0
  5. package/templates/contractTemplates/{LU_LookupObject/Lu${NAME}/Lu${NAME}.lookupobject.xml → YourModule Section/BO/LU_LookupObject/Lu${NAME}/Lu${NAME}.lookupobject.xml } +1 -1
  6. package/templates/contractTemplates/YourModule Section/BO/Methods_or_BusinessLogic/${REFERENCE_OBJECT}.${NAME}.bl.js +53 -0
  7. package/templates/contractTemplates/YourModule Section/BO/Methods_or_BusinessLogic/${REFERENCE_OBJECT}.${NAME}Async.bl.js +52 -0
  8. package/templates/contractTemplates/YourModule Section/BO/Methods_or_BusinessLogic/BusinessLogic.md +4 -0
  9. package/templates/contractTemplates/{DS_DataSource/DataSource.md → YourModule Section/DS/DS_DataSource/DataSource.md } +19 -1
  10. package/templates/contractTemplates/{DS_DataSource/Ds${NAME}_sf.datasource.xml → YourModule Section/DS/DS_DataSource/Ds${NAME}_sf.datasource.xml } +1 -0
  11. package/templates/contractTemplates/YourModule Section/PR/PR_Process_&_UI/_snippets/Process/ProcessCockpitCardSnipp.xml +56 -0
  12. package/templates/contractTemplates/YourModule Section/PR/PR_Process_&_UI/_snippets/UI/Cockpit/CockpitCardContainer.xml +83 -0
  13. package/templates/contractTemplates/{PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailGroupsSnipp.xml → YourModule Section/PR/PR_Process_&_UI/_snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailGroupsSnipp.xml } +1 -1
  14. package/templates/contractTemplates/{PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailListSnipp.xml → YourModule Section/PR/PR_Process_&_UI/_snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailListSnipp.xml } +2 -2
  15. package/templates/contractTemplates/{PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailTabsSnipp.xml → YourModule Section/PR/PR_Process_&_UI/_snippets/UI/Page/MasterDetail/Page_MasterDetail_WithDetailTabsSnipp.xml } +1 -1
  16. package/templates/contractTemplates/{PR_Process_&_UI/snippets/UI/Page/MasterDetail/Page_MasterDetail_WithExtendedDetailSnipp.xml → YourModule Section/PR/PR_Process_&_UI/_snippets/UI/Page/MasterDetail/Page_MasterDetail_WithExtendedDetailSnipp.xml } +1 -1
  17. package/templates/contractTemplates/{PR_Process_&_UI/snippets/UI/Page/SingleSection/Page_SingleSectionScreens_ListSnipp.xml → YourModule Section/PR/PR_Process_&_UI/_snippets/UI/Page/SingleSection/Page_SingleSectionScreens_ListSnipp.xml } +3 -1
  18. package/templates/templateDefinitions.json +8 -8
  19. package/templates/contractTemplates/LO_ListObject/Lo${NAME}/Li${NAME}.listitem.xml +0 -5
  20. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Bo${NAME}.businessobject.xml +0 -0
  21. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/CreateAsync/Bo${NAME}.AfterCreateAsync.bl.js +0 -0
  22. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/CreateAsync/Bo${NAME}.BeforeCreateAsync.bl.js +0 -0
  23. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/DoValidateAsync/Bo${NAME}.AfterDoValidateAsync.bl.js +0 -0
  24. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/DoValidateAsync/Bo${NAME}.BeforeDoValidateAsync.bl.js +0 -0
  25. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/Initialize/Bo${NAME}.AfterInitialize.bl.js +0 -0
  26. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/Initialize/Bo${NAME}.BeforeInitialize.bl.js +0 -0
  27. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/LoadAsync/Bo${NAME}.AfterLoadAsync.bl.js +0 -0
  28. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/LoadAsync/Bo${NAME}.BeforeLoadAsync.bl.js +0 -0
  29. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/SaveAsync/Bo${NAME}.AfterSaveAsync.bl.js +0 -0
  30. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/Bo${NAME}/Mv2/SaveAsync/Bo${NAME}.BeforeSaveAsync.bl.js +0 -0
  31. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobject/BusinessObject.md +0 -0
  32. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectListObjectsListObjectEventsSnipp.xml +0 -0
  33. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectListObjectsListObjectSnipp.xml +0 -0
  34. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectNestedObjectsNestedObjectSnipp.xml +0 -0
  35. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectObjectLookupsObjectLookupEventsSnipp.xml +0 -0
  36. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectObjectLookupsObjectLookupSnipp.xml +0 -0
  37. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectSimplePropertiesSimplePropertyEventsSnipp.xml +0 -0
  38. /package/templates/contractTemplates/{BO_BusinessObject/businessobject/snippets → YourModule Section/BO/BO_BusinessObject/businessobject/_snippets}/BusinessObjectSimplePropertiesSimplePropertySnipp.xml +0 -0
  39. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/businessobjecthelper/snippets/BusinessObjectHelperSimplePropertiesSimplePropertySnipp.xml +0 -0
  40. /package/templates/contractTemplates/{BO_BusinessObject → YourModule Section/BO/BO_BusinessObject}/validationmessages/ValidationMessage.md +0 -0
  41. /package/templates/contractTemplates/{BO_BusinessObject/validationmessages/snippets → YourModule Section/BO/BO_BusinessObject/validationmessages/_snippets}/ValidationMessagesValidationMessageSnipp.xml +0 -0
  42. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/ListItem.md +0 -0
  43. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/ListObject.md +0 -0
  44. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Lo${NAME}.listobject.xml +0 -0
  45. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Mv2/DoValidateAsync/Lo${NAME}.AfterDoValidateAsync.bl.js +0 -0
  46. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Mv2/DoValidateAsync/Lo${NAME}.BeforeDoValidateAsync.bl.js +0 -0
  47. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Mv2/LoadAsync/Lo${NAME}.AfterLoadAsync.bl.js +0 -0
  48. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Mv2/LoadAsync/Lo${NAME}.BeforeLoadAsync.bl.js +0 -0
  49. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Mv2/SaveAsync/Lo${NAME}.AfterSaveAsync.bl.js +0 -0
  50. /package/templates/contractTemplates/{LO_ListObject → YourModule Section/BO/LO_ListObject}/Lo${NAME}/Mv2/SaveAsync/Lo${NAME}.BeforeSaveAsync.bl.js +0 -0
  51. /package/templates/contractTemplates/{LO_ListObject/snippets → YourModule Section/BO/LO_ListObject/_snippets}/ListItemSimplePropertiesSimplepropertySnipp.xml +0 -0
  52. /package/templates/contractTemplates/{LU_LookupObject → YourModule Section/BO/LU_LookupObject}/Lu${NAME}/LookupObject.md +0 -0
  53. /package/templates/contractTemplates/{LU_LookupObject → YourModule Section/BO/LU_LookupObject}/Lu${NAME}/Mv2/LoadAsync/Lu${NAME}.AfterLoadAsync.bl.js +0 -0
  54. /package/templates/contractTemplates/{LU_LookupObject → YourModule Section/BO/LU_LookupObject}/Lu${NAME}/Mv2/LoadAsync/Lu${NAME}.BeforeLoadAsync.bl.js +0 -0
  55. /package/templates/contractTemplates/{LU_LookupObject/snippets → YourModule Section/BO/LU_LookupObject/_snippets}/LookupObjectSimplePropertiesSimplePropertySnipp.xml +0 -0
  56. /package/templates/contractTemplates/{DS_DataSource/snippets → YourModule Section/DS/DS_DataSource/_snippets}/DataSourceAttributesAttributeSnipp.xml +0 -0
  57. /package/templates/contractTemplates/{DS_DataSource/snippets → YourModule Section/DS/DS_DataSource/_snippets}/DataSourceAttributesDerivedAttributeSnipp.xml +0 -0
  58. /package/templates/contractTemplates/{DS_DataSource/snippets → YourModule Section/DS/DS_DataSource/_snippets}/DataSourceEntitiesEntityJoinSimpleJoinConditionAttributeSnipp.xml +0 -0
  59. /package/templates/contractTemplates/{DS_DataSource/snippets → YourModule Section/DS/DS_DataSource/_snippets}/DataSourceEntitiesEntityJoinSimpleJoinConditionLiteralSnipp.xml +0 -0
  60. /package/templates/contractTemplates/{DS_DataSource/snippets → YourModule Section/DS/DS_DataSource/_snippets}/DataSourceEntitiesEntitySnipp.xml +0 -0
  61. /package/templates/contractTemplates/{PL_PrintLayout → YourModule Section/PL/PL_PrintLayout}/#Name#PDF/#Name#PDF.printlayoutv2.xml +0 -0
  62. /package/templates/contractTemplates/{PR_Process_&_UI → YourModule Section/PR/PR_Process_&_UI}/#ModuleName#_#Name#/#ModuleName#_#Name#.userinterface.xml +0 -0
  63. /package/templates/contractTemplates/{PR_Process_&_UI → YourModule Section/PR/PR_Process_&_UI}/#ModuleName#_#Name#/#ModuleName#_#Name#Process.processflow.xml +0 -0
  64. /package/templates/contractTemplates/{PR_Process_&_UI → YourModule Section/PR/PR_Process_&_UI}/Process.md +0 -0
  65. /package/templates/contractTemplates/{PR_Process_&_UI → YourModule Section/PR/PR_Process_&_UI}/UserInterface.md +0 -0
  66. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionConfirmSnipp.xml +0 -0
  67. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionCreateSnipp.xml +0 -0
  68. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionDecisionSnipp.xml +0 -0
  69. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionEndSnipp.xml +0 -0
  70. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionLoadSnipp.xml +0 -0
  71. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionLogicSnipp.xml +0 -0
  72. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionMasterDetailSnipp.xml +0 -0
  73. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionNavigationSnipp.xml +0 -0
  74. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionPrintSnipp.xml +0 -0
  75. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionPrintV2Snipp.xml +0 -0
  76. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionProcessSnipp.xml +0 -0
  77. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionValidationSnipp.xml +0 -0
  78. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/Actions}/ProcessBodyActionsActionViewSnipp.xml +0 -0
  79. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/EntryActions}/ProcessEntryEntryActionsActionCreateSnipp.xml +0 -0
  80. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/EntryActions}/ProcessEntryEntryActionsActionLoadSnipp.xml +0 -0
  81. /package/templates/contractTemplates/{PR_Process_&_UI/snippets/Process → YourModule Section/PR/PR_Process_&_UI/_snippets/Process/EntryActions}/ProcessEntryEntryActionsActionLogicSnipp.xml +0 -0
  82. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Attachment/AttachmentFolderInfoSectionSnipp.xml +0 -0
  83. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Attachment/AttachmentFolderSnipp.xml +0 -0
  84. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Banner/BannerFilterSnipp.xml +0 -0
  85. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Banner/Banner_WithFilterSnipp.xml +0 -0
  86. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Banner/Banner_WithoutFilterSnipp.xml +0 -0
  87. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BindingList/BindingsList_DecisionsSnipp.xml +0 -0
  88. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BindingList/BindingsList_GroupsSnipp.xml +0 -0
  89. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BindingList/BindingsList_ResultsSnipp.xml +0 -0
  90. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlEventsSnipp.xml +0 -0
  91. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingAddItemSnipp.xml +0 -0
  92. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingCategoriesSnipp.xml +0 -0
  93. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlHierarchyBindingsBindingShowCategorySnipp.xml +0 -0
  94. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlHierarchyDataSourcesSnipp.xml +0 -0
  95. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingButtonSnipp.xml +0 -0
  96. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingComboSnipp.xml +0 -0
  97. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDateSnipp.xml +0 -0
  98. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDecimalSnipp.xml +0 -0
  99. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingDynamicSnipp.xml +0 -0
  100. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingImageSnipp.xml +0 -0
  101. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingStepperSnipp.xml +0 -0
  102. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingStepper_CorrelationIdSnipp.xml +0 -0
  103. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsBindingTextSnipp.xml +0 -0
  104. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsResourceImageSnipp.xml +0 -0
  105. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsBindingsResourceLabelSnipp.xml +0 -0
  106. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlItemsContextMenuSnipp.xml +0 -0
  107. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlSearchAttributesSnipp.xml +0 -0
  108. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/BreadCrumbControlSnipp.xml +0 -0
  109. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/BreadCrumbControl/MultiSelectionBreadCrumbControlSnipp.xml +0 -0
  110. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlEventsSnipp.xml +0 -0
  111. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlItemsBindingsBindingDateSnipp.xml +0 -0
  112. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlItemsBindingsBindingDecimalSnipp.xml +0 -0
  113. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlItemsBindingsBindingImageSnipp.xml +0 -0
  114. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlItemsBindingsBindingLabelSnipp.xml +0 -0
  115. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlItemsBindingsBindingTextSnipp.xml +0 -0
  116. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlSettingsSnipp.xml +0 -0
  117. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Calendar/CalendarControlSnipp.xml +0 -0
  118. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/CheckBox/CheckBoxEventsSnipp.xml +0 -0
  119. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/CheckBox/CheckBoxSnipp.xml +0 -0
  120. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Cockpit/CockpitSectionsSnipp.xml +0 -0
  121. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/DataImportWizard/DataImportWizardSnipp.xml +0 -0
  122. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/DatePicker/DatePickerFieldSnipp.xml +0 -0
  123. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/EmbededList/EmbeddedListSnipp.xml +0 -0
  124. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/EnhanceDecisionList/EnhancedDecisionListSnipp.xml +0 -0
  125. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/FastEntry/FastDataEntryGridSnipp.xml +0 -0
  126. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GoogleMaps/GoogleMapDetailsSnipp.xml +0 -0
  127. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GoogleMaps/GoogleMapSnipp.xml +0 -0
  128. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupElement/GroupElementSnipp.xml +0 -0
  129. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedButtonList/GroupedButtonListEventsSnipp.xml +0 -0
  130. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedButtonList/GroupedButtonListFooterSnipp.xml +0 -0
  131. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedButtonList/GroupedButtonListSnipp.xml +0 -0
  132. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedList/GroupedListEventsSnipp.xml +0 -0
  133. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedList/GroupedListSnipp.xml +0 -0
  134. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedList/MultiSelectionGroupedListEventsSnipp.xml +0 -0
  135. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/GroupedList/MultiSelectionGroupedListSnipp.xml +0 -0
  136. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/ImageButton/ImageButtonSnipp.xml +0 -0
  137. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/ImageSelector/ImageSelectorSnipp.xml +0 -0
  138. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/InputArea/InputAreaMultiLineSnipp.xml +0 -0
  139. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/InputArea/InputAreaSnipp.xml +0 -0
  140. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/ItemListLayout/ItemListLayout_ComplexSnipp.xml +0 -0
  141. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/ItemListLayout/ItemListLayout_GridSnipp.xml +0 -0
  142. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/ItemListLayout/ItemListLayout_TwoRowsSnipp.xml +0 -0
  143. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/LinkBar/LinkBarSnipp.xml +0 -0
  144. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Lookup/LookupEventSnipp.xml +0 -0
  145. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Lookup/LookupSnipp.xml +0 -0
  146. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaControl/MediaControlSnipp.xml +0 -0
  147. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaListControl/MediaListControlBindingsBindingDescriptionSnipp.xml +0 -0
  148. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaListControl/MediaListControlBindingsBindingIsTaggedSnipp.xml +0 -0
  149. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaListControl/MediaListControlBindingsBindingMediaPathSnipp.xml +0 -0
  150. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaListControl/MediaListControlBindingsBindingTypeSnipp.xml +0 -0
  151. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaListControl/MediaListControlEventsSnipp.xml +0 -0
  152. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/MediaListControl/MediaListControlSnipp.xml +0 -0
  153. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Menu/LongPressMenuSnipp.xml +0 -0
  154. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Menu/MenuItemSnipp.xml +0 -0
  155. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Merger/MergerOneInputControlTwoButtonsMaxSnipp.xml +0 -0
  156. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Merger/MergerTwoInputControlsCombinedSnipp.xml +0 -0
  157. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Merger/MergerTwoInputControlsNoneSnipp.xml +0 -0
  158. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Merger/MergerTwoInputControlsOwnSnipp.xml +0 -0
  159. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/NoDataMessageSnipp.xml +0 -0
  160. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Page/SingleSection/Page_SingleSectionScreens_GroupedElementsSnipp.xml +0 -0
  161. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Page/SingleSection/Page_SingleSectionScreens_TabSnipp.xml +0 -0
  162. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Page/SingleSection/Page_SingleSectionScreens_WizardSnipp.xml +0 -0
  163. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Page/SplitScreen/Page_SplitScreenSnipp.xml +0 -0
  164. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SelectionBox/SelectionBoxBindingSnipp.xml +0 -0
  165. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SelectionBox/SelectionBoxEventsSnipp.xml +0 -0
  166. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SelectionBox/SelectionBoxToggleSnipp.xml +0 -0
  167. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlBindingsBindingEditableParametersSnipp.xml +0 -0
  168. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlBindingsBindingEditableSnipp.xml +0 -0
  169. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlBindingsBindingVisibleParametersSnipp.xml +0 -0
  170. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlBindingsBindingVisibleSnipp.xml +0 -0
  171. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlEditabilityRolesSnipp.xml +0 -0
  172. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlSnipp.xml +0 -0
  173. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/SignatureControl/SignatureControlVisibilityRolesSnipp.xml +0 -0
  174. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/Stepper/StepperSnipp.xml +0 -0
  175. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/TextBar/TextBarSnipp.xml +0 -0
  176. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/ThemeSelection/ThemeSelectionSnipp.xml +0 -0
  177. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/TimePicker/TimePickerFieldSnipp.xml +0 -0
  178. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/UserWelcomeSnipp.xml +0 -0
  179. /package/templates/contractTemplates/{PR_Process_&_UI/snippets → YourModule Section/PR/PR_Process_&_UI/_snippets}/UI/VisitDetailsSnipp.xml +0 -0
  180. /package/templates/contractTemplates/{TB_Table → YourModule Section/TB/TB_Table}/#Name#_T.temptable.xml +0 -0
  181. /package/templates/contractTemplates/{TB_Table/snippets → YourModule Section/TB/TB_Table/_snippets}/#Name#.dbtable.xml +0 -0
  182. /package/templates/contractTemplates/{TB_Table/snippets → YourModule Section/TB/TB_Table/_snippets}/dbtable/DBTablecolumnscolumnSnipp.xml +0 -0
  183. /package/templates/contractTemplates/{TB_Table/snippets → YourModule Section/TB/TB_Table/_snippets}/dbtable/DBTableindexesindexSnipp.xml +0 -0
  184. /package/templates/contractTemplates/{TB_Table/snippets → YourModule Section/TB/TB_Table/_snippets}/temptable/TempTableColumnsColumnIsDeletedSnipp.xml +0 -0
  185. /package/templates/contractTemplates/{TB_Table/snippets → YourModule Section/TB/TB_Table/_snippets}/temptable/TempTableColumnsColumnSnipp.xml +0 -0
  186. /package/templates/contractTemplates/{TB_Table/snippets → YourModule Section/TB/TB_Table/_snippets}/temptable/TempTableindexesindexSnipp.xml +0 -0
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  modeler-sfdx-cli-plugin
2
2
  =======================
3
3
 
4
- This plugin is an enhancement of the sfdx cli and provide you features to customize the Consumer Goods Cloud Mobility application. This version will be the replacement for the Consumer Goods Mobile Modeler which was hosted on a Windows Server machine.
4
+ This plugin is an enhancement of the salesforce cli and provide you features to customize the Consumer Goods Cloud Mobility application. This version will be the replacement for the Consumer Goods Mobile Modeler which was hosted on a Windows Server machine.
5
5
 
6
6
  ## Getting Started
7
7
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "246.1046.0",
2
+ "version": "246.1048.0",
3
3
  "commands": {
4
4
  "modeler:workspace:add": {
5
5
  "id": "modeler:workspace:add",
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@ind-rcg/modeler-sfdx-cli-plugin",
3
3
  "displayName": "modeler-sfdx-cli-plugin",
4
- "version": "246.1046.0",
4
+ "version": "246.1048.0",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "description": "This plugin is an enhancement of the sfdx cli and provide you features to customize the Consumer Goods Cloud Mobility application. This version will be the replacement for the Consumer Goods Mobile Modeler which was hosted on a Windows Server machine.",
8
8
  "dependencies": {
9
9
  "@ind-rcg/backend": "246.1008.0",
10
10
  "@ind-rcg/framework": "246.1015.0",
11
- "@ind-rcg/generator": "246.1019.0",
11
+ "@ind-rcg/generator": "246.1021.0",
12
12
  "@oclif/core": "2.9.4",
13
13
  "@salesforce/core": "4.1.0",
14
14
  "@salesforce/sf-plugins-core": "3.1.3",
@@ -101,7 +101,7 @@
101
101
  "uglify": "uglifyjs-folder lib -e -x .js -o lib --log-level error"
102
102
  },
103
103
  "sfdx": {
104
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@ind-rcg/modeler-sfdx-cli-plugin/246.1046.0.crt",
105
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@ind-rcg/modeler-sfdx-cli-plugin/246.1046.0.sig"
104
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@ind-rcg/modeler-sfdx-cli-plugin/246.1048.0.crt",
105
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@ind-rcg/modeler-sfdx-cli-plugin/246.1048.0.sig"
106
106
  }
107
107
  }
@@ -0,0 +1,5 @@
1
+ <ListItem name="Li${NAME}">
2
+ <SimpleProperties>
3
+ <!-- You can use <workspaceRoot>/contractSnippets/YourModule Section/BO/LO_ListObject/snippets/ListItemSimplePropertiesSimplePropertySnipp.xml as template for your case -->
4
+ </SimpleProperties>
5
+ </ListItem>
@@ -2,7 +2,7 @@
2
2
  <!--In case lookup does not require datasource, let name of datasource property empty-->
3
3
  <DataSource name="${DATASOURCE_REFERENCE}" />
4
4
  <SimpleProperties>
5
- <!-- You can use LookupObjectSimplePropertiesSimplePropertySnipp.xml as template (workingFolder->templates->snippets->LU_LookupObject->snippets) for your case/-->
5
+ <!-- You can use LookupObjectSimplePropertiesSimplePropertySnipp.xml as template (workingFolder->contractSnippets->YourModule Section->BO->LU_LookupObject->snippets) for your case/-->
6
6
  </SimpleProperties>
7
7
  <Methods>
8
8
  <Method name="afterLoadAsync" />
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function ${METHOD_NAME}
29
+ * @this ${REFERENCE_OBJECT}
30
+ * @kind ${REFERENCE_OBJECT_BASE_TYPE}
31
+ * @namespace ${NAMESPACE}
32
+ */
33
+ function ${METHOD_NAME}(){
34
+ var me = this;
35
+ ///////////////////////////////////////////////////////////////////////////////////////////////
36
+ // //
37
+ // Add your customizing javaScript code below. //
38
+ // //
39
+ ///////////////////////////////////////////////////////////////////////////////////////////////
40
+
41
+
42
+
43
+
44
+
45
+
46
+ ///////////////////////////////////////////////////////////////////////////////////////////////
47
+ // //
48
+ // Add your customizing javaScript code above. //
49
+ // //
50
+ ///////////////////////////////////////////////////////////////////////////////////////////////
51
+
52
+
53
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ ///////////////////////////////////////////////////////////////////////////////////////////////
4
+ // IMPORTANT - DO NOT MODIFY AUTO-GENERATED CODE OR COMMENTS //
5
+ //Parts of this file are auto-generated and modifications to those sections will be //
6
+ //overwritten. You are allowed to modify: //
7
+ // - the tags in the jsDoc as described in the corresponding section //
8
+ // - the function name and its parameters //
9
+ // - the function body between the insertion ranges //
10
+ // "Add your customizing javaScript code below / above" //
11
+ // //
12
+ ///////////////////////////////////////////////////////////////////////////////////////////////
13
+
14
+ /**
15
+ * Use the following jsDoc tags to describe the BL function. Setting these tags will
16
+ * change the runtime behavior in the mobile app. The values specified in the tags determine
17
+ * the name of the contract file. The filename format is “@this . @function .bl.js”.
18
+ * For example, LoVisit.BeforeLoadAsync.bl.js
19
+ * -> function: Name of the businessLogic function.
20
+ * -> this: The LO, BO, or LU object that this function belongs to (and it is part of the filename).
21
+ * -> kind: Type of object this function belongs to. Most common value is "businessobject".
22
+ * -> async: If declared as async then the function should return a promise.
23
+ * -> param: List of parameters the function accepts. Make sure the parameters match the function signature.
24
+ * -> namespace: Use CORE or CUSTOM. If you are a Salesforce client or an implementation partner, always use CUSTOM to enable a seamless release upgrade.
25
+ * -> extends: Base class of the LO, BO, and LU objects that this function belongs to.
26
+ * -> maxRuntime: Maximum time this function is allowed to run, takes integer value in ms. If the max time is exceeded, error is logged.
27
+ * -> returns: Type and variable name in which the return value is stored.
28
+ * @function ${METHOD_NAME}
29
+ * @this ${REFERENCE_OBJECT}
30
+ * @kind ${REFERENCE_OBJECT_BASE_TYPE}
31
+ * @async
32
+ * @namespace ${NAMESPACE}
33
+ * @returns promise
34
+ */
35
+ function ${METHOD_NAME}(){
36
+ var me = this;
37
+ ///////////////////////////////////////////////////////////////////////////////////////////////
38
+ // //
39
+ // Add your customizing javaScript code below. //
40
+ // //
41
+ ///////////////////////////////////////////////////////////////////////////////////////////////
42
+
43
+ var promise=when.resolve();
44
+
45
+ ///////////////////////////////////////////////////////////////////////////////////////////////
46
+ // //
47
+ // Add your customizing javaScript code above. //
48
+ // //
49
+ ///////////////////////////////////////////////////////////////////////////////////////////////
50
+
51
+ return promise;
52
+ }
@@ -0,0 +1,4 @@
1
+ # Business Logic (BL) Contract Definition
2
+
3
+ ## Description
4
+ The Business Logic Contract specifies a Method used by any of the Business Objects (BO, LO, LU) in the Mobility Application.
@@ -1,5 +1,23 @@
1
1
  # DataSource (DS) Contract Definition
2
2
 
3
+ ## Table of Content
4
+ - [Description](#description)
5
+ - [Attribute Section](#attributes)
6
+ - [Standard Attribute](#attribute-most-common)
7
+ - [Derivied Attribute](#derivedattribute)
8
+ - [DateTime Attribute](#datetimeattribute)
9
+ - [PivotItems (rarely used)](#pivotitems)
10
+ - [Entity Section](#entities)
11
+ - [Join](#join)
12
+ - [SimpleJoin](#simplejoin-condition)
13
+ - [ComplexJoin](#complexjoin-condition)
14
+ - [QueryCondition Section](#querycondition)
15
+ - [OrderCriteria Section](#orderciteria)
16
+ - [GroupBy Section](#groupby)
17
+ - [Macros](#macros)
18
+ - [Framework Macros](#framework-macros)
19
+ - [Parameter Macros](#parameter-macros)
20
+
3
21
  ## Description
4
22
  DataSource Contracts are design time artifacts describing a common way for data access and manipulation of existing enterprise information system.
5
23
  The main goal of this document is to have a common understanding of the different elements that constitute a definition of a DataSource Contract.
@@ -217,7 +235,7 @@ Parameters are modeled and can be used in the JOIN and the QUERY Conditions to f
217
235
  |name|String|no|||
218
236
  |baseType|String|yes|Date, Time or DateTime||
219
237
  |type|String|yes|SQLite type (NULL, INTEGER, REAL, TEXT, LIST)||
220
- |treatAs|String|no|can be set to "sqlSnippet" to include the parameter directly into the statement (not as parameter)||
238
+ |treatAs|String|yes|can be set to "sqlSnippet" to include the parameter directly into the statement (not as parameter)||
221
239
 
222
240
  Type "LIST" is used for parameters used in "IN" conditions. All items of the list (Array or comma separated list in a string) must be the same type (string or numeric).
223
241
 
@@ -1,4 +1,5 @@
1
1
  <DataSource name="Ds${NAME}" backendSystem="sf" businessObjectClass="${REFERENCE_OBJECT}" external="false" editableEntity="" schemaVersion="2.0">
2
+ <!-- For more information about the supported properties and nodes see corresponding DataSource.md file under ~Workspace/contractSnippets/YourModuel Section/DS/DS_DataSource -->
2
3
  <Attributes>
3
4
  <Attribute name="" table="" column="" />
4
5
  </Attributes>
@@ -0,0 +1,56 @@
1
+ <!--
2
+ This snippet will help you to quickly add a new cockpit card to an existing cockpit. For the UI part see $WORKINGFOLDER/contractSnippets/YourModule Section/PR/PR_Process_&_UI/snippets/UI/CockpitCardContainer.xml
3
+ Add these parts into your existing Process contract of your UI you will enhance for a new Cockpit Card
4
+
5
+ The parts with ${YOUR.....} needs to be replaced by your names you will use. The name of the card is configured in the UI contract in property "name" of the corresponding CardContainer
6
+ eg. "${YOUR_CARDNANE}_DataLoaded" -> "CardDisplay_DataLoaded"
7
+ -->
8
+
9
+ <!-- Declarations Section (Process->Entry->ProcessContext->Declarations -->
10
+ <!-- vvvvvvvvvvvvvvv start section to copy (incl. the comment tags) vvvvvvvvvvvvvv -->
11
+
12
+ <!-- Card: <YOUR CARDNAME> -->
13
+ <Declaration name="${YOUR_CARDNANE}_DataLoaded" type="DomBool"/>
14
+ <Declaration name="${YOUR_CARDNANE}_SubComponentName" type="String"/>
15
+ <Declaration name="${YOUR_CARDNAME}_DisplayList" type="<YOUR_LO_YOU_WILL_USE_TO_DISPLAY>"/>
16
+
17
+ <!-- ^^^^^^^^^^^^^^^ end section to copy ^^^^^^^^^^^^^^ -->
18
+
19
+ #############################################################################################################
20
+
21
+ <!-- Declarations Section (Process->Body->Actions->Action (name="ShowCockpit")->Events -->
22
+ <!-- vvvvvvvvvvvvvvv start section to copy (incl. the comment tags) vvvvvvvvvvvvvv -->
23
+
24
+ <!-- Card: Display -->
25
+ <Event name="${YOUR_CARDNANE}_loadData" action="${YOUR_CARDNANE}_loadData" />
26
+
27
+ <!-- ^^^^^^^^^^^^^^^ end section to copy ^^^^^^^^^^^^^^ -->
28
+
29
+ #############################################################################################################
30
+
31
+ <!-- Declarations Section (Process->Body->Actions -->
32
+ <!-- vvvvvvvvvvvvvvv start section to copy (incl. the comment tags) vvvvvvvvvvvvvv -->
33
+
34
+ <!-- Card: Display START-->
35
+ <Action name="${YOUR_CARDNANE}_loadData" actionType="LOAD" type="LoMyDisplays" >
36
+ <Return name="ProcessContext::${YOUR_CARDNANE}_DisplayList" />
37
+ <TransitionTo action="${YOUR_CARDNANE}_setSubcomponentName"/>
38
+ </Action>
39
+ <Action name="${YOUR_CARDNANE}_setSubcomponentName" actionType="LOGIC" call="ProcessContext::CardController.getDisplayedSubcomponentName">
40
+ <Parameters>
41
+ <Input name="loItems" value="ProcessContext::${YOUR_CARDNANE}_DisplayList"/>
42
+ <Input name="type" value="Display" type="Literal" />
43
+ </Parameters>
44
+ <Return name="ProcessContext::${YOUR_CARDNANE}_SubComponentName" />
45
+ <TransitionTo action="${YOUR_CARDNANE}_setDataLoaded"/>
46
+ </Action>
47
+ <Action name="${YOUR_CARDNANE}_setDataLoaded" actionType="LOGIC" call="Utils.identity">
48
+ <Parameters>
49
+ <Input name="value" value="1" type="Literal" />
50
+ </Parameters>
51
+ <Return name="ProcessContext::${YOUR_CARDNANE}_DataLoaded" />
52
+ </Action>
53
+ <!-- Card: Display END-->
54
+
55
+ <!-- ^^^^^^^^^^^^^^^ end section to copy ^^^^^^^^^^^^^^ -->
56
+
@@ -0,0 +1,83 @@
1
+ <!--To add a new card to a dashboard some steps are neccessary
2
+ 1. Adapt the UI and add the section for your card
3
+ 1.1
4
+ 2. Adapt the corresponding Process contract of your UI card
5
+ 2.1 Declare a varialbe to store the information if card data are loaded
6
+ 2.2 Declare a variable to store the information for the SubComponent name. Text which is displayed in case there are no data found
7
+ 3. Maintain utils class we reuse from several places to identify is a card should be visible or collapsible. You can use your own function or you adjust the available helper business object
8
+ 3.1 modify the isCollapsible function
9
+ 3.2 modify the isVisisble function
10
+ 3.3 to store the values for isCollapsible and isVisible you need to create two simple properties to host the current value
11
+ -->
12
+ <CardContainer name="${NAME}">
13
+ <Bindings>
14
+ <!-- Title and counter -->
15
+ <Resource target="Title" type="Label" id="${NAME}Title" defaultLabel="<YOUR DEFAULT LABEL IN CASE No LOCALE ENTRY>" />
16
+ <Resource target="Information" type="Label" id="${NAME}Info" defaultLabel="<YOUR DEFAULT LABLE IN CASE No LOCALE ENTRY>" />
17
+ <!-- Data loaded flag (by setting this card gets rendered) -->
18
+ <Binding target="IsReadyToLoad" type="Text" binding="ProcessContext::${NAME}_DataLoaded>" bindingMode="ONE_WAY" />
19
+ <!-- Defines id card is visible or hidden. ProcessContext::CardController is an instance of object BoSalesCockpitHelper which host some convenience function we can reuse -->
20
+ <!-- As default of this function is false we comment out this section. When the section is not there or commented out it is visible -->
21
+ <!--
22
+ <Binding type="Visible" target="Visible" call="ProcessContext::CardController.isCardVisible" />
23
+ <Parameters>
24
+ <Input name="cardName" type="Literal" value="${NAME}" />
25
+ </Parameters>
26
+ -->
27
+ <!-- Defines id card is collapsible. ProcessContext::CardController is an instance of object BoSalesCockpitHelper which host some convenience function we can reuse
28
+ The isCardCollapsible functions need to be adapted and a new simple property collpaseState_${NAME} (e.g. collapseState_CardDisplay ) has to be defined to persist the current status -->
29
+ <Binding type="Text" target="IsCollapsible" call="ProcessContext::CardController.isCardCollapsible>" bindingMode="ONE_WAY">
30
+ <Parameters>
31
+ <Input name="cardName" type="Literal" value="${NAME}" />
32
+ </Parameters>
33
+ </Binding>
34
+ <!-- Defines this card is maximizable. ProcessContext::CardController is an instance of object BoSalesCockpitHelper which host some convenience function we can reuse -->
35
+ <Binding type="Text" target="ShowMaximizeButton" call="ProcessContext::CardController.isCardMaximizable">
36
+ <Parameters>
37
+ <Input name="cardName" type="Literal" value="${NAME}" />
38
+ </Parameters>
39
+ </Binding>
40
+ <!-- This is a binding to a simple property out of the BoSalesCockpitHelper to store the information if card was collapsed or not -->
41
+ <Binding target="CollapseState" type="Text" binding="ProcessContext::CardController.collapseState_CardDisplay" bindingMode="TWO_WAY" />
42
+ <!-- Subcomponent (e.g. used for no data message) -->
43
+ <Binding target="DisplayedSubcomponentName" type="Text" binding="ProcessContext::${NAME}_SubComponentName" bindingMode="ONE_WAY" />
44
+ </Bindings>
45
+ <VisibilityRoles allRoles="true" />
46
+ <Events>
47
+ <LoadContainerData event="${NAME}_loadData" />
48
+ </Events>
49
+ <!-- No Data Message Subcomponent. We reuse an existing UIplugin and only handover the information-->
50
+ <NoDataMessage name="CardNoDataMessageUiPlugin">
51
+ <Bindings>
52
+ <Resource target="maintext" type="Label" id="${NAME}NoDataMainText" defaultLabel="No data available, " />
53
+ <Resource target="subtext" type="Label" id="${NAME}NoDataSubText" defaultLabel="relax and enjoy the sun!" />
54
+ <Resource target="infoIcon" type="Image" id="Done" />
55
+ </Bindings>
56
+ </NoDataMessage>
57
+ <CockpitList name="Display" hasBorder="false" dataSource="ProcessContext::${NAME}_DisplayList.Items[]">
58
+ <Items name="Items" itemPattern="${NAME}Items">
59
+ <ItemListLayout>
60
+ <Tablet>
61
+ <Default>
62
+ <Col flex="1">
63
+ <Row layoutType="itemIdentifierCockpit" bindingId="Row_Name" />
64
+ <Row layoutType="itemSecondaryCockpit" bindingId="Row_Description" />
65
+ </Col>
66
+ </Default>
67
+ </Tablet>
68
+ <Phone>
69
+ <Default>
70
+ <Col flex="1">
71
+ <Row layoutType="itemIdentifierCockpit" bindingId="Name" />
72
+ </Col>
73
+ </Default>
74
+ </Phone>
75
+ </ItemListLayout>
76
+ <Bindings>
77
+ <!-- bindings in list are referenced with a leading dot (.) in front of the name. eg. .description -->
78
+ <Binding target="Row_Name" type="Text" binding=".<YOUR BINDING TO THE SimpleProperty OF THE ListItem OF THE DATASOURCE SPECIFIED ABOVE AS ATTRIBUTE OF CickpitList NODE>" bindingMode="ONE_WAY" />
79
+ <Binding target="Row_Description" type="Text" binding=".<YOUR BINDING TO THE SimpleProperty OF THE ListItem OF THE DATASOURCE SPECIFIED ABOVE AS ATTRIBUTE OF CickpitList NODE>" bindingMode="ONE_WAY" />
80
+ </Bindings>
81
+ </Items>
82
+ </CockpitList>
83
+ </CardContainer>
@@ -9,7 +9,7 @@
9
9
  <GroupedList name="MasterList" searchable="${#searchable#}" groupBy="${#groupBy#}" sortBy="${#sortBy#}" master="true" dataSource="${#dataSource#}" direction="${#direction#}" indexBar="${#indexBar#}" swipe="${#swipe#}" hasBorder="${#hasBorder#}" onItemDisclosure="${#onItemDisclosure#}">
10
10
  <Items name="Items" itemPattern="${#itemPattern#}">
11
11
  <!--
12
- ItemListLayout Node is required. Please press CTRL-Space to select an appropriate snippet
12
+ ItemListLayout Node is required.
13
13
  <ItemListLayout></ItemListLayout>
14
14
  -->
15
15
  <Bindings>
@@ -9,7 +9,7 @@
9
9
  <GroupedList name="MasterList" searchable="${#searchable#}" groupBy="${#groupBy#}" sortBy="${#sortBy#}" master="true" dataSource="${#dataSource#}" direction="${#direction#}" indexBar="${#indexBar#}" swipe="${#swipe#}" hasBorder="${#hasBorder#}" onItemDisclosure="${#onItemDisclosure#}">
10
10
  <Items name="Items" itemPattern="${#itemPattern#}">
11
11
  <!--
12
- ItemListLayout Node is required. Please press CTRL-Space to select an appropriate snippet
12
+ ItemListLayout Node is required.
13
13
  <ItemListLayout></ItemListLayout>
14
14
  -->
15
15
  <Bindings>
@@ -31,7 +31,7 @@
31
31
  <GroupedList name="${#name1#}" searchable="${#searchable1#}" groupBy="${#groupBy1#}" sortBy="${#sortBy1#}" dataSource="${#dataSource1#}" direction="${#direction1#}" indexBar="${#indexBar1#}" swipe="${#swipe1#}" hasBorder="${#hasBorder1#}" onItemDisclosure="${#onItemDisclosure1#}" >
32
32
  <Items name="Items">
33
33
  <!--
34
- ItemListLayout Node is required. Please press CTRL-Space to select an appropriate snippet
34
+ ItemListLayout Node is required.
35
35
  <ItemListLayout></ItemListLayout>
36
36
  -->
37
37
  <Bindings>
@@ -12,7 +12,7 @@
12
12
  <GroupedList name="MasterList" searchable="${#searchable#}" groupBy="${#groupBy#}" sortBy="${#sortBy#}" master="true" dataSource="${#dataSource#}" direction="${#direction#}" indexBar="${#indexBar#}" swipe="${#swipe#}" hasBorder="${#hasBorder#}" onItemDisclosure="${#onItemDisclosure#}">
13
13
  <Items name="Items" itemPattern="${#itemPattern#}">
14
14
  <!--
15
- ItemListLayout Node is required. Please press CTRL-Space to select an appropriate snippet
15
+ ItemListLayout Node is required.
16
16
  <ItemListLayout></ItemListLayout>
17
17
  -->
18
18
  <Bindings>
@@ -9,7 +9,7 @@
9
9
  <GroupedList name="MasterList" searchable="${#searchable#}" groupBy="${#groupBy#}" sortBy="${#sortBy#}" master="true" dataSource="${#dataSource#}" direction="${#direction#}" indexBar="${#indexBar#}" swipe="${#swipe#}" hasBorder="${#hasBorder#}" onItemDisclosure="${#onItemDisclosure#}">
10
10
  <Items name="Items" itemPattern="${#itemPattern#}">
11
11
  <!--
12
- ItemListLayout Node is required. Please press CTRL-Space to select an appropriate snippet
12
+ ItemListLayout Node is required.
13
13
  <ItemListLayout></ItemListLayout>
14
14
  -->
15
15
  <Bindings>
@@ -23,7 +23,9 @@
23
23
  <Area areaName="mainArea" areaPattern="SingleElementArea">
24
24
  <GroupedList name="MasterList" searchable="${#searchable#}" groupBy="${#groupBy#}" sortBy="${#sortBy#}" master="true" dataSource="${#dataSource#}" direction="${#direction#}" indexBar="${#indexBar#}" swipe="${#swipe#}" hasBorder="${#hasBorder#}" onItemDisclosure="${#onItemDisclosure#}">
25
25
  <Items name="Items" itemPattern="${#itemPattern#}">
26
- <!-- ItemListLayout Node is required. Please press CTRL-Space to select an appropriate snippet<ItemListLayout></ItemListLayout>-->
26
+ <!-- ItemListLayout Node is required.
27
+ <ItemListLayout></ItemListLayout>
28
+ -->
27
29
  <Bindings>
28
30
  <Binding target="${#target#}" type="Text" binding="${#binding#}" bindingMode="ONE_WAY" />
29
31
  </Bindings>
@@ -48,7 +48,7 @@
48
48
  "resources": [
49
49
  {
50
50
  "type": "tree",
51
- "source": "BO_BusinessObject/businessobject/Bo${NAME}",
51
+ "source": "YourModule Section/BO/BO_BusinessObject/businessobject/Bo${NAME}",
52
52
  "target": "${MODULE}/BO/${FULL_NAME}"
53
53
  }
54
54
  ],
@@ -82,7 +82,7 @@
82
82
  "resources": [
83
83
  {
84
84
  "type": "tree",
85
- "source": "LO_Listobject/Lo${NAME}",
85
+ "source": "YourModule Section/BO/LO_Listobject/Lo${NAME}",
86
86
  "target": "${MODULE}/BO/${FULL_NAME}"
87
87
  }
88
88
  ],
@@ -116,7 +116,7 @@
116
116
  "resources": [
117
117
  {
118
118
  "type": "tree",
119
- "source": "LU_LookupObject/Lu${NAME}",
119
+ "source": "YourModule Section/BO/LU_LookupObject/Lu${NAME}",
120
120
  "target": "${MODULE}/BO/${FULL_NAME}"
121
121
  }
122
122
  ],
@@ -157,7 +157,7 @@
157
157
  },
158
158
  {
159
159
  "type": "file",
160
- "source": "DS_DataSource/Ds${NAME}_sf.datasource.xml",
160
+ "source": "YourModule Section/DS/DS_DataSource/Ds${NAME}_sf.datasource.xml",
161
161
  "target": "${MODULE}/DS/${FULL_NAME}_sf.datasource.xml"
162
162
  }
163
163
  ]
@@ -196,7 +196,7 @@
196
196
  "FULL_NAME": "${REFERENCE_OBJECT}.${METHOD_FILE_NAME}",
197
197
  "MV": {
198
198
  "fn" : "getReferenceObjectMethodFolder",
199
- "args" : ["${TYPE}", "${REFERENCE_OBJECT}"]
199
+ "args" : ["${MODULE}", "${REFERENCE_OBJECT}"]
200
200
  },
201
201
  "REFERENCE_OBJECT_BASE_TYPE": {
202
202
  "fn" : "getReferenceObjectBaseType",
@@ -210,7 +210,7 @@
210
210
  },
211
211
  {
212
212
  "type": "file",
213
- "source": "BL_BusinessLogic/${REFERENCE_OBJECT}.${NAME}.bl.js",
213
+ "source": "YourModule Section/BO/Methods_or_BusinessLogic/${REFERENCE_OBJECT}.${NAME}.bl.js",
214
214
  "target": "${MODULE}/BO/${REFERENCE_OBJECT}/${MV}/${FULL_NAME}.bl.js"
215
215
  },
216
216
  {
@@ -253,7 +253,7 @@
253
253
  "FULL_NAME": "${REFERENCE_OBJECT}.${METHOD_FILE_NAME}",
254
254
  "MV": {
255
255
  "fn" : "getReferenceObjectMethodFolder",
256
- "args" : ["${TYPE}", "${REFERENCE_OBJECT}"]
256
+ "args" : ["${MODULE}", "${REFERENCE_OBJECT}"]
257
257
  },
258
258
  "REFERENCE_OBJECT_BASE_TYPE": {
259
259
  "fn" : "getReferenceObjectBaseType",
@@ -267,7 +267,7 @@
267
267
  },
268
268
  {
269
269
  "type": "file",
270
- "source": "BL_BusinessLogic/${REFERENCE_OBJECT}.${NAME}Async.bl.js",
270
+ "source": "YourModule Section/BO/Methods_or_BusinessLogic/${REFERENCE_OBJECT}.${NAME}Async.bl.js",
271
271
  "target": "${MODULE}/BO/${REFERENCE_OBJECT}/${MV}/${FULL_NAME}.bl.js"
272
272
  },
273
273
  {
@@ -1,5 +0,0 @@
1
- <ListItem name="Li${NAME}">
2
- <SimpleProperties>
3
- <!-- You can use <workspaceRoot>/contractSnippets/LO_ListObject/snippets/ListItemSimplePropertiesSimplePropertySnipp.xml as template for your case -->
4
- </SimpleProperties>
5
- </ListItem>