AshRam
21st May 2004, 00:21
Hi
I am trying to use BOI's provided by Baan to create Sales orders. Can any one give a sample baan 3GL/4GL script for calling bois. this is needed for me to play around the bois
Thanks

AshRam
24th May 2004, 19:43
Hi
I Created a BOIS call for Creating LOT and when I invoked it all the "type.define" returns "-100" and i don't know why. Can any throw some light on why this is happening.


function main()
{
handle.container.StructError = type.define(
tstring, "MesgCode",
tstring, "MesgDesc",
tlong , "NumberOfRows",
tlong , "HelpCode")
ccltclot.init.object()
StructLot = container.create(handle.container.StructLot,1)
error.code=container.set.nfields(StructLot,1,"Item","LITEM","Lot","L1","LotType",1,"BuyFromBusinessPartner","6B0000001")
error.code = ccltclot.Create(StructLot,"L1",818,StructError)
container.get.fields(StructError,1,mcode,mesg,no.of.sequence,hcode)
if error.code <> 0 then
message("errordesc %s", mesg)
else
message("Updated")
endif
}

r_bharose
29th July 2004, 10:49
I checked on our system. I am also getting the error "-100" for any functions related to container creation, addition etc.

Anybody can trow light on this? or what does error -100 mean. It is not documented in the BOI development guide. Hence clueless on what exactly it means. Documentation says any negative value means error.

Ram

Hitesh Shah
30th July 2004, 09:04
It could mean duplicate index value and error 100 returned by database.