Add field to Products and Services Purchased subpanel

Is it possible to edit the subpanel ‘Products and Services Purchased’? This is a very useful subpanel already, but it would be perfect for us if it displayed a custom field from Quotes. In quotes we have a Logistic Status field, where the logistics department set status related to shipment and delivery, so when sales are looking at an account and they list the purchased products, they would know if the product was successfully delivered.

This subpanel is based on Query. You can check the definition at /modules/Accounts/metadata/subpaneldefs.php

‘products_services_purchased’ => array(
‘order’ => 104,
‘module’ => ‘AOS_Products_Quotes’,
‘subpanel_name’ => ‘ForAccounts’,
‘get_subpanel_data’ => ‘function:getProductsServicesPurchasedQuery’,
‘title_key’ => ‘LBL_PRODUCTS_SERVICES_PURCHASED_SUBPANEL_TITLE’,
),

here the function being called is defined at

modules/Accounts/Account.php

so you can modify the getProductsServicesPurchasedQuery function in NON-UPGRADE way to get the field you need and the show that field in the Subpanel columns at modules/AOS_Products_Quotes/metadata/subpanels/ForAccounts.php