Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
When will you move your ERP to the cloud?
We are on the cloud already!
50%
Next year
0%
from 2-3 years
17%
from 4-5 years
0%
Never!
33%
Total votes: 6

Baanboard at LinkedIn


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: 364
Ajesh is on a distinguished road
Baan: LN 10.4 - 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,165
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
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: 364
Ajesh is on a distinguished road
Baan: LN 10.4 - 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,165
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
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: 364
Ajesh is on a distinguished road
Baan: LN 10.4 - 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
Sponsored Links
  #6  
Old 3rd January 2017, 12:30
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,165
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
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: 257
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: 364
Ajesh is on a distinguished road
Baan: LN 10.4 - 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: 436
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
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 05:52.


©2001-2016 - Baanboard.com - Baanforums.com