X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=doc%2Fapi_changes.txt;fp=doc%2Fapi_changes.txt;h=79b41920e9a0b0a814ae278dce2a3c44da3182c7;hb=3fd7df0efa6893e784c538b996f7968cd6dcd4d0;hp=36c94fe443c6d957b7035c866886d294d6aa5d1b;hpb=15b522128f3033b684f005b54d4d5a836d49c382;p=fa-stable.git diff --git a/doc/api_changes.txt b/doc/api_changes.txt index 36c94fe4..79b41920 100644 --- a/doc/api_changes.txt +++ b/doc/api_changes.txt @@ -13,6 +13,10 @@ Changed functions: save_to_file($path, $zip, $fileData) tax_types_db.inc: get_tax_type_default_rate($type_id) => get_tax_type_rate($type_id) + inventory_db.inc: + get_stock_moves($type, $type_no) + add_stock_move($type, $stock_id, $trans_no, $location, $date_, $reference, $quantity, $std_cost, + $person_id=0, $price=0, $discount_percent=0, $error_msg="") Before 2.4: get_tax_type_default_rate($type_id) @@ -69,3 +73,19 @@ Now: save_to_file($path, $zip, $fileData) Description: $path parameter have to contain full path to file, no assumptions to target folder is done inside function. + +Before 2.4: + add_stock_move($type, $stock_id, $trans_no, $location, $date_, $reference, $quantity, $std_cost, + $person_id=0, $show_or_hide=1, $price=0, $discount_percent=0, $error_msg="") +Now: + add_stock_move($type, $stock_id, $trans_no, $location, $date_, $reference, $quantity, $std_cost, + $person_id=0, $price=0, $discount_percent=0, $error_msg="") +Description: + Removed parameter $show_or_hide (obsolete after `visible` field removal). + +Before 2.4: + get_stock_moves($type, $type_no, $visible=false) +Now: + get_stock_moves($type, $type_no) +Description: + Removed parameter $visible (obsolete after `visible` field removal).