compte_comptable

🔧 fwl_TS_NOOA_CLIENT_lowcode_autothen_maj_compte_comptable

Mise à jour du code compte comptable client lorsque le code client est remplie
function fwl_TS_NOOA_CLIENT_lowcode_autothen_maj_compte_comptable($id_type, $id_obje) { $client = fwc7_data_objet_att('', $id_type, $id_obje); $id_type_Franchise = 152; $attAttribueA = fwp7_param_template_att_get_number('', $id_type, 'client_systeme_id_user'); $attCodeCleint = fwp7_param_template_att_get_number('', $id_type, 'client_typologie_client_code_client'); // Check si "Attribué a" est bien remplie if (!empty($client[$attAttribueA])) { $infoUserAttribueA = get_UserIdentification($client[$attAttribueA]); if (!empty($infoUserAttribueA["user"]["groups"][0])) { $wcFranchie = [ 'att1 = ' . $infoUserAttribueA["user"]["groups"][0] . ' ' ]; $dataFranchise = fwc7_data_objet_atts('', $id_type_Franchise, 1, $wcFranchie); // ... (truncated)

↩️ Returns

(void)