It is the best practice to use both table or field UI name and system name in error messages. For example, the standard “The record already exists” message looks like:
Cannot create a record in Inventory model groups (InventModelGroup). Inventory model group: Std, Standard. The record already exists.
So both UI name (Inventory model groups) and system name (InventModelGroup) appear in the message.
To retrieve those names tablepname() and tablestr() functions can be used correspondingly. For the fields there are similar functions: fieldpname() and fieldstr().
canada goose, bottega veneta, ghd, hollister, moncler, ugg, canada goose outlet, north face outlet, ugg boots, soccer shoes, canada goose, chi flat iron, uggs outlet, insanity workout, canada goose uk, new balance shoes, iphone 6 cases, north face jackets, babyliss pro, lululemon outlet, air max, beats by dre, marc jacobs, moncler, asics running shoes, moncler outlet, giuseppe zanotti, valentino shoes, jimmy choo outlet, celine handbags, p90x, birkin bag, mcm handbags, reebok outlet, ugg australia, wedding dresses, canada goose, soccer jerseys, ugg boots, rolex watches, mont blanc, nfl jerseys, instyler, ugg pas cher, moncler, timberland boots, herve leger, baseball bats, canada goose jackets, ferragamo shoes
ReplyDeletenike trainers, longchamp, abercrombie and fitch, ralph lauren, longchamp, polo lacoste, polo ralph lauren, nike tn, michael kors, timberland, converse pas cher, nike blazer, ray ban sunglasses, michael kors, air max, nike air max, sac louis vuitton, barbour, nike free, north face, vans pas cher, oakley pas cher, mulberry, sac guess, sac hermes, vans shoes, sac louis vuitton, vanessa bruno, nike roshe run, louis vuitton, nike roshe, sac longchamp, nike free pas cher, abercrombie and fitch, lululemon, sac burberry, hollister, hollister, louboutin, air force, nike roshe run, louis vuitton uk, north face, nike huarache, ray ban pas cher, hogan outlet, mac cosmetics, new balance pas cher, michael kors pas cher, hollister
ReplyDelete