Hi,
I am creating a project using AFS. It is generating the Project by skipping 8 number.
Like firstly it generate - S010000001
on second time , it is generating - S010000008 and so on.
While, when we create manually, It is generating normally - like S01000001,S01000002.
Can anyone guide me over this.
Regards,
Mani sharma
I am creating a project using AFS. It is generating the Project by skipping 8 number.
Like firstly it generate - S010000001
on second time , it is generating - S010000008 and so on.
While, when we create manually, It is generating normally - like S01000001,S01000002.
Can anyone guide me over this.
Code:
stpapi.put.field("tppdm6100m000", "tppdm600.cprj","M01")
stpapi.get.field("tppdm6100m000","tppdm600.cprj",o.cprj)
stpapi.put.field( "tppdm6100m000", "tppdm600.dsca", "Test Series" )
stpapi.put.field( "tppdm6100m000", "tppdm600.padr", "123NED001")
stpapi.put.field( "tppdm6100m000", "tppdm600.entu", "SGMAGR")
stpapi.put.field( "tppdm6100m000", "tppdm600.ccur", "INR")
stpapi.put.field( "tppdm6100m000", "tppdm600.intp", str$(etol(tppdm.yeno.yes)))
stpapi.put.field( "tppdm6100m000", "tppdm600.capp", str$(etol(tppdm.yeno.yes)))
stpapi.put.field( "tppdm6100m000", "tppdm600.kopr", str$(etol(tppdm.kopr.main)))
stpapi.put.field( "tppdm6100m000", "tppdm600.rtyp", "INT")
stpapi.put.field( "tppdm6100m000", "tppdm600.cuni", "h")
stpapi.put.field("tppdm6100m000","tppdm600.rfcu","")
stpapi.put.field("tppdm6100m000","tppdm600.btpr",str$(etol(tppdm.bdtp.struct.budget)))
stpapi.put.field("tppdm6100m000","tppdm600.btco",str$(etol(tppdm.bdtp.struct.budget)))
stpapi.put.field( "tppdm6100m000", "tppdm600.dwar", "PROJ01" )
stpapi.put.field( "tppdm6100m000", "tppdm600.pwar", "BRWP01" )
ret_val = stpapi.insert("tppdm6100m000",true,error)
Regards,
Mani sharma