# Bug: Wrong entity in dictionary llx\_c\_payment & llx\_c\_payment\_terms / Version 11.0.1

**URL:** <https://www.dolibarr.org/forum/t/bug-wrong-entity-in-dictionary-llx-c-payment-llx-c-payment-terms-version-11-0-1/18576>\
**Category:** Maintaining my Dolibarr\
**Created:** [February 15, 2020, 8:03am UTC](https://www.dolibarr.org/forum/t/bug-wrong-entity-in-dictionary-llx-c-payment-llx-c-payment-terms-version-11-0-1/18576 "2020-02-15T08:03:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maho01](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@maho01](https://www.dolibarr.org/forum/u/maho01)\
**Post date:** [February 15, 2020, 8:03am UTC](https://www.dolibarr.org/forum/t/bug-wrong-entity-in-dictionary-llx-c-payment-llx-c-payment-terms-version-11-0-1/18576/1 "2020-02-15T08:03:13Z")

</div>

if a new entry is created, the entity is set to 0 instead of 1

Workaround: modify the record manually in the DB

---

<div class="post-metadata">

**Author:** ![MartinF](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martinf/32/395_2.png) [@MartinF](https://www.dolibarr.org/forum/u/MartinF)\
**Post date:** [March 14, 2020, 1:12am UTC](https://www.dolibarr.org/forum/t/bug-wrong-entity-in-dictionary-llx-c-payment-llx-c-payment-terms-version-11-0-1/18576/2 "2020-03-14T01:12:41Z")

</div>

Same problem here. Unfortunatly my sql knowledge is skim level. Config:

Dolibarr ha detectado un error técnico.  
Esta información puede ser útil para el diagnóstico (puede configurar la opción $dolibarr\_main\_prod to ‘1’ para eliminar estas notificaciones):  
**Fecha:** 20200314010143  
**Dolibarr:** 11.0.1  
**Nivel de funciones:** 0  
**PHP:** 7.2.24  
**Servidor:** Apache  
**SO:** Linux [vps-example.com](http://vps-example.com) 3.\_\_\_\_\_\_\_\_\_\_ #1 SMP Fri Oct 18 17:15:30 UTC 2019 x86\_64  
**UserAgent:** Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

**URL solicitada:** /xxxxxxx/admin/dict.php?id=13  
**Referer:** [http://example.com/xxxxxxxxx/admin/dict.php?id=13](http://example.com/xxxxxxxxx/admin/dict.php?id=13)  
**Gestor de menú:** eldy\_menu.php

**Módulos:** user, socialnetworks, gravatar, blockedlog, multicurrency, adherent, expensereport, comptabilite, paypal, ticket, agenda, barcode, commande, don, ecm, facture, fournisseur, printing, resource, salaries, societe, service, variants, website, holiday, bom, externalrss, bookmark, workflow, modulebuilder, notification, mailing, emailcollector, cron, mailmanspip, supplier\_proposal, tax, banque, margin, propal, product, stock, productbatch, expedition, projet, categorie, import, export, fckeditor  
**Tipo de gestor de base de datos:** mysqli  
**Último error en solicitud de acceso de base de datos:** INSERT INTO llx\_c\_paiement (id,code,libelle,type,entity,active) VALUES(54,‘ret’,‘r’,‘2’,‘BadFirstParameterForGETPOST’,1)  
**Código de retorno de error para la última petición de acceso a la base de datos:** DB\_ERROR\_1366  
**Información del último error de petición de acceso de base de datos:** Incorrect integer value: ‘BadFirstParameterForGETPOST’ for column `example_dolibarr`.`llx_c_paiement`.`entity` at row 1

---

<div class="post-metadata">

**Author:** ![simicar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/simicar/32/3072_2.png) [@simicar](https://www.dolibarr.org/forum/u/simicar)\
**Post date:** [March 14, 2020, 5:34am UTC](https://www.dolibarr.org/forum/t/bug-wrong-entity-in-dictionary-llx-c-payment-llx-c-payment-terms-version-11-0-1/18576/3 "2020-03-14T05:34:51Z")

</div>

Hi Martin  
This is very strange. It looks like the entity parameter value was not defined when loading this dictionary page. Is this the only page where you get this problem ? Do you have any external module active ? If yes, could you try to deactivate them, then add the dictionary value again ?  
Regards,  
Marc

---

<div class="post-metadata">

**Author:** ![MartinF](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/martinf/32/395_2.png) [@MartinF](https://www.dolibarr.org/forum/u/MartinF)\
**Post date:** [April 27, 2020, 12:27am UTC](https://www.dolibarr.org/forum/t/bug-wrong-entity-in-dictionary-llx-c-payment-llx-c-payment-terms-version-11-0-1/18576/4 "2020-04-27T00:27:24Z")

</div>

Hi simicar, sorry for the late response.

It seems to be the only page. No external module, but let me get back to you in case this appears again.

Regards,  
Martín
