dolibarr 21.0.0-alpha
|
This is the complete list of members for ProductService, including all inherited members.
$origin_object | CommonObject | |
$stock_warehouse | Product | |
$table_ref_field | Product | protected |
__clone() | CommonObject | |
__construct($db) | Product | |
_get_stats($sql, $mode, $year=0) | Product | private |
_log_price($user, $level=0) | Product | private |
add_contact($fk_socpeople, $type_contact, $source='external', $notrigger=0) | CommonObject | |
add_element_resource($resource_id, $resource_type, $busy=0, $mandatory=0) | CommonObject | |
add_fournisseur($user, $id_fourn, $ref_fourn, $quantity) | Product | |
add_object_linked($origin=null, $origin_id=null, $f_user=null, $notrigger=0) | CommonObject | |
add_photo($sdir, $file) | Product | |
add_sousproduit($id_pere, $id_fils, $qty, $incdec=1, $notrigger=0) | Product | |
addThumbs($file) | CommonObject | |
call_trigger($triggerName, $user) | CommonObject | |
canBeNull($info) | CommonObject | protected |
check() | Product | |
check_barcode($valuetotest, $typefortest) | Product | |
clearFieldError($fieldKey) | CommonObject | |
clearObjectLinkedCache() | CommonObject | |
clone_associations($fromId, $toId) | Product | |
clone_fournisseurs($fromId, $toId) | Product | |
clone_price($fromId, $toId) | Product | |
cloneCategories($fromId, $toId, $type='') | CommonObject | |
commonGenerateDocument($modelspath, $modele, $outputlangs, $hidedetails, $hidedesc, $hideref, $moreparams=null) | CommonObject | protected |
commonReplaceProduct(DoliDB $dbs, $origin_id, $dest_id, array $tables, $ignoreerrors=0) | CommonObject | static |
commonReplaceThirdparty(DoliDB $dbs, $origin_id, $dest_id, array $tables, $ignoreerrors=0) | CommonObject | static |
copy_linked_contact($objFrom, $source='internal') | CommonObject | |
correct_stock($user, $id_entrepot, $nbpiece, $movement, $label='', $price=0, $inventorycode='', $origin_element='', $origin_id=null, $disablestockchangeforsubproduct=0, $extrafields=null) | Product | |
correct_stock_batch($user, $id_entrepot, $nbpiece, $movement, $label='', $price=0, $dlc='', $dluo='', $lot='', $inventorycode='', $origin_element='', $origin_id=null, $disablestockchangeforsubproduct=0, $extrafields=null, $force_update_batch=false) | Product | |
create($user, $notrigger=0) | Product | |
createCommon(User $user, $notrigger=0) | CommonObject | |
defineBuyPrice($unitPrice=0.0, $discountPercent=0.0, $fk_product=0) | CommonObject | |
del_sousproduit($fk_parent, $fk_child, $notrigger=0) | Product | |
delete(User $user, $notrigger=0) | Product | |
delete_contact($rowid, $notrigger=0) | CommonObject | |
delete_linked_contact($source='', $code='') | CommonObject | |
delete_photo($file) | Product | |
delete_resource($rowid, $element, $notrigger=0) | CommonObject | |
deleteAllItemsLinkedByObjectID($fk_object_where, $field_where, $table_element) | CommonObject | static |
deleteByParentField($parentId=0, $parentField='', $filter='', $filtermode="AND") | CommonObject | |
deleteCommon(User $user, $notrigger=0, $forcechilddeletion=0) | CommonObject | |
deleteEcmFiles($mode=0) | CommonObject | |
deleteExtraFields() | CommonObject | |
deleteLineCommon(User $user, $idline, $notrigger=0) | CommonObject | |
deleteObjectLinked($sourceid=null, $sourcetype='', $targetid=null, $targettype='', $rowid=0, $f_user=null, $notrigger=0) | CommonObject | |
delMultiLangs($langtodelete, $user) | Product | |
delThumbs($file) | CommonObject | |
deprecatedProperties() | CommonObject | protected |
emtpyObjectVars() | CommonObject | |
errorsToString() | CommonObject | |
fetch($id=0, $ref='', $ref_ext='', $barcode='', $ignore_expression=0, $ignore_price_load=0, $ignore_lang_load=0) | Product | |
fetch_barcode() | CommonObject | |
fetch_contact($contactid=null) | CommonObject | |
fetch_optionals($rowid=null, $optionsArray=null) | CommonObject | |
fetch_origin() | CommonObject | |
fetch_prod_arbo($prod, $compl_path='', $multiply=1, $level=1, $id_parent=0, $ignore_stock_load=0) | Product | |
fetch_product() | CommonObject | |
fetch_project() | CommonObject | |
fetch_projet() | CommonObject | |
fetch_thirdparty($force_thirdparty_id=0) | CommonObject | |
fetch_user($userid) | CommonObject | |
fetchComments() | CommonObject | |
fetchCommon($id, $ref=null, $morewhere='', $noextrafields=0) | CommonObject | |
fetchLinesCommon($morewhere='', $noextrafields=0) | CommonObject | |
fetchNoCompute($id) | CommonObject | |
fetchObjectFrom($table, $field, $key, $element=null) | CommonObject | |
fetchObjectLinked($sourceid=null, $sourcetype='', $targetid=null, $targettype='', $clause='OR', $alsosametype=1, $orderby='sourcetype', $loadalsoobjects=1) | CommonObject | |
fetchOneLike($ref) | CommonObject | |
fetchProject() | CommonObject | |
fetchValuesForExtraLanguages() | CommonObject | |
formAddObjectLine($dateSelector, $seller, $buyer, $defaulttpldir='/core/tpl') | CommonObject | |
generateDocument($modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0) | Product | |
generateMultiprices(User $user, $baseprice, $price_type, $price_vat, $npr, $psq) | Product | |
get_arbo_each_prod($multiply=1, $ignore_stock_load=0) | Product | |
get_barcode($object, $type='') | Product | |
get_buyprice($prodfournprice, $qty, $product_id=0, $fourn_ref='', $fk_soc=0) | Product | |
get_image_size($file) | Product | |
get_nb_achat($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_contract($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_mos($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_order($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_ordersupplier($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_propal($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_propalsupplier($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_nb_vente($socid, $mode, $filteronproducttype=-1, $year=0, $morefilter='') | Product | |
get_sousproduits_arbo() | Product | |
getAllItemsLinkedByObjectID($fk_object_where, $field_select, $field_where, $table_element) | CommonObject | static |
getArrayForPriceCompare($level=0) | Product | private |
getCanvas($id=0, $ref='') | CommonObject | |
getCategoriesCommon($type_categ) | CommonObject | |
getChildrenOfLine($id, $includealltree=0) | CommonObject | |
getChildsArbo($id, $firstlevelonly=0, $level=1, $parents=array()) | Product | |
getCountOfItemsLinkedByObjectID($fk_object_where, $field_where, $table_element) | CommonObject | static |
getDataToShowPhoto($modulepart, $imagesize) | CommonObject | |
getDefaultCreateValueFor($fieldname, $alternatevalue=null, $type='alphanohtml') | CommonObject | |
getElementType() | CommonObject | |
getExtraField($key) | CommonObject | |
getFather() | Product | |
getFieldError($fieldKey) | CommonObject | |
getFieldList($alias='', $excludefields=array()) | CommonObject | |
getFormatedCustomerRef($objref) | CommonObject | |
getFormatedSupplierRef($objref) | CommonObject | |
getFullAddress($withcountry=0, $sep="\n", $withregion=0, $extralangcode='') | CommonObject | |
getIdContact($source, $code, $status=0) | CommonObject | |
getIdOfLine($rang) | CommonObject | |
getJSListDependancies($type='_extra') | CommonObject | |
getKanbanView($option='', $arraydata=null) | Product | |
getLabelOfUnit($type='long') | Product | |
getLastMainDocLink($modulepart, $initsharekey=0, $relativelink=0) | CommonObject | |
getLibFinished() | Product | |
getLibStatut($mode=0, $type=0) | Product | |
getListContactId($source='external') | CommonObject | |
getMultiLangs() | Product | |
getNbComments() | CommonObject | |
getNomUrl($withpicto=0, $option='', $maxlength=0, $save_lastsearch_value=-1, $notooltip=0, $morecss='', $add_label=0, $sep=' - ') | Product | |
getProductDurationHours() | Product | |
getProductsToPreviewInEmail($limit) | Product | |
getRangOfLine($rowid) | CommonObject | |
getRights() | Product | |
getSellOrEatByMandatoryLabel() | Product | |
getSellOrEatByMandatoryList() | Product | static |
getSellPrice($thirdparty_seller, $thirdparty_buyer, $pqp=0) | Product | |
getSpecialCode($lineid) | CommonObject | |
getTooltipContent($params) | CommonObject | |
getTooltipContentArray($params) | Product | |
getTotalDiscount() | CommonObject | |
getTotalWeightVolume() | CommonObject | |
getValueFrom($table, $id, $field) | CommonObject | |
hasbatch() | Product | |
hasFatherOrChild($mode=0) | Product | |
hasProductsOrServices($predefined=-1) | CommonObject | |
hasVariants() | Product | |
indexFile($destfull, $update_main_doc_field) | CommonObject | |
info($id) | Product | |
initAsSpecimen() | Product | |
initAsSpecimenCommon() | CommonObject | |
insertExtraFields($trigger='', $userused=null) | CommonObject | |
insertExtraLanguages($trigger='', $userused=null) | CommonObject | |
is_photo_available($sdir) | Product | |
is_sousproduit($fk_parent, $fk_child) | Product | |
isArray($info) | CommonObject | protected |
isDate($info) | CommonObject | |
isDuration($info) | CommonObject | |
isEmpty() | CommonObject | |
isExistingObject($element, $id, $ref='', $ref_ext='') | CommonObject | static |
isFloat($info) | CommonObject | |
isForcedToNullIfZero($info) | CommonObject | protected |
isIndex($info) | CommonObject | protected |
isInt($info) | CommonObject | |
isMandatoryPeriod() | Product | |
isObjectUsed($id=0, $entity=0) | CommonObject | |
isProduct() | Product | |
isService() | Product | |
isStockManaged() | Product | |
isText($info) | CommonObject | |
isVariant() | Product | |
LibStatut($status, $mode=0, $type=0) | Product | |
line_ajaxorder($rows) | CommonObject | |
line_down($rowid, $fk_parent_line=true) | CommonObject | |
line_max($fk_parent_line=0) | CommonObject | |
line_order($renum=false, $rowidorder='ASC', $fk_parent_line=true) | CommonObject | |
line_up($rowid, $fk_parent_line=true) | CommonObject | |
list_suppliers() | Product | |
liste_contact($statusoflink=-1, $source='external', $list=0, $code='', $status=-1, $arrayoftcids=array()) | CommonObject | |
liste_photos($dir, $nbmax=0) | Product | |
liste_type_contact($source='internal', $order='position', $option=0, $activeonly=0, $code='') | CommonObject | |
listeTypeContacts($source='internal', $option=0, $activeonly=0, $code='', $element='', $excludeelement='') | CommonObject | |
load_previous_next_ref($filter, $fieldid, $nodbprefix=0) | CommonObject | |
load_stats_bom($socid=0) | Product | |
load_stats_commande($socid=0, $filtrestatut='', $forVirtualStock=0) | Product | |
load_stats_commande_fournisseur($socid=0, $filtrestatut='', $forVirtualStock=0, $dateofvirtualstock=null) | Product | |
load_stats_contrat($socid=0) | Product | |
load_stats_facture($socid=0) | Product | |
load_stats_facture_fournisseur($socid=0) | Product | |
load_stats_facturerec($socid=0) | Product | |
load_stats_inproduction($socid=0, $filtrestatut='', $forVirtualStock=0, $dateofvirtualstock=null, $warehouseid=0) | Product | |
load_stats_mo($socid=0) | Product | |
load_stats_propale($socid=0) | Product | |
load_stats_proposal_supplier($socid=0) | Product | |
load_stats_reception($socid=0, $filtrestatut='', $forVirtualStock=0, $dateofvirtualstock=null) | Product | |
load_stats_sending($socid=0, $filtrestatut='', $forVirtualStock=0, $filterShipmentStatus='') | Product | |
load_stock($option='', $includedraftpoforvirtual=null, $dateofvirtualstock=null) | Product | |
load_virtual_stock($includedraftpoforvirtual=null, $dateofvirtualstock=null) | Product | |
loadBatchInfo($batch) | Product | |
loadStateBoard() | Product | |
log_price_delete($user, $rowid) | Product | |
min_recommended_price() | Product | |
printObjectLine($action, $line, $var, $num, $i, $dateSelector, $seller, $buyer, $selected=0, $extrafields=null, $defaulttpldir='/core/tpl') | CommonObject | |
printObjectLines($action, $seller, $buyer, $selected=0, $dateSelector=0, $defaulttpldir='/core/tpl') | CommonObject | |
printOriginLine($line, $var, $restrictlist='', $defaulttpldir='/core/tpl', $selectedLines=array()) | CommonObject | |
printOriginLinesList($restrictlist='', $selectedLines=array()) | CommonObject | |
quote($value, $fieldsentry) | CommonObject | protected |
replaceThirdparty(DoliDB $dbs, $origin_id, $dest_id) | Product | static |
SELL_OR_EAT_BY_MANDATORY_ID_NONE | Product | |
setAccountancyCode($type, $value) | Product | |
setBankAccount($fk_account, $notrigger=0, $userused=null) | CommonObject | |
setCategories($categories) | Product | |
setCategoriesCommon($categories, $type_categ='', $remove_existing=true) | CommonObject | |
setDeliveryAddress($id) | CommonObject | |
setDocModel($user, $modelpdf) | CommonObject | |
setErrorsFromObject($object) | CommonObject | |
setExtraField($key, $value) | CommonObject | |
setExtraParameters() | CommonObject | |
setFieldError($fieldKey, $msg='') | CommonObject | |
setMulticurrencyCode($code) | CommonObject | |
setMultiLangs($user) | Product | |
setPaymentMethods($id) | CommonObject | |
setPaymentTerms($id, $deposit_percent=null) | CommonObject | |
setPriceExpression($expression_id) | Product | |
setProject($projectid, $notrigger=0) | CommonObject | |
setRetainedWarrantyPaymentTerms($id) | CommonObject | |
setSaveQuery() | CommonObject | protected |
setShippingMethod($shipping_method_id, $notrigger=0, $userused=null) | CommonObject | |
setStatusCommon($user, $status, $notrigger=0, $triggercode='') | CommonObject | |
setStatut($status, $elementId=null, $elementType='', $trigkey='', $fieldstatus='fk_statut') | CommonObject | |
setTransportMode($id) | CommonObject | |
setValueFrom($field, $value, $table='', $id=null, $format='', $id_field='', $fuser=null, $trigkey='', $fk_user_field='fk_user_modif') | CommonObject | |
setValuesForExtraLanguages($onlykey='') | CommonObject | |
setVarsFromFetchObj(&$obj) | CommonObject | |
setWarehouse($warehouse_id) | CommonObject | |
show_photos($modulepart, $sdir, $size=0, $nbmax=0, $nbbyrow=5, $showfilename=0, $showaction=0, $maxHeight=120, $maxWidth=160, $nolink=0, $overwritetitle=0, $usesharelink=0, $cache='', $addphotorefcss='photoref') | CommonObject | |
showInputField($val, $key, $value, $moreparam='', $keysuffix='', $keyprefix='', $morecss=0, $nonewbutton=0) | CommonObject | |
showOptionals($extrafields, $mode='view', $params=null, $keysuffix='', $keyprefix='', $onetrtd='', $display_type='card') | CommonObject | |
swapContactStatus($rowid) | CommonObject | |
trimParameters($parameters) | CommonObject | |
TYPE_PRODUCT | Product | |
TYPE_SERVICE | Product | |
update($id, $user, $notrigger=0, $action='update', $updatetype=false) | Product | |
update_contact($rowid, $statut, $type_contact_id=0, $fk_socpeople=0) | CommonObject | |
update_note($note, $suffix='', $notrigger=0) | CommonObject | |
update_note_public($note) | CommonObject | |
update_price($exclspec=0, $roundingadjust='auto', $nodatabaseupdate=0, $seller=null) | CommonObject | |
update_ref_ext($ref_ext) | CommonObject | |
update_sousproduit($id_pere, $id_fils, $qty, $incdec=1, $notrigger=0) | Product | |
updateCommon(User $user, $notrigger=0) | CommonObject | |
updateExtraField($key, $trigger=null, $userused=null) | CommonObject | |
updateExtraLanguages($key, $trigger=null, $userused=null) | CommonObject | |
updateLineDown($rowid, $rang, $max) | CommonObject | |
updateLineUp($rowid, $rang) | CommonObject | |
updateObjectLinked($sourceid=null, $sourcetype='', $targetid=null, $targettype='', $f_user=null, $notrigger=0) | CommonObject | |
updatePrice($newprice, $newpricebase, $user, $newvat=null, $newminprice=0, $level=0, $newnpr=0, $newpbq=0, $ignore_autogen=0, $localtaxes_array=array(), $newdefaultvatcode='', $price_label='', $notrigger=0) | Product | |
updateRangOfLine($rowid, $rang) | CommonObject | |
validateField($fields, $fieldKey, $fieldValue) | CommonObject | |
verify() | Product |