Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 7th August 2017, 20:19
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Not Getting Acknowledgement BOD

Hi All,

I am processing a BOD into LN through a process BOD. Code written at OnProcess is working fine as expected but it is not creating acknowledgement BOD back to ION. Can you please guide me about the reasons behind the same? Do I need to make any specific setting/setup for acknowledgement BOD?


Regards,
Anubhav
Reply With Quote
  #2  
Old 8th August 2017, 10:42
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
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,

Have you added the Acknowledge XML on the ION server directory? Also, have you added the Acknowledge method to your BII implementation?
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #3  
Old 8th August 2017, 13:18
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Hi Bhushan,

We have done following activity:

1. Added zip files of all the supported verbs and xsd in ION registry. Apart from this there is no other place to add BOD in ION.

There is no acknowledge method in BII. We have even set actionCode throug setControlAttribute command but still do not see acknowledgement BOD in ION. Please let me know if you think we are missing anything.

Regards,
Anubhav
Reply With Quote
  #4  
Old 8th August 2017, 15:14
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
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
You will need to enable Incoming Acknowledge event in your XSD first. If it's enabled, you should be able to add Protected method OnAcknowledge in your BII.

Once that is added, you need to add this code in your OnExecute hook.

Code:
dal.set.error.message("@This is an acknowledge message")

return(DALHOOKERROR)
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #5  
Old 9th August 2017, 06:21
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Hi Bhushan,

I have already included "Can be published" method in BID. As you suggested I will included "Can be received in application" as well and write the code that you provided but I am just wondering if "Can be received in application" would make any difference in publishing acknowledgement while processing a process BOD into LN?

Also, when I process test BOD through tlbct3232m000 it show me an acknowledgement BOD when I click on "Show output" on session tlbct3232m000 so does that mean system is creating acknowledgement BOD but it is not reaching ION?



Regards,
Anubhav
Reply With Quote
  #6  
Old 9th August 2017, 15:43
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Hi Bhushan,

Please find attached screen shot of the output response that I get when I run my test BOD through session tlbct3232m000. Do you think it looks fine or you see any issue with this?


Regards,
Anubhav
Attached Files
File Type: doc Acknowledgement_Output.doc (82.5 KB, 17 views)
Reply With Quote
Sponsored Links
  #7  
Old 10th August 2017, 12:06
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
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
Yes. This looks good. It should create the acknowledge BOD.

Can you also share the events in the BII? OnAcknowledge method should be added to the BII. Also, the XML should be placed in the directory/registry.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #8  
Old 10th August 2017, 15:17
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Hi Bhushan,

Please find attached screen shot of BII. Please let me know if you see any issue.


Regards,
Anubhav
Attached Files
File Type: doc BII.doc (150.9 KB, 2 views)
Reply With Quote
  #9  
Old 10th August 2017, 15:41
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
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
This looks okay too. Hope you have written the required code in the OnExecute hook. Also, is the AcknowledgeMaterialIssue1BOD.xml placed in the repository?
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #10  
Old 10th August 2017, 16:54
bansaanu bansaanu is offline
Member
 
Join Date: Mar 2010
Posts: 67
bansaanu is on a distinguished road
Baan: BaaN IV and ERP - DB: Oracle - OS: Unix and Window
Hi Bhushan,

What code should we write in OnExecute? Also, do we really need to add acknowledgement BOD specifically in registry? I don't see any acknowledgement BOD in registry right now in our system?


Regards,
Anubhav
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
Method Changes is not working in my Custom BOD cs.vikash Tools Development 0 12th July 2017 21:15
Custom BOD Steps bansaanu ION 3 26th June 2017 21:59
Created a Monitor but the Alert is not getting created for a Customized BOD Ajesh ION 26 15th February 2017 11:25
BOD Bll confusing jeffersyuan ION 4 2nd January 2017 18:49
BOD Subscription aamir_faried Open World, Portal & Decision Manager 4 12th August 2011 19:02


All times are GMT +2. The time now is 11:46.


©2001-2017 - Baanboard.com - Baanforums.com