dolibarr 19.0.4
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.
 
 fetchref ($static_object, $tmp_ref)
 Fetch object with ref.
 

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 Return integer <0 if Ko or Id of object

Definition at line 827 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 814 of file massstockmove.php.

Referenced by fetchref().