Article ID: 129036, created on Jun 27, 2016, last review on Jul 10, 2016

  • Applies to:
  • Business Automation 6.0

Question

We would like to hide buttons (e.g. "Add New Order Item", "Add New Order Item on destroy service" and other) from Account -> Financial Documents -> Orders History -> ORDER_ID -> Order Item tab in Reseller's Control Panel.

How can this be achieved?

Answer

The desired functionality can be achieved by using a customization file /usr/local/bm/customization/OItem_OItemOrderDocSalesOrder_List.xml with the following content:

<!-- Note: This file is auto-generated by 'casecomp' utility. -->
<window defs="BM:AHRC" type="table" id="OItem_OItemOrderDocSalesOrder_List" wid="01.11.96" header="Order Item">
  <layout> <!-- This section defines position and other options of the controls on the screen -->
    <grid id="upper buttons" class="controlsLayout" visibility="no" BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <!-- This is a grid which displays upper line of buttons -->
      <row id="upper buttons">
        <cell class="miscButtons">" " __addOItem" " __addOItemBillRecurring" " __addOItemCancel" " __addOItemChangePlanPeriod" " __addOItemCreate" " __addOItemDestroyService" " __addOItemRenew" " __addOItemStopService" " __addOItemTransfer" " __addOItemUpgrade" " __addOTFItem" "</cell>
        <cell class="mainButtons">" " MoveToArc" "</cell>
      </row>
    </grid>
  </layout>
</window>

The instructions on how to apply the customization can be found in then following article (the content of the file is listed above).

Search Words

OItem_OItemOrderDocSalesOrder_List

Add New Order Item on destroy service

Order Item

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF