Hello,
I have developed a custom BOD in LN CE (MT) and am trying to publish it through the BOD.publish
function, but it is not publishing. Here is my code. Your help would be greatly appreciated.
My ret value is 0 but i am not getting this BOD in oneview.
ret = BOD.Publish( "AdvanceBODBOD",
"txacp200",
"Add",
2,
"",
txacp200.rqno,
"StageOrPublish",
oExceptionMessage,
oExceptionID,
txacp200.rqdt,
txacp200.rqem,
txacp200.orno,
txacp200.bpid,
txacp200.oamt,
txacp200.ccur,
txacp200.amnt,
txacp200.aprc,
txacp200.remk,
"",
"",
"",
"",
""
)
long iif ret <> 0 then
for i = 1 to Exception.NumberOfMessages(oExceptionID)
Exception.GetMessage(oExceptionID, i, oExceptionMessageDescription)
message("@"& oExceptionMessageDescription)
endfor
abort.transaction()
else
commit.transaction()
message("Advance Request has been submitted for approvals")
endif