UNPKG

jsharmony-factory

Version:
63 lines 3.73 kB
{ "Admin/Code2_App_Value_Listing": { "source_files_prefix":"Admin_Code2_App_Value_Listing", "layout":"grid", "table":"", "caption":[0,"Code","Codes"], "actions":"BIUD", "sort":["^code_val1","^code_seq","^code_val2"], "menu":"Admin/Code2_App_Listing", "roles": {"X_B":"B","DADMIN":"*"}, "breadcrumbs": { "parents": ["Admin/Code2_App_Listing"] }, "reselectafteredit": "row", "comment1":"row, or blank", "newrowposition": "first", "comment2":"first or last", "commitlevel": "row", "comment3":"cell, row, page, or none", "validationlevel": "row", "comment4":"cell, or row", "bindings":{"code_name":"code_name","code_schema":"code_schema"}, "fields":[ {"name":"code2_app_id","type":"bigint","actions":"B","key":1,"control":"hidden"}, //Previously had "F" {"name":"code_name","type":"varchar","foreignkey":1,"actions":"IUD","sqlwhere":"1=1", "sqlupdate":"","sqlinsert":"","length":128,"control":"hidden"}, {"name":"code_schema","type":"varchar","foreignkey":1,"actions":"IUD","sqlwhere":"1=1", "sqlupdate":"","sqlinsert":"","length":128,"control":"hidden"}, {"name":"code_seq","type":"smallint","actions":"BIU","control":"textbox_VS","format":["decimal","0"], "validate":["IsNumeric"],"controlstyle":"text-align:right;","caption":"Seq"}, {"name":"code_val1","type":"varchar","length":"32","actions":"BI","control":"textbox_S", "validate":["Required"],"caption":"Value1"}, {"name":"code_val2","type":"varchar","length":"32","actions":"BI","control":"textbox_S", "validate":["Required"],"caption":"Value2"}, {"name":"code_txt","type":"varchar","length":"50","actions":"BIU","control":"textbox_S", "validate":["Required"],"caption":"Description"}, {"name":"code_code","type":"varchar","length":"50","actions":"BIU","control":"textbox_VS", "caption":"Code"}, {"name":"code_attrib","type":"varchar","length":"50","actions":"BIU","control":"textbox_VS", "caption":"Attrib"}, {"name":"code_notes","type":"varchar","length":"255","actions":"BIU","control":"textbox_M", "caption":"Annotations"}, {"name":"code_end_dt","type":"date","actions":"BIU","validate": ["IsDate"], "control":"date", "controlstyle":"width:60px;","caption":"Term. Dt","format":["date","MM/DD/YY"]}, {"name":"code_end_reason","type":"varchar","length":"50","actions":"BIU","control":"textbox_M", "controlstyle":"width:130px;","caption":"Termination Comment"}, {"name":"info","type":"varchar","length":"500","actions":"B","control":"textzoom", "caption":"INFO","caption_ext":"Additional Information","disable_search":1,"disable_search_all":1, "sqlselect":"({schema}.log_audit_info(code_etstmp,code_euser,code_mtstmp,code_muser))", "controlstyle":"width:48px;display:none;"} ], "dberrors": [ ["pk_code_app_","CODE Value has to be unique"], ["unq_code_app_","CODE Description has to be unique"], ["/unq_code2_app_.*_code_val1_code_val2/","CODE Value1+Value2 has to be unique"], ["_code_val1_code_val2_key","CODE Value1+Value2 has to be unique"], ["/unq_code2_app_.*_code_val1_code_txt/","CODE Description has to be unique"], ["_code_val1_code_txt_key","CODE Description has to be unique"], ["doc_doc_scope_doc_ctgr","Scope - Document combination is used - cannot be removed."] ] }, "Dev/Code2_App_Value_Listing": { "inherits":"Admin/Code2_App_Value_Listing", "dev":1, "menu":"Dev/Code2_App_Listing", "breadcrumbs": { "parents": ["Dev/Code2_App_Listing"] } } }