1- Adding a custom field to Product Module called Free of Charge (for example 5 paid,1 free)
In the modules : Invoice , Sales Order ;
when a quantity is entered for each product , automatically calculate the free quantity and show it in the newly added field in "item details" for each product.
2- we have 3 different kinds of organizations on our organization list one being the "Eczane" (defined by the custom picklist "Org Tipi").we also have a custom picklist called "Aktif olarak calisilacak?" with the values yes and no.
when creating a new sales order when you click on the select account(organization) button, vtiger brings all the records that belongs to that user. We want it to bring only the accounts that have the value "yes" and "Eczane" order by the name.