dolibarr  17.0.4
Functions
massstockmove.php File Reference

This page allows to select several products, then incoming warehouse and outgoing warehouse and create all stock movements for this. More...

Go to the source code of this file.

Functions

 startsWith ($haystack, $needle)
 Verify if $haystack startswith $needle. More...
 
 fetchref ($static_object, $tmp_ref)
 Fetch object with ref. More...
 

Detailed Description

This page allows to select several products, then incoming warehouse and outgoing warehouse and create all stock movements for this.

Definition in file massstockmove.php.

Function Documentation

◆ fetchref()

fetchref (   $static_object,
  $tmp_ref 
)

Fetch object with ref.

Parameters
Object$static_objectstatic object to fetch
string$tmp_refref of the object to fetch
Returns
int <0 if Ko or Id of object

Definition at line 745 of file massstockmove.php.

References startsWith().

◆ startsWith()

startsWith (   $haystack,
  $needle 
)

Verify if $haystack startswith $needle.

Parameters
string$haystackstring to test
string$needlestring to find
Returns
bool false if Ko true else

Definition at line 732 of file massstockmove.php.

Referenced by fetchref().