Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > ION

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 2nd January 2017, 15:43
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Created a Monitor but the Alert is not getting created for a Customized BOD

i have created and configured a Monitor on a customized BOD in ION, and it is configured well but the problem now is that the Alert is not getting generated...

I have done these steps

A)LN Side
1)Created the Customized BOD
2) Created Public and Private Attributes and methods
3) Registered the BOD

B)ION Side
1)Created a File Template for the New Document
2)Created Monitor for the BOD
3)Activated it.

Now when i am creating records for the customized Table, i am not getting alert according to the situation....

Regards
Ajesh
Reply With Quote
  #2  
Old 2nd January 2017, 19:46
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,503
bhushanchanda is a jewel in the roughbhushanchanda is a jewel in the roughbhushanchanda is a jewel in the rough
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Hi,

By File Template do you mean XSD's and XML?
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #3  
Old 2nd January 2017, 20:00
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Yes.. The xmls and xsds are now created..
Reply With Quote
  #4  
Old 3rd January 2017, 11:51
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,503
bhushanchanda is a jewel in the roughbhushanchanda is a jewel in the roughbhushanchanda is a jewel in the rough
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
How are you triggering your custom BOD? Have you written any script in your DAL or 3GL/4GL?
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #5  
Old 3rd January 2017, 12:09
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Hi Bhushan

What are the steps?

I have created a 4GL to Publish but how will ION come to know that record is created/Modified/deleted etc.
Reply With Quote
  #6  
Old 3rd January 2017, 12:30
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,503
bhushanchanda is a jewel in the roughbhushanchanda is a jewel in the roughbhushanchanda is a jewel in the rough
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Hi,

You need to call tcbod.dll0001.publish.bod() function in order to execute your BOD. You have the option to provide the action code to state the type of table action you are performing.

e.g.

Code:
RETIFNOK(tcbod.dll0001.publish.bod(
				"MySampleBOD",			|i.Noun,
				"tfgld008",				|i.Table
				trim$(i.ActionCode),		|i.action.code ADD/CHANGE/DELETE
				BOD_ENTITY_DEPARTMENT,   |i.BOD Entity Type	
				"",					        |i.Bod.entity.code,
				tfgld008.leac ,                         |i.Doc.id,
				false,					|i.Batch.Mode,
				"",					        |i.Batch.id,
				0,					        |i.Batch.sequence,
				0,					        |i.Batch.size,
				tfgld008.leac)                          |i.Identities
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #7  
Old 5th January 2017, 04:33
jeffersyuan jeffersyuan is offline
Senior Member
 
Join Date: Jan 2006
Posts: 286
jeffersyuan is on a distinguished road
Baan: B4,B50C, LN FP1-FP10 - DB: SQL Server , Oracle - OS: Window , Unix , AIX
Hi, Ajesh,

May I get the example script which you are using now?
I am still struggling in how to write the OnShow and OnAcknowledge hook script etc.
When I run generate Infor LN Implementation, I always got the errors as:
OnAcknowledge/OnShow must have an on Execute hook defined etc.
Also No idenfifiers (for addition of the variation ID) found error.

Do you still have any ideas on it?
Thanks.

Jeffers
__________________
The Simply is The Best
Reply With Quote
  #8  
Old 9th January 2017, 04:13
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Quote:
Originally Posted by bhushanchanda View Post
Hi,

You need to call tcbod.dll0001.publish.bod() function in order to execute your BOD. You have the option to provide the action code to state the type of table action you are performing.

e.g.

Code:
RETIFNOK(tcbod.dll0001.publish.bod(
				"MySampleBOD",			|i.Noun,
				"tfgld008",				|i.Table
				trim$(i.ActionCode),		|i.action.code ADD/CHANGE/DELETE
				BOD_ENTITY_DEPARTMENT,   |i.BOD Entity Type	
				"",					        |i.Bod.entity.code,
				tfgld008.leac ,                         |i.Doc.id,
				false,					|i.Batch.Mode,
				"",					        |i.Batch.id,
				0,					        |i.Batch.sequence,
				0,					        |i.Batch.size,
				tfgld008.leac)                          |i.Identities

Hi Bhushan

what is the BOD entity type?

Warehouse or company? How do i determine it?
Reply With Quote
  #9  
Old 9th January 2017, 10:36
ARijke ARijke is offline
Guru
 
Join Date: Sep 2005
Posts: 531
ARijke is on a distinguished road
Baan: Baan IV upto LN - DB: -- - OS: --
The entity type defines the way the AccountingEntity is set in the BOD. AccountingEntity relates to the financial company.
Is your BOD representing transactional data then you need to pass the department/warehouse that defines the relation to the financial company.
In case of master data, then there is no financial company relation, you can just set it to Company.

Adriaan
Reply With Quote
  #10  
Old 25th January 2017, 15:26
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Code:
tcbod.dll0001.publish.bod(
			"ProjectBOQ",					|i.Noun,
			"tppss930",					|i.Table
			trim$(i.ActionCode),				|i.action.code ADD/CHANGE/DELETE
			BOD_ENTITY_DEPARTMENT,   			|i.BOD Entity Type	
			"",				      		|i.Bod.entity.code,
			tppss930.cprj ,                         	|i.Doc.id,
			false,						|i.Batch.Mode,
			"",					        |i.Batch.id,
			0,					        |i.Batch.sequence,
			0,					        |i.Batch.size,
			tppss930.cact)                          	|i.Identities
This is what i used and BOD_ENTITY_DEPARTMENT has the company number but this BOD has not reflected in ION....
Reply With Quote
  #11  
Old 25th January 2017, 18:21
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,503
bhushanchanda is a jewel in the roughbhushanchanda is a jewel in the roughbhushanchanda is a jewel in the rough
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Hi,

Are you sure *.cprj is not an identity? It should be I guess. Please verify that. Other things seem okay to me.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #12  
Old 2nd February 2017, 07:02
MilindV's Avatar
MilindV MilindV is offline
Senior Member
 
Join Date: Feb 2008
Location: Hyderabad, India
Posts: 107
MilindV is on a distinguished road
Baan: LN, BaaN-IVc4, BaaN-Vc - DB: SQL Server - OS: Windows, Unix
Check values for i.Noun, Document ID and i.Identities.
i.noun has value as ProjectBOQ, Is it a typo, Q instead of D?
If document id comprise of only single value i.e. project code in your case same required to be passed as identifier instead of tppss930.cact [Activity].
is the bod registered in session bobod1100m000?
check if subscription present in tlesb300.
After publishing complete, you can check if record got created in tlesb100 or check if first free number is incremented in tlesb200.
__________________
Regards,
--MilindV
Reply With Quote
  #13  
Old 2nd February 2017, 15:37
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Quote:
Originally Posted by bhushanchanda View Post
Hi,

Are you sure *.cprj is not an identity? It should be I guess. Please verify that. Other things seem okay to me.
Are you suggesting cprj as i.Identities instead of cact?
Reply With Quote
  #14  
Old 2nd February 2017, 16:16
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 650
Ajesh is on a distinguished road
Baan: Baan IV - DB: Oracle - OS: HP-Unix
Quote:
Originally Posted by MilindV View Post
Check values for i.Noun, Document ID and i.Identities.
i.noun has value as ProjectBOQ, Is it a typo, Q instead of D?
If document id comprise of only single value i.e. project code in your case same required to be passed as identifier instead of tppss930.cact [Activity].
is the bod registered in session bobod1100m000?
check if subscription present in tlesb300.
After publishing complete, you can check if record got created in tlesb100 or check if first free number is incremented in tlesb200.
BOD is registered...

Subscription is still not present in tlesb300..What has to be done to get it into 300?
Reply With Quote
  #15  
Old 3rd February 2017, 09:08
ARijke ARijke is offline
Guru
 
Join Date: Sep 2005
Posts: 531
ARijke is on a distinguished road
Baan: Baan IV upto LN - DB: -- - OS: --
You don't have a subscription in tlesb300. OK What is the situation in ION?
1 Do you have an LN connection point, is it active or inactive?
2 Do you have a doc flow containing the LN connection point, is it active or inactive?
3 Do you have an active monitor?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure a Customized BOD in ION? Ajesh ION 3 12th December 2016 10:48
customized routing will add and renumber alex_hu Manufacturing & Supply Chain 1 2nd July 2007 16:15
How to print Postcript in landscape orientation heliopaixao Tools Administration & Installation 8 28th July 2006 14:39
Customized sessions created by users - AFS minizao AFS/DDC/OLE: Function servers 1 13th May 2005 15:00


All times are GMT +2. The time now is 01:04.


©2001-2023 - Baanboard.com - Baanforums.com