【问题标题】:Why no BCC UI for inventory management in ATG?为什么 ATG 中没有用于库存管理的 BCC UI?
【发布时间】:2015-06-17 14:18:38
【问题描述】:

据我了解,SKU 的库存应由业务用户维护。但是,我在密件抄送中看不到选项(UI)。我的理解错了吗?如果不是,Oracle/ATG 推荐业务用户维护库存管理的策略是什么?为什么没有为业务用户提供相同的 UI?背后的原因是什么?

【问题讨论】:

    标签: user-interface inventory atg bcc acc


    【解决方案1】:

    但默认库存管理是通过 dyn/admin 完成的。 即使我不知道,ACC 和 dyn/admin 也是 ATG 的遗留模块。所以可能是当 BCC 出现时,他们只是按原样保留库存。如果你看到即使 ACC 也能做 BCC 所做的几乎所有事情。事实上,它还为 ATG 额外配置了场景。所以我只能说这一切背后可能有一个原因。事实上,他们(甲骨文)是市场领导者。 在http://hostname:8080/dyn/admin 去商务管理->库存管理。或者只是http://hostname:8080/dyn/admin/atg/commerce/admin/inventory/index.jhtml 假设 8080 是发布端口。您也可以在生产服务器中查看库存。 此页面允许管理员查看库存查询操作的结果,操作每个项目的各种属性,并通知系统库存更新。开箱即用的界面允许管理员设置、增加或减少库存中任何项目的 stockLevel、backorderLevel 和 preorderLevel。此页面还允许管理员为每个项目设置 stockThreshold、backorderThreshold、preorderThreshold、availabilityStatus 和 availabilityDate。通过下面描述的 servlet bean 的属性文件配置更新的清单。

    但老实说,我们可以通过执行以下操作来覆盖此行为。

    您可以通过执行以下更改将库存存储库添加为密件抄送中的单独选项卡,如下所示。

    config/atg/remote/controlcenter/service/ApplicationConfigurationManager.properties (OOTB)
    
    applicationFiles+=/com/remote/controlcenter/service/inventory.xml
    

    config/com/remote/controlcenter/service/inventory.xml(自定义)

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE application-configuration
    PUBLIC "-//Art Technology Group, Inc.//DTD BCC Application Configuration //EN"
    "http://www.atg.com/dtds/application-configuration/application-configuration_1.0.dtd">
    <applications>
         <application id="editInventory">
              <resource-bundle>com.webui.WebAppResources</resource-bundle>
              <display-name-resource>editInventory.displayName</display-name-resource>
              <destination-page>
                   <url>/AssetManager/assetManager.jsp</url>
                   <query-parameter key="project" value="-1" />
                   <query-parameter key="activity" value="editInventory" />
              </destination-page>
              <acl>Profile$role$epubAdmin:read;Profile$role$epubSuperAdmin:read;Profile$role$epubManager:read;Profile$role$epubUser:read</acl>
              <initializer>
              </initializer>
              <sort-priority>30</sort-priority>
              <category>yourProjectExtras</category>
         </application>
    </applications>
    

    config/atg/web/assetmanager/configuration/taskConfiguration.xm (OOTB)

    <?xml version="1.0" encoding="ISO-8859-1" ?>
    
    <!DOCTYPE task-configuration
    PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Task Configuration//EN"
    'http://www.atg.com/dtds/web/assetmanager/taskConfiguration_1.0.dtd'>
    <task-configuration>
         <!-- Define an activity for editing the inventory repository -->
         <activity id="editInventory" inherit-from="assetManager.defaultEdit">
              <activity-name>editInventory</activity-name>
              <!-- Configure the buttons on the toolbar -->
              <operations>
                   <operation>create</operation>
                   <operation>delete</operation>
              </operations>
              <!-- Define tabs for the left pane -->
              <tabs>
                   <tab-order>
                        <tab-id>browse</tab-id>
                        <tab-id>search</tab-id>
                   </tab-order>
                   <initial-tab>browse</initial-tab>
                   <!-- Configure the Browse tab with a list view of inventory items -->
                   <tab id="browse">
                        <display-name-resource>assetManager.tab.browse</display-name-resource>
                        <page>/browse/browseTab.jsp</page>
                        <views>
                             <view-order>
                                  <view-id>editInventory.inventory</view-id>
                             </view-order>
                             <initial-view>editInventory.inventory</initial-view>
                             <view id="editInventory.inventory">
                                  <resource-bundle>com.webui.WebAppResources</resource-bundle>
                                  <display-name-resource>editInventory.browseTab.view.inventory</display-name-resource>
                                  <configuration>/com/web/assetmanager/InventoryViewConfiguration</configuration>
                                  <page>/browse/list.jsp</page>
                             </view>
                        </views>
                   </tab>
                   <!-- Configure the Search tab to allow searching for inventory items -->
                   <tab id="search">
                        <display-name-resource>assetManager.tab.search</display-name-resource>
                        <page>/search/searchTab.jsp</page>
                        <views>
                             <initial-view>form</initial-view>
                             <view id="form">
                                  <page>/search/searchForm.jsp</page>
                                  <item-types>
                                       <item-type>/atg/commerce/inventory/InventoryRepository:inventory</item-type>
                                  </item-types>
                             </view>
                             <view id="results">
                                  <page>/search/searchResults.jsp</page>
                             </view>
                        </views>
                   </tab>
              </tabs>
         </activity>
    </task-configuration>
    

    config/com/web/assetmanager/InventoryViewConfiguration.properties(自定义)

    $class=atg.web.assetmanager.configuration.FilterableBrowseListViewConfiguration
    
    # The path to the repository from which to draw the items
    repositoryPath=/atg/commerce/inventory/InventoryRepository
    
    # The type of items to display
    assetTypeName=inventory
    
    # Types the user is allowed to create in this view
    createableTypesList=inventory
    
    # Number of items to show per page
    itemsPerPage=50
    

    /config/atg/bizui/activity/ActivityManager.properties (OOTB)

    activitySources+=/com/activity/ActivitySource
    

    config/com/activity/ActivitySource.properties(自定义)

    $class=atg.bizui.activity.PortalActivitySource
    
    # The name and description for the entry that appears on the left side of the home page.
    activitySourceResourceBundle=com.webui.WebAppResources
    activitySourceNameResource=activitySourceName
    activitySourceDescriptionResource=activitySourceDescription
    
    # Generic activity definitions
    genericActivityDefinitionFiles=/com/activity/genericActivities.xml
    genericActivityFileModificationInterval=every 300 seconds
    
    securityConfiguration=/atg/dynamo/security/SecurityConfiguration
    XMLToolsFactory=/atg/dynamo/service/xml/XMLToolsFactory
    scheduler=/atg/dynamo/service/Scheduler
    
    #defaultCreateWorkflowURL=/atg/bcc/process
    defaultCreateWorkflowURL=/atg/bcc/process?successURL=/AssetManager/assetManager.jsp
    
    # Default URL for the main project page.
    defaultProcessURL^=/atg/bizui/activity/PublishingActivitySource.defaultProcessURL
    
    # Default URL for the workflow task page. All tasks use the AssetManager UI.
    defaultTaskURL=/AssetManager/assetManager.jsp
    fallbackPriority=2
    

    /config/com/activity/genericActivities.xml(自定义)

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE gsa-template
    PUBLIC "-//Art Technology Group, Inc.//DTD General SQL Adapter//EN"
    "http://www.atg.com/dtds/activitymanager/activitymanager_1.0.dtd">
    <generic-activities>
         <!-- Add a link named "Edit Inventory" -->
         <activity>
              <id>editInventory</id>
              <resource-bundle>com.webui.WebAppResources</resource-bundle>
              <display-name-resource>editInventory.displayName</display-name-resource>
              <description-resource>editInventory.description</description-resource>
              <destination-page>
                   <!-- This link takes the user to the AssetManager UI -->
                   <url>/AssetManager/assetManager.jsp</url>
                   <!-- The clear-context flag clears any active Content Administration project references out of the user's session. -->
                   <clear-context>true</clear-context>
                   <!-- The ACL is optional. This ACL limits the visibility of this link to people with any of the epub roles. -->
                   <acl>Profile$role$epubAdmin:read;Profile$role$epubSuperAdmin:read;Profile$role$epubManager:read;Profile$role$epubUser:read</acl>
              </destination-page>
         </activity>
    </generic-activities>
    

    如果发布服务器已经在运行,请重新启动它。

    来源https://community.oracle.com/thread/2354883

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-06
      • 2020-01-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多