Hi Chris,

There already is a field  language_code in entity_credit_account.

But there is something i do not understand in
sql/modules/Company.sql
CREATE OR REPLACE FUNCTION entity_credit_save
all parameters have a name structure like in_fieldname
except in_language
May i not change  in_language to in_language_code ?

Should we also not define language_code in entity_credit_account as:
in_language_code varchar(6) with default 'en_US'   references
language(code) on delete SET DEFAULT


As we are discussing web-services, fat client <--> api-layer <--> fat
DB-function, we should protect
db-fields as much as possible , are we not ?

Best Wishes,
Herman


2011/11/22 Chris Travers <[email protected]>:
> Hi Herman;
>
> On Tue, Nov 22, 2011 at 2:11 AM, herman vierendeels
> <[email protected]> wrote:
>> Hello,
>>
>>
>> Would it be wise,feasible to add field default_language to company?
>>
>> If not ,  could i add default_language as setting_key to table defaults ?
>
> I would add it to entity_credit_account, and yes, this is important
> for restoring some 1.2 functionality so go ahead and add it.
>
> Best Wishes,
> Chris Travers
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Ledger-smb-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to