Hi all,
Any help you can give will be much appreciated.
I'm using the BOD.Publish function in a SalesOrder Session Extension Custom Form Command to create and publish a SalesOrder Sync BOD on command. The function returns 0 and there are no errors or exceptions. When this function is ran I can see the BOD in the outbox with the status "Being Created". The BOD doesn't come out of this state or go through ION however. I am able to get other SalesOrder Sync BODs out of ION under normal circumstances (e.g. creating a SalesOrder). Could I be missing a function to execute after BOD.Publish or could I be missing something in ION?
Current code:
domain tcbod.name bod.name
bod.name = "SalesOrderBOD"
domain tcmcs.tabl table.name
table.name = "tdsls400"
domain tcmcs.str30 action.code
action.code = "Replace"
long entity.type
entity.type = 2
domain tcmcs.str30 entity.code
entity.code = tdsls400.cofc
domain tcmcs.str100 document.id
document.id = tdsls400.orno
domain tcmcs.str30 processing.action
processing.action = "OnlyPublish"
domain tcmcs.s999m oExceptionMessage
long oExceptionID
long Response
Response = BOD.Publish(bod.name, table.name, action.code, entity.type, entity.code,
document.id, processing.action, oExceptionMessage, oExceptionID, tdsls400.orno)
If there are any examples of how to use this function (i.e if there are any other processes that need to be done after it) that would also be helpful.
Thanks

