Attention! This event is deprecated
An event is triggered to allow PowerSync product to customize 'Sales Order Status' form in Magentoafter sending line item in service Salesforce.
Code Block | ||||
---|---|---|---|---|
| ||||
Mage::dispatchEvent('tnw_salesforce_opportunity_line_item_send_after', array('data' => $_data, 'result' => $_result)); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?php /** * Class TNW_Salesforce_Model_Observer */ class TNW_Salesforce_Model_Observer { public function opportunityLineItemSendAfter(Varien_Event_Observer $observer) { /** * Array of Salesforce objects * @var array $_data */ $_data = $observer->getData('data'); /** * Array of Results * @var array $_result */ $_result = $observer->getData('result'); // Your custom code } } |
...