Works on migration management positioning lines
Phase 4 : llx_expeditiondet et llx_livraisondet
This commit is contained in:
parent
75422f6e6f
commit
63908863cc
@ -1574,7 +1574,7 @@ class Propal extends CommonObject
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."propaldet WHERE fk_propal = ".$this->id;
|
||||
if ( $this->db->query($sql) )
|
||||
{
|
||||
// Delete all rang of files
|
||||
// Delete all rang of lines
|
||||
$this->delAllRangOfLines();
|
||||
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."propal WHERE rowid = ".$this->id;
|
||||
|
||||
@ -1026,7 +1026,7 @@ class Facture extends CommonObject
|
||||
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'facturedet WHERE fk_facture = '.$rowid;
|
||||
if ($this->db->query($sql))
|
||||
{
|
||||
// Delete all rang of files
|
||||
// Delete all rang of lines
|
||||
$this->delAllRangOfLines();
|
||||
|
||||
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'facture WHERE rowid = '.$rowid;
|
||||
|
||||
@ -687,7 +687,7 @@ class Expedition extends CommonObject
|
||||
|
||||
if ( $this->db->query($sql) )
|
||||
{
|
||||
// Delete all rang of files
|
||||
// Delete all rang of lines
|
||||
$this->delAllRangOfLines();
|
||||
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."element_element";
|
||||
|
||||
@ -574,7 +574,7 @@ class Livraison extends CommonObject
|
||||
$sql.= " WHERE fk_livraison = ".$this->id;
|
||||
if ( $this->db->query($sql) )
|
||||
{
|
||||
// Delete all rang of files
|
||||
// Delete all rang of lines
|
||||
$this->delAllRangOfLines();
|
||||
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."element_element";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user