Hi,
is there a ‘Bean’ to manipulate the product lines (aos_products_quotes ) ?
Thanks
pgr
21 February 2020 16:55
2
This should lead you to the right places
<?php
/*
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2018 SalesAgility Ltd.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
This file has been truncated. show original
AlxGr
21 February 2020 18:55
3
Short answer AOS_Products_Quotes that is the actual line item you add to invoices and quotes.
Now on there is also AOS_Line_Item_Groups and is the one that is represented as Groups on the invoice/quote view
thanks,
AlxGr
1 Like
Thank you all,
I’ve tried using the following code and I can see that it works:
$righeBean=BeanFactory::getBean(‘AOS_Products_Quotes’);
Having the bean then I was able to get all the necessary data
1 Like