Problem using "Create Business Rule Design Definition" utility
Hi everyone,
I tried to create a business rule with Headstart Utilities - Create Business Rule Design Definition (Revision 6.0.0.20) and I got the following errors :
Errors
Message
Combination of Message Prefix and Message Number (SGM-ENG) does not match format AAA-NNNNN.
Activity aborted with ORACLE internal errors.
-1400 ORA-01400: cannot insert NULL into ("HST50"."QMS_MESSAGE_TEXT"."LANGUAGE")
I suppose that the utility concatenate the message prefix and the language to build the error message.
Our Oracle Designer version is 6.0.3.9.0, Headstart 2.1.2 with patch 12.4 and Developper is 6.0.5.35.3
Any patch available?
Regards,
Jerome Couture
Tim,
Headstart should be able to check out any tables you need.
We think we have the user settings
done correctly, but there may be something that we
have missed. How can we get Headstart to
automatically check-out the table(s) for which we
want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
- Under 'Process the following objects', choose 'Checked out by anyone'
- Also check the check box '... also Checked In objects'
- Choose whether you want to automatically check out with or without lock
If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
Hope this helps,
Sandra Muller
Similar Messages
-
Headstart Business Rule Design Xformer utility
When using the Headstart Business Rule Design Transformer to generate Business Rules, the table is required to be checked out. In previous releases, we have been told that an automatic check-out is performed on the table(s), but ours forces us to manually check-out the table definition, or it does not continue. We think we have the user settings done correctly, but there may be something that we have missed. How can we get Headstart to automatically check-out the table(s) for which we want to run the Business Rules design transformer? Or is this a bug in the current release? We are using Headstart release v6.5.2.3 (HSU_BRTR). Thanks.
Tim,
Headstart should be able to check out any tables you need.
We think we have the user settings
done correctly, but there may be something that we
have missed. How can we get Headstart to
automatically check-out the table(s) for which we
want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
- Under 'Process the following objects', choose 'Checked out by anyone'
- Also check the check box '... also Checked In objects'
- Choose whether you want to automatically check out with or without lock
If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
Hope this helps,
Sandra Muller -
Business Rule Design Transformer fails with ORA-00001
I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
Exact error message: "Activity aborted with ORACLE internal errors.
-1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
If someone has any clue about this I would be very grateful
Cheers,
DimceJan,
The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
Dimce -
ORA-06502 in Business Rule Design Transformer
For a specific business rule we got the following error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small. It appears that it is caused by a long entity relation name. See the detailed logging below. Bij reducing the length of the entity relation name involved the utility worked file.
Relationship: afstand rechtsmiddel gedaan bij namens verdachte door is included as Usage for entity: GGRL/ RELATIE
Relend usage is found with name: technisch ttz gevoegd bij and id: 1497077058224033627321119385618562861
Relationship: TECHNISCH TTZ GEVOEGD BIJ->STRAFZAAK is not found to be part of AFSTAND RECHTSMIDDEL GEDAAN BIJ NAMENS VERDACHTE DOOR->RELATIE
Triggering event UPDATE UITSPRAAK.AFSTAND RECHTSMIDDEL G0 found.
bltext.get_lines_from_repository, p_text_type=CDIDSC
bltext.get_line_containing
Activity aborted with ORACLE internal errors.
-6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too smallJan,
The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
Dimce -
Why not allow Business Rule Design Transformer to overwrite existing BRDDs
Hi,
It can be quite annoying during development to continually having to remove the BRDD Trigger and PL/SQL Definition when running the BR Design Transformer reveals missing information in the BR Analysis definition. It seems that it would be practical to have at least the option to have the Business Rule Design Transformer overwrite an existing Business Rule Design Definition.
You could think of an additional parameter in this utilily labeled "Overwrite existing BRDD?" with allowable values Y(es) and N(o) with No as default (so that the default functionality is the same as before).
Below you find the code that can be added to the HSU_BRTR package to realize such a functional improvement. Maybe you can consider it for a next release...?!
best regards,
Lucas Jellema
AMIS Services BV
code to add to HSU_BRTR to provide a parameter that allows the user to specify whether or not the HSU_BRTR is allowed to overwrite an existing BRDD:
in the revision history:
09-jan-2003 Lucas Jellema
6.5.2.3AMIS1.1 Added new parameter and supporting code that allows user to indicate
whether existing Business Rule Design Definitions may be/should be overwritten
at the end of procedure install
hsu_install.add_parameter
( PACKAGE_NAME -- package name
, 40 -- sequence
, 'Overwrite existing BRDDs?' -- prompt
, 'N' -- default value actual
, 'No' -- default value displayed
, 'Y' -- mandatory
, 'N' -- allow multi-select
, 'N' -- include shared elements
, '' -- element type short name
, '' -- sql expression actual
, '' -- sql expression displayed
, null -- where clause
, null -- synchronize with
, null -- foreign key column
, -- help text
'Choose whether you want this utility to overwrite existing Business Rule Design Definitions.'
hsu_install.add_allowable_value
( PACKAGE_NAME -- package name
, 40 -- parameter
, 1 -- sequence
, 'Y' -- actual value
, 'Yes' -- displayed value
hsu_install.add_allowable_value
( PACKAGE_NAME -- package name
, 40 -- parameter
, 2 -- sequence
, 'N' -- actual value
, 'No' -- displayed value
--------6.5.2.3AMIS1.1
Just before procedure transform_stage2
procedure delete_brdds
( p_tbl_id in ci_table_definitions.id%type
, p_br_name in varchar2
-- Purpose Delete existing Business Rule Design Definition
-- Usage from run procedure
-- Remarks Find PL/SQl Module Definition based on Business Rule Label
is
cursor c_brdd
( b_tbl_id in ci_table_definitions.id%type
, b_br_name in varchar2
is
select trg.id trg_id
, trg.name name
, plm.id plm_id
from ci_database_triggers trg
, ci_plsql_modules plm
where trg.table_definition_reference = b_tbl_id
and trg.plsql_module_reference = plm.id
and plm.name = b_br_name
begin
-- loop over journalling busrules of this application
<<brdd>>
for r_brdd in c_brdd(p_tbl_id, p_br_name) loop
-- delete busrule (delete of trigger is since 6i not enough anymore, so
-- explicitly delete PL/SQL module also)
bllog.write
( 'Deleting trigger '||r_brdd.name||' and PL/SQL module '
||hsu_name.get_name_and_path(r_brdd.plm_id)
||', a new business rule design definition overwrites this old one.'
, bllog.information
bltrg.del(r_brdd.trg_id);
blplm.del(r_brdd.plm_id);
end loop brdd;
end delete_brdds;
inside procedure transform_stage2
(just before the comment: -- check if BRDD with this plm_name already exists)
if p_overwrite_br = 'Y'
then
delete_brdds
( p_tbl_id => g_trg_tbl(i).tbl_id
, p_br_name => l_plm_name
end if; -- find_trg and overwrite =Y
A new parameter in procedure transform_br_fun
procedure transform_br_fun
, p_overwrite_br in varchar2 default 'N' -- 6.5.2.3AMIS1.1
use the parameter p_overwrite_br in the call to transform_stage2
transform_stage2
( p_fun_id => p_fun_id
, p_fun_label => r_fun.fun_function_label
, p_fun_short_definition => r_fun.fun_short_definition
, p_msg_prefix => p_msg_prefix
, p_msg_language => p_msg_language
, p_rule_type => l_rule_type
, p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1
new parameter p_overwrite_br in the procedure run
NOTE: in both PACKAGE SPECIFICATION and BODY
, p_overwrite_br in varchar2 default'N' -- 6.5.2.3AMIS1.1
use the parameter p_overwrite_br in all calls to transform_br_fun inside procedure run
transform_br_fun
( p_fun_id => r_fun_tree.id
, p_msg_prefix => p_msg_prefix
, p_msg_language => p_msg_language
, p_create_att_usages => p_create_att_usages
, p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.
-
Why admin user cannot create Business Rules ?
Hi All,
Why admin user can't create Business Rules. We've to create other userID and give the required roles and then we create Busines rules right ? Pls. adviceHistorically, Business rules has an internal "native" admin user. When Hyperion is externalized, this internal id can conflict with the Shared Services admin user. Effectively the two admin ids start to conflict and cause issues. There are methods to resolve this issue, but I suggest as a rule not using the admin id for business rules, therefore bypassing the problem.
-
SAP Crystal Reports data source connection problem using sap business one
Hi,
I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
I am trying to create a Crystal report but when I try to configure a new connection it does not work.
I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
Our Current SAP related software details are as follows:
OS: Windows Server 2008
SAP B1 Version: SAP B1 9 (902001) Patch 9
SAP Crystal Report Version: 14.0.4.738 RTM
Database: MS SQL Server 2008 R2
I have also added some screenshots of the issues.
Please have a look and let me know if you have any questions or any further clarifications.
I m eagerly waiting for a quick and positive reply.Hi,
There is problem with SAP Business One date source.
I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
So, try to use OLEDB.
Regards,
Amrut Sabnis. -
Where and how to create business rules?
Hi All,
1) Where and how to create business rules?
2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
3) Whar products are available for Rule Engines?
Thanks in advanceHi,
You have some options on business rules.
If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
<li> they are simple and easy to edit
<li> end users can get up to speed quickly to edit them
<li> when changed, the business process is immediately impacted
<li> they can use the Oracle BPM business parameters that also come with the product
Drawbacks are:
<li> you can only use Project variables as the variable content inside of them
<li> if a company already has a business rules engine, they are different that the company's standard
Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
If they do not already have a business rules engine, consider Jrules. The benefits are:
<li> it is a part of the Oracle BPM Suite that they might have purchased
<li> version 11g of the Jrules is coming out soon with a friendly front end
Hope this helps,
Dan -
NPE when create Business Rules in SCA in JDEV
I got this error message when try to create Business Rules in SOA composite with input/output.
My JDEV Build is JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
java.lang.NullPointerException
at oracle.tip.tools.ide.rules.dictionarybuilder.jdev.JDevDictionaryFileBuilder.createRuleDictionary(JDevDictionaryFileBuilder.java:377)
at oracle.tip.tools.ide.rules.dictionarybuilder.RulesCreationDialog$1.run(RulesCreationDialog.java:101)
at java.lang.Thread.run(Thread.java:619)
When I tried to create Business Rules without input/output, it is created OK.I'm still having this problem. I checked that RMI is running but whenever I try to enter in Planning the logs write that it can't connect to the eas database, and HBRPluginData relational table isn't being filled.
-
Problem when creating business partner
Dear Expert,
I have a problem when creating business partner from T-code BP
I can't input vendor number in company code header data
The vendor account field is set to required entry.
When create business partner, I make some entry like :
Business partner category : organization
BP Role : Landlord with vendor account
Grouping : external number assignment
Company Code : 1000
The problem is everytime i try to input vendor number, it always failed.
The Vendor account field always display ' <external> '
It's strange.. the vendor field it's seem locked by grouping
What should I do??
___Company Code Header Data___
Company Code : 1000
Customer : <external>
Vendor : <external>
I need your advise.. thank you very much
Thanks,
tweetyHi,
I would like to suggest you some SAP notes that contain useful information aobut customer-vender intergration of ERP2005.
956054 BP_CVI Customer-vendor integration as of ERP2005 (ECC600)
This notes describes the changes (new development) of CVI AND the necessary customizing settings.
In short, CVI is now bidirectional.
1. BP -> Customer/Vendor: it depends on the roletype configuration, if a customer/vender is created.
2. Customer/Vendor -> BP: it depends on the account group if a BP is created.
Data is changed then synchronoously.
Further notes that might be of interest.
851445 BP_CVI: Details about reports to be executed for ERP 2005
727205 Conversion of industry Customizing in BUPXPRA12
1077616 Business Partner Upgrade FAQ
If you have further questions please let me know.
Regards, Franz -
OIM 11g R1 API to create business rule
Hi,
I have a requirement where new companies get created quite often and hence the roles for companies, access policies, authorization policies is to be created.
I tried figuring out if there is any api to create business rules and authorization policies?
Configuring companies (along with polices and business rules) is a tedious job and I am trying to find some way to automate it.
Thanks,
AniWhen i go to the request templates, and try to create a new one, the "Create Role" is not a valid request type.
I would suggest you create an authorization policy that grants permission to create roles. And then you can create an approval policy for action of "Create Role" and configure it so that you trigger an approval process.
-Kevin -
Trouble Creating Business rules from EAS
Hi All,
I am new to Essbase and Planning. I am facing trouble creating Business rules from EAS. Every time I click on Business rules it shows login failed...Hi,
Welcome! I believe it could be an access issue. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/hbr_admin_help/ch03s02s01.html
I would also check the provisioning. Here are the Business Rules roles: http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/apas08.html
Hope it helps.
Mehmet -
Comparing two List values using Oracle Business Rules
Hi all,
i just need to know how to use the Oracle Business Rules to Compare 2 list types
say for example list1( 10,20,30,40) and List2(10,50,60). when i compare both the list using the business rules
the rule should return true if there is atleast one match..here 10.
any help is appreciated
Thanks,
karthikHi folks,
Please show the way....
Regards,
PavanKumar.M -
Testing rules designed using Oracle Business Rules in Oracle 11g SOA
Hi.
I want to test the rules designed in ORB from a java class or a JSP.
I am looking for a way to provide input from a form/UI , then execute the rules and display the result back on form/UI.
Any sample showing how to achieve this would be helpful.
Thanks,
ChinmayHi Chinmay,
Oracle's SOA testing framework allows any or all ofthe invoked services to be emulated. Simply click on the invocation in the process diagramand supply a response document to use instead of actually invoking the service. Tests can also make assertions about document content at any step in the business process. You can use a SOAP client to test you WS, such as Fiddler, generic SOAP UI, SOAP UI utility. You can also do your unit testing from the OBR Designer itself.
Hope that helps!
Cheers
Anirudh Pucha -
Integration directory problem while creating business service
HI,
CURRENTLY I AM FACING A PROBLEM IN INTEGRATION DIRECTORY. WHEN I TRY TO CREATE A BUSINESS SERVICE INSIDE THE SERVICE WITHOUT PARTY WHICH I AM TAKING AS A SENDER, I AM UNABLE TO GET THE SOFTWARE COMPONENT VERSIONS IN THE SENDER PARAMETERS.
IF ANYONE CAN GIVE THE COMPLETE CONFIGURATION STEPS FOR SENDER AND RECIEVER SYSTEM THAT WILL BE VERY HELPFUL.
BEST REGARDS,
MONAHi Mona,
Let me explain you in detail:-
First, Activate the Change List in the Integration Repository once the design objects are complete. By activating the change list, the object becomes available for Configuration in the Integration Directory.
Secondly, to transfer Integration scenario from Integration Repository - you need your Integration Scenario to be created correctly and when you run this wizard you actually pull the Integration scenario in the Integration directory.
You also have the option of 'Configuration Wizard'.
This tool is a wizard for creating your Recevier Determination, Receiver Agreement, Sender Agreement and Interface Determination. For this tool, you do not need the Integration scenario
It is not mandatory to use any of these tools to configure your scenario.
All you have to do for configuring your scenario is
1. Create Business system/Business service
2. Create Communication Channel
3. Create Receiver Determination
4. Create Interface Determination
5. Sender Agreement
6. Receiver Agreement
I hope this provides you a solution.
Regards.
Praveen
Maybe you are looking for
-
How to subtract from a changing number?
I wonder which function i use to subtract the amount from the E coloumn from the box F5. I want the amount 50 to subtract from 7756,5 and show up in the box F9. I want to find a function so when i plug in the next amount in coloumn E that it subtract
-
Hi All, Please can you give an idea how to fech xml data..I wanto fetch all <POL_NO> tag data in a temp table. My sample xml: <POL> <Polinfo> <POL_NAME>COMP1</POL_NAME> <POL_NO>100</POL_NO> </Polinfo> </POL> <POL> <Polinfo> <POL_NAME>COMP2</POL_NAME>
-
Applications folder out of order
Every day I organize my applications folder by name automatically and some how it keeps unorganizing itself in the first row by the next day. It is quite annoying. There are apps on top of eachother. And it is always the same apps. (I know Address Bo
-
Contacts and iCloud question(s)-
1) I have TWO iCloud accounts – one with a user "me.com" from my MM migration and a gmail.com user name from when I set up iCloud originally. My iMac is connected to both accounts but is showing that the me.com address is my "primary" iCloud account
-
Hi everyone, i'm using labview 8.5 and i need to extract a single plane colour from a rgb 32 bit original image; so i used extract single plane colour from vision utilities creatina Also a constant to control the colour plane to extract, but it didn'