Creating NEW Named Event Rules

Frosty the Coder

Legendary Poster
List,

With much assistance from the help desk, I created an NER
that formatted phone#. I need to use this in an APPL,
on the PH1 field, properties, override, format, procedure.

When help desk had me create this NER's data structure,
it was with 4 fields (aliases: bhvrerrid, bhvredtst,
dl01, ph1). In the DS's definition, all of these were
marked as "NOT required", and no directional assigned
to them.

I've now tried to write a 2nd NER, to do a similar
function, but from a UBE. _GUESSING_ that DS above
needed 4 fields as it was being called from an
APPL/./././procedure, I tried to create my NEW DS
with one field, marked as required and bi-directional.
I _guessed_ wrong.

My DS and NER generated without a problem, but failed
to give me ANY results, logs, or errors.

Help desk suggested that I use my original NER,
which did the trick. They also pointed me at
doc ott-01-0011 (Title: Named Event Rules).

I _am_ curious as to why my 2nd NER didn't work.

Is there a lower limit on the number of fields
in the NER-DS for it to work? Can an NER be
written using a single field DS? Why did my
1st NER require 4 fields? What do the first
3 fields do?

Do the "required" and directionals work when
writing NERs?

Are there any other "tricks" that one should
be aware of when writing NER?

The doc, ott-01-0011, doesn't really address
these.

Any/all help/guidance is greatly appreciated.

This is XE, SP15.1

Gene

Gene Piekarski, Jr

AS/400, B733, SP11.2, NT client
AS/400, B733, SP14, W2000 client
XE, SP13
 

franck_blettner

Active Member
There are to types of NER in oneWorld.

One is called Trigger Function and is only use in Data Directionary
overrides. It's the first that you have created. In this function, the 4
fields are necessary, because JDE used these fields to call the BSFN.

The second is used in Events Rules. The Fields are not necessary. Do you
launch your UBE on the server or on your local machine ? If it is on the
server, do you have create a package with your function and deploy it to the
server ?
Are you sure that you code is correct in the BSFN ? You can use the MD_DEBUG
BSFN to check the parameters that you receives in the function and that you
send.

If you don't find, edit your code and send an email.

Franck BLETTNER
Service Informatique RAVATE
Tel : 02 62 90 40 63
E-mail : [email protected]

Current Version : OneWorld B7332 Oracle, RS600
Work on :
Oneworld B7321, B7331, B7332, XE
Platform, UNIX, AS400, NT
Database : Oracle, SQL, DB2





-----Message d'origine-----
De : [email protected] [mailto:eek:[email protected]]De la
part de gpiekarski
Envoyé : mardi 25 septembre 2001 06:38
À : [email protected]
Objet : Creating NEW Named Event Rules


List,

With much assistance from the help desk, I created an NER
that formatted phone#. I need to use this in an APPL,
on the PH1 field, properties, override, format, procedure.

When help desk had me create this NER's data structure,
it was with 4 fields (aliases: bhvrerrid, bhvredtst,
dl01, ph1). In the DS's definition, all of these were
marked as "NOT required", and no directional assigned
to them.

I've now tried to write a 2nd NER, to do a similar
function, but from a UBE. _GUESSING_ that DS above
needed 4 fields as it was being called from an
APPL/./././procedure, I tried to create my NEW DS
with one field, marked as required and bi-directional.
I _guessed_ wrong.

My DS and NER generated without a problem, but failed
to give me ANY results, logs, or errors.

Help desk suggested that I use my original NER,
which did the trick. They also pointed me at
doc ott-01-0011 (Title: Named Event Rules).

I _am_ curious as to why my 2nd NER didn't work.

Is there a lower limit on the number of fields
in the NER-DS for it to work? Can an NER be
written using a single field DS? Why did my
1st NER require 4 fields? What do the first
3 fields do?

Do the "required" and directionals work when
writing NERs?

Are there any other "tricks" that one should
be aware of when writing NER?

The doc, ott-01-0011, doesn't really address
these.

Any/all help/guidance is greatly appreciated.

This is XE, SP15.1

Gene

Gene Piekarski, Jr

AS/400, B733, SP11.2, NT client
AS/400, B733, SP14, W2000 client
XE, SP13
--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=OWDEV&Numbe
r=21203
+ - - - - - - - - - - - - - - - - - - - - - - - -+
This is the JDEList One World / XE Developers mailing list / forum.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found on the JDEList Forum at
http://www.JDEList.com
+ - - - - - - - - - - - - - - - - - - - - - - - -+



Franck BLETTNER
Service Informatique RAVATE
Tel : 02 62 90 40 48
E-mail : [email protected]
 

crowd_controller

Active Member
Hi Friend,

Ofcourse the "required" and "directionals" work when
writing NERs, urs seem to be a strange problem. Anything else u want to tell
us.

Siddhartha Arya
Associate
HPS Global Systems Pte. Ltd
#14 Prudential Tower, Cecil Street
Singapore
+65-93817263

=====
Work like you don't need the money. Love like you've never been hurt.
Dance like nobody's watching.




----Original Message Follows----
From: gpiekarski <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Creating NEW Named Event Rules
Date: Mon, 24 Sep 2001 21:41:51 -0700 (PDT)

List,

With much assistance from the help desk, I created an NER
that formatted phone#. I need to use this in an APPL,
on the PH1 field, properties, override, format, procedure.

When help desk had me create this NER's data structure,
it was with 4 fields (aliases: bhvrerrid, bhvredtst,
dl01, ph1). In the DS's definition, all of these were
marked as "NOT required", and no directional assigned
to them.

I've now tried to write a 2nd NER, to do a similar
function, but from a UBE. _GUESSING_ that DS above
needed 4 fields as it was being called from an
APPL/./././procedure, I tried to create my NEW DS
with one field, marked as required and bi-directional.
I _guessed_ wrong.

My DS and NER generated without a problem, but failed
to give me ANY results, logs, or errors.

Help desk suggested that I use my original NER,
which did the trick. They also pointed me at
doc ott-01-0011 (Title: Named Event Rules).

I _am_ curious as to why my 2nd NER didn't work.

Is there a lower limit on the number of fields
in the NER-DS for it to work? Can an NER be
written using a single field DS? Why did my
1st NER require 4 fields? What do the first
3 fields do?

Do the "required" and directionals work when
writing NERs?

Are there any other "tricks" that one should
be aware of when writing NER?

The doc, ott-01-0011, doesn't really address
these.

Any/all help/guidance is greatly appreciated.

This is XE, SP15.1

Gene

Gene Piekarski, Jr

AS/400, B733, SP11.2, NT client
AS/400, B733, SP14, W2000 client
XE, SP13
--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=OWDEV&Number=21203
+ - - - - - - - - - - - - - - - - - - - - - - - -+
This is the JDEList One World / XE Developers mailing list / forum.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found on the JDEList Forum at
http://www.JDEList.com
+ - - - - - - - - - - - - - - - - - - - - - - - -+
 
Top