Public Member Functions | |
record (Impacc_Csv $p_csv, Impacc_File $p_file) | |
insert file into the table import_detail More... | |
check (Impacc_Import_detail_SQL $row) | |
Check if Data are valid for one row. More... | |
adapt ($p_row) | |
Transform a group of rows to an array and set $jr_date_paid. More... | |
insert ($a_group, Acc_Ledger $p_ledger) | |
Transfer operation with the status correct to the accountancy . More... | |
Definition at line 28 of file class_impacc_csv_misc_operation.php.
Impacc_Csv_Misc_Operation::adapt | ( | $p_row | ) |
Transform a group of rows to an array and set $jr_date_paid.
useable by Acc_Ledger_Sold::insert
Definition at line 76 of file class_impacc_csv_misc_operation.php.
References $array, $cn, $g_parameter, and $nb_row.
Referenced by insert().
Impacc_Csv_Misc_Operation::check | ( | Impacc_Import_detail_SQL | $row | ) |
Check if Data are valid for one row.
$row | is an Impacc_Import_detail_SQL object |
Definition at line 70 of file class_impacc_csv_misc_operation.php.
Impacc_Csv_Misc_Operation::insert | ( | $a_group, | |
Acc_Ledger | $p_ledger | ||
) |
Transfer operation with the status correct to the accountancy .
Change the status of the row (id_status to 1) after because it can transferred several rows in one operation
Definition at line 141 of file class_impacc_csv_misc_operation.php.
References $array, $cn, and adapt().
Impacc_Csv_Misc_Operation::record | ( | Impacc_Csv | $p_csv, |
Impacc_File | $p_file | ||
) |
insert file into the table import_detail
Impacc_Csv | $p_csv | CSV setting |
Impacc_File | $p_file | File information |
Definition at line 35 of file class_impacc_csv_misc_operation.php.
References $aseparator, $cn, $error, $nb_row, $row, and while.