Baanboard.com

Baanboard.com (http://www.baanboard.com/baanboard/index.php)
-   ION (http://www.baanboard.com/baanboard/forumdisplay.php?f=83)
-   -   Not Getting Acknowledgement BOD (http://www.baanboard.com/baanboard/showthread.php?t=70291)

bansaanu 7th August 2017 21:19

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

bhushanchanda 8th August 2017 11:42

Hi,

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

bansaanu 8th August 2017 14:18

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

bhushanchanda 8th August 2017 16:14

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)


bansaanu 9th August 2017 07:21

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

bansaanu 9th August 2017 16:43

1 Attachment(s)
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

bhushanchanda 10th August 2017 13:06

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.

bansaanu 10th August 2017 16:17

1 Attachment(s)
Hi Bhushan,

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


Regards,
Anubhav

bhushanchanda 10th August 2017 16:41

This looks okay too. Hope you have written the required code in the OnExecute hook. Also, is the AcknowledgeMaterialIssue1BOD.xml placed in the repository?

bansaanu 10th August 2017 17:54

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


All times are GMT +2. The time now is 06:40.


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