baancust
1st November 2007, 14:48
Hi,
| Put the make item.
stpapi.clear("tibom1110m000")
stpapi.put.field( "tibom1110m000", "tibom010.mitm", makeitem )
rc = stpapi.change.view( "tibom1110m000", msg )
| Put the bom fields on the session form.
stpapi.put.field( "tibom1110m000", "tibom010.pono", str$(position) )
stpapi.put.field( "tibom1110m000", "tibom010.sitm", subitem )
stpapi.put.field( "tibom1110m000", "tibom010.cpha", str$(cpha) )
stpapi.put.field( "tibom1110m000", "tibom010.exin", exin )
stpapi.put.field( "tibom1110m000", "tibom010.qana", str$(quantity) )
stpapi.put.field( "tibom1110m000", "tibom010.seqn", str$(1) )
stpapi.put.field( "tibom1110m000", "tibom010.ltom", str$(tcyesno.no))
rc = stpapi.insert( "tibom1110m000", 1, msg )
I used this code but after insert msg was captured with a error "Editable Sychronised dialog not started".Please help me.
Regards,
Baancust.
| Put the make item.
stpapi.clear("tibom1110m000")
stpapi.put.field( "tibom1110m000", "tibom010.mitm", makeitem )
rc = stpapi.change.view( "tibom1110m000", msg )
| Put the bom fields on the session form.
stpapi.put.field( "tibom1110m000", "tibom010.pono", str$(position) )
stpapi.put.field( "tibom1110m000", "tibom010.sitm", subitem )
stpapi.put.field( "tibom1110m000", "tibom010.cpha", str$(cpha) )
stpapi.put.field( "tibom1110m000", "tibom010.exin", exin )
stpapi.put.field( "tibom1110m000", "tibom010.qana", str$(quantity) )
stpapi.put.field( "tibom1110m000", "tibom010.seqn", str$(1) )
stpapi.put.field( "tibom1110m000", "tibom010.ltom", str$(tcyesno.no))
rc = stpapi.insert( "tibom1110m000", 1, msg )
I used this code but after insert msg was captured with a error "Editable Sychronised dialog not started".Please help me.
Regards,
Baancust.