View Single Post
  #1  
Old 7th November 2007, 07:37
som.papai's Avatar
som.papai som.papai is offline
Senior Member
 
Join Date: Jun 2007
Posts: 102
som.papai is on a distinguished road
Baan: BaaN C IV, LN - DB: Sql Server - OS: Windows
Unhappy Purchase Order Generation error from AFS IN ERP_LN FP2

Hi all,
I am going to generate P.O from ERP_LN FP2 through AFS.
I write this code, to save data in header.

i.buy.from.bp="CDMA00001"
ret_val =stpapi.synchronize.dialog("tdpur4100m000", "add", error)
stpapi.put.field("tdpur4100m900","tdpur400.otbp",i.buy.from.bp)
ret_val = stpapi.insert( "tdpur4100m900", true, error )
stpapi.end.session("tdpur4100m900")

I am getting error "Editable Synchronized Dialog not Started"
at this stpapi.insert( "tdpur4100m900", true, error ) Line.
In LN when I am going to write AFS I always stuck with this problem.


plz help me.
Sudipta Som
Reply With Quote