Académique Documents
Professionnel Documents
Culture Documents
DLLUSAGE
Function to get Width_Unit ( buom.widt ) from session tisfc0110m000
return: - value of Width_Unit
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "buom.widt", value )
return( value )
}
function extern void f0110m000.put.ticst001.widt( const domain tcwidt value )
{
DLLUSAGE
Function to set ticst001.widt ( ticst001.widt ) in session tisfc0110m000
arg: - value to put in ticst001.widt
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.widt", str$(value) )
}
function extern domain tcwidt f0110m000.get.ticst001.widt( )
{
DLLUSAGE
Function to get ticst001.widt ( ticst001.widt ) from session tisfc0110m0
00
return: - value of ticst001.widt
ENDDLLUSAGE
string value(30)
stpapi.get.field( "tisfc0110m000", "ticst001.widt", value )
return( val(value) )
}
function extern domain tcqiv1 f0110m000.get.Inventory_on_Hand( )
{
DLLUSAGE
Function to get Inventory_on_Hand ( sitm.stoc ) from session tisfc0110m0
00
return: - value of Inventory_on_Hand
ENDDLLUSAGE
string value(30)
stpapi.get.field( "tisfc0110m000", "sitm.stoc", value )
return( val(value) )
}
function extern void f0110m000.put.ticst001.noun( const domain tinoun value )
{
DLLUSAGE
Function to set ticst001.noun ( ticst001.noun ) in session tisfc0110m000
arg: - value to put in ticst001.noun
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.noun", str$(value) )
}
function extern domain tinoun f0110m000.get.ticst001.noun( )
{
DLLUSAGE
Function to get ticst001.noun ( ticst001.noun ) from session tisfc0110m0
00
return: - value of ticst001.noun
ENDDLLUSAGE
string value(10)
stpapi.get.field( "tisfc0110m000", "ticst001.noun", value )
return( lval(value) )
}
function extern domain tcqiv1 f0110m000.get.Inventory_on_Order( )
{
DLLUSAGE
Function to get Inventory_on_Order ( sitm.ordr ) from session tisfc0110m
000
return: - value of Inventory_on_Order
ENDDLLUSAGE
string value(30)
stpapi.get.field( "tisfc0110m000", "sitm.ordr", value )
return( val(value) )
}
function extern void f0110m000.put.ticst001.scpf( const domain tcscpf value )
{
DLLUSAGE
Function to set ticst001.scpf ( ticst001.scpf ) in session tisfc0110m000
arg: - value to put in ticst001.scpf
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.scpf", str$(value) )
}
function extern domain tcscpf f0110m000.get.ticst001.scpf( )
{
DLLUSAGE
Function to get ticst001.scpf ( ticst001.scpf ) from session tisfc0110m0
00
return: - value of ticst001.scpf
ENDDLLUSAGE
string value(5)
stpapi.get.field( "tisfc0110m000", "ticst001.scpf", value )
return( lval(value) )
}
function extern domain tcqiv1 f0110m000.get.Allocated_Inventory( )
{
DLLUSAGE
Function to get Allocated_Inventory ( sitm.allo ) from session tisfc0110
m000
return: - value of Allocated_Inventory
ENDDLLUSAGE
string value(30)
stpapi.get.field( "tisfc0110m000", "sitm.allo", value )
return( val(value) )
}
function extern domain tcdsca f0110m000.get.Inspection_Status( )
{
DLLUSAGE
Function to get Inspection_Status ( insp.status.dsca ) from session tisf
c0110m000
return: - value of Inspection_Status
ENDDLLUSAGE
string value(30)
mb
stpapi.get.field( "tisfc0110m000", "insp.status.dsca", value )
return( value )
}
}
function extern void f0110m000.clear( )
{
DLLUSAGE
Function to clear the current record in session tisfc0110m000
ENDDLLUSAGE
stpapi.clear( "tisfc0110m000" )
}
function extern long f0110m000.first([ref string error] )
{
DLLUSAGE
Function to find the first record in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.set( "tisfc0110m000", "first.set" ) )
else
ret = stpapi.browse.set( "tisfc0110m000", "first.set" , error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.next([ref string error] )
{
DLLUSAGE
Function to find the next record in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.set( "tisfc0110m000", "next.set" ) )
else
ret = stpapi.browse.set( "tisfc0110m000", "next.set" , error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.previous([ref string error] )
{
DLLUSAGE
Function to find the previous record in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.set( "tisfc0110m000", "prev.set" ) )
else
ret = stpapi.browse.set( "tisfc0110m000", "prev.set" , error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.last([ref string error] )
{
DLLUSAGE
Function to find the last record in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.set( "tisfc0110m000", "last.set" ) )
else
ret = stpapi.browse.set( "tisfc0110m000", "last.set" , error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.set.view( [ref string error] )
{
DLLUSAGE
Function to define another view in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.change.view( "tisfc0110m000" ) )
else
ret = stpapi.change.view( "tisfc0110m000", error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.first.view([ref string error] )
{
DLLUSAGE
Function to read the first view in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.view( "tisfc0110m000" , "first.view" ) )
else
ret = stpapi.browse.view( "tisfc0110m000", "first.view", error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.next.view([ref string error] )
{
DLLUSAGE
Function to read the next view in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.view( "tisfc0110m000" , "next.view" ) )
else
ret = stpapi.browse.view( "tisfc0110m000", "next.view", error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.previous.view([ref string error] )
{
DLLUSAGE
Function to read the previous view in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.view( "tisfc0110m000" , "prev.view" ) )
else
ret = stpapi.browse.view( "tisfc0110m000", "prev.view", error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.last.view([ref string error] )
{
DLLUSAGE
Function to read the last view in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.browse.view( "tisfc0110m000" , "last.view" ) )
else
ret = stpapi.browse.view( "tisfc0110m000", "last.view", error )
put.string.arg(1, error)
return( ret )
endif
}
function extern void f0110m000.OrdSpec_Insp( ref string error )
{
DLLUSAGE
Function to start application option OrdSpec_Insp( option 1 ) in session
tisfc0110m000
ENDDLLUSAGE
stpapi.application.option( "tisfc0110m000", 1, 1, error )
}
function extern void f0110m000.Ord_Spec_Insp( ref string error )
{
DLLUSAGE
Function to start application option Ord_Spec_Insp( option 1 ) in sessio
n tisfc0110m000
ENDDLLUSAGE
stpapi.application.option( "tisfc0110m000", 2, 1, error )
}
function extern void f0110m000.Maintain_Order_Specific_Inspections( ref string e
rror )
{
DLLUSAGE
Function to start Maintain_Order_Specific_Inspections in session tisfc01
10m000
ENDDLLUSAGE
stpapi.zoom.option( "tisfc0110m000", 1, "tcqms0149s000", error )
}
function extern string f0110m000.get.last.message.code([ref string error])
{
DLLUSAGE
Function to get the code of the message which occurred on
the last insert/update/delete/save/recover action in session tisfc0110m0
00
ENDDLLUSAGE
string ret
if get.argc() = 0 then
return( stpapi.get.mess.code( "tisfc0110m000" ) )
else
ret = stpapi.get.mess.code( "tisfc0110m000", error )
put.string.arg(1, error)
return( ret )
endif
}
function extern string f0110m000.get.last.error( )
{
DLLUSAGE
Function to get the error message which occurred on
the last action in the Function Server
ENDDLLUSAGE
return( stpapi.get.error( ) )
}
function extern void f0110m000.handle.sub.process( const string sub.process, con
st string action )
{
DLLUSAGE
Function to define an action when a sub process is started.
Possible actions are: add/send/ignore/kill
add
- add child session to internal structure,
session dll of child can be used
send
- send all api calls to child instead of parent
ignore - child process is ignored, parent will wait
until child exits (for background processes)
kill
- child process is killed immediately
ENDDLLUSAGE
stpapi.handle.subproc( "tisfc0110m000", sub.process, action )
}
function extern void f0110m000.define.enum.answer( const string question, bset a
nswer )
{
DLLUSAGE
Function to define an answer on a question, when the default answer shou
ld not be taken.
ENDDLLUSAGE
stpapi.enum.answer( "tisfc0110m000", question, answer )
}