Vous êtes sur la page 1sur 13

|-----------------------------------------------------------------------------| File created by ttstpcreatdll, Date: 29/07/04

| Created for session: tisfc0110m000


|-----------------------------------------------------------------------------#pragma used dll ottstpapihand
function extern void f0110m000.put.Production_Order( const domain tcpdno value )
{
DLLUSAGE
Function to set Production_Order ( ticst001.pdno ) in session tisfc0110m
000
arg: - value to put in Production_Order
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.pdno", str$(value) )
}
function extern domain tcpdno f0110m000.get.Production_Order( )
{
DLLUSAGE
Function to get Production_Order ( ticst001.pdno ) from session tisfc011
0m000
return: - value of Production_Order
ENDDLLUSAGE
string value(10)
stpapi.get.field( "tisfc0110m000", "ticst001.pdno", value )
return( lval(value) )
}
function extern void f0110m000.put.Position( const domain tcpono value )
{
DLLUSAGE
Function to set Position ( ticst001.pono ) in session tisfc0110m000
arg: - value to put in Position
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.pono", str$(value) )
}
function extern domain tcpono f0110m000.get.Position( )
{
DLLUSAGE
Function to get Position ( ticst001.pono ) from session tisfc0110m000
return: - value of Position
ENDDLLUSAGE
string value(5)
stpapi.get.field( "tisfc0110m000", "ticst001.pono", value )
return( lval(value) )
}
function extern domain tcdsca f0110m000.get.Item_Description( )
{
DLLUSAGE
Function to get Item_Description ( mitm.dsca ) from session tisfc0110m00
0
return: - value of Item_Description
ENDDLLUSAGE
string value(30)
mb
stpapi.get.field( "tisfc0110m000", "mitm.dsca", value )
return( value )
}

function extern domain tcosta f0110m000.get.tisfc001.osta( )


{
DLLUSAGE
Function to get tisfc001.osta ( tisfc001.osta ) from session tisfc0110m0
00
return: - value of tisfc001.osta
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "tisfc001.osta", value )
return( ltoe(lval(value)) )
}
function extern domain tcacoc f0110m000.get.actual.occ( )
{
DLLUSAGE
Function to get actual.occ ( actual.occ ) from session tisfc0110m000
return: - value of actual.occ
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "actual.occ", value )
return( lval(value) )
}
function extern void f0110m000.put.ticst001.sitm( const domain tcitem value )
{
DLLUSAGE
Function to set ticst001.sitm ( ticst001.sitm ) in session tisfc0110m000
arg: - value to put in ticst001.sitm
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.sitm", value )
}
function extern domain tcitem f0110m000.get.ticst001.sitm( )
{
DLLUSAGE
Function to get ticst001.sitm ( ticst001.sitm ) from session tisfc0110m0
00
return: - value of ticst001.sitm
ENDDLLUSAGE
string value(16)
stpapi.get.field( "tisfc0110m000", "ticst001.sitm", value )
return( value )
}
function extern domain tcdsca f0110m000.get.Description( )
{
DLLUSAGE
Function to get Description ( sitm.dsca ) from session tisfc0110m000
return: - value of Description
ENDDLLUSAGE
string value(30)
mb
stpapi.get.field( "tisfc0110m000", "sitm.dsca", value )
return( value )
}
function extern void f0110m000.put.ticst001.opol( const domain tcittb value )
{
DLLUSAGE
Function to set ticst001.opol ( ticst001.opol ) in session tisfc0110m000

arg: - value to put in ticst001.opol


ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.opol", str$(value) )
}
function extern domain tcittb f0110m000.get.ticst001.opol( )
{
DLLUSAGE
Function to get ticst001.opol ( ticst001.opol ) from session tisfc0110m0
00
return: - value of ticst001.opol
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "ticst001.opol", value )
return( ltoe(lval(value)) )
}
function extern void f0110m000.put.ticst001.revi( const domain tiedm.revi value
)
{
DLLUSAGE
Function to set ticst001.revi ( ticst001.revi ) in session tisfc0110m000
arg: - value to put in ticst001.revi
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.revi", value )
}
function extern domain tiedm.revi f0110m000.get.ticst001.revi( )
{
DLLUSAGE
Function to get ticst001.revi ( ticst001.revi ) from session tisfc0110m0
00
return: - value of ticst001.revi
ENDDLLUSAGE
string value(6)
stpapi.get.field( "tisfc0110m000", "ticst001.revi", value )
return( value )
}
function extern void f0110m000.put.ticst001.qune( const domain tiqcp1 value )
{
DLLUSAGE
Function to set ticst001.qune ( ticst001.qune ) in session tisfc0110m000
arg: - value to put in ticst001.qune
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.qune", str$(value) )
}
function extern domain tiqcp1 f0110m000.get.ticst001.qune( )
{
DLLUSAGE
Function to get ticst001.qune ( ticst001.qune ) from session tisfc0110m0
00
return: - value of ticst001.qune
ENDDLLUSAGE
string value(30)
stpapi.get.field( "tisfc0110m000", "ticst001.qune", value )
return( val(value) )
}

function extern domain tccuni f0110m000.get.Inventory_Unit( )


{
DLLUSAGE
Function to get Inventory_Unit ( sitm.cuni ) from session tisfc0110m000
return: - value of Inventory_Unit
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "sitm.cuni", value )
return( value )
}
function extern void f0110m000.put.ticst001.opno( const domain tcopno value )
{
DLLUSAGE
Function to set ticst001.opno ( ticst001.opno ) in session tisfc0110m000
arg: - value to put in ticst001.opno
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.opno", str$(value) )
}
function extern domain tcopno f0110m000.get.ticst001.opno( )
{
DLLUSAGE
Function to get ticst001.opno ( ticst001.opno ) from session tisfc0110m0
00
return: - value of ticst001.opno
ENDDLLUSAGE
string value(5)
stpapi.get.field( "tisfc0110m000", "ticst001.opno", value )
return( lval(value) )
}
function extern void f0110m000.put.ticst001.bfls( const domain tcyesno value )
{
DLLUSAGE
Function to set ticst001.bfls ( ticst001.bfls ) in session tisfc0110m000
arg: - value to put in ticst001.bfls
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.bfls", str$(value) )
}
function extern domain tcyesno f0110m000.get.ticst001.bfls( )
{
DLLUSAGE
Function to get ticst001.bfls ( ticst001.bfls ) from session tisfc0110m0
00
return: - value of ticst001.bfls
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "ticst001.bfls", value )
return( ltoe(lval(value)) )
}
function extern domain tccuni f0110m000.get.Length_Unit( )
{
DLLUSAGE
Function to get Length_Unit ( buom.leng ) from session tisfc0110m000
return: - value of Length_Unit
ENDDLLUSAGE
string value(3)

stpapi.get.field( "tisfc0110m000", "buom.leng", value )


return( value )
}
function extern void f0110m000.put.ticst001.leng( const domain tcleng value )
{
DLLUSAGE
Function to set ticst001.leng ( ticst001.leng ) in session tisfc0110m000
arg: - value to put in ticst001.leng
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.leng", str$(value) )
}
function extern domain tcleng f0110m000.get.ticst001.leng( )
{
DLLUSAGE
Function to get ticst001.leng ( ticst001.leng ) from session tisfc0110m0
00
return: - value of ticst001.leng
ENDDLLUSAGE
string value(30)
stpapi.get.field( "tisfc0110m000", "ticst001.leng", value )
return( val(value) )
}
function extern void f0110m000.put.ticst001.cwar( const domain tccwar value )
{
DLLUSAGE
Function to set ticst001.cwar ( ticst001.cwar ) in session tisfc0110m000
arg: - value to put in ticst001.cwar
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.cwar", value )
}
function extern domain tccwar f0110m000.get.ticst001.cwar( )
{
DLLUSAGE
Function to get ticst001.cwar ( ticst001.cwar ) from session tisfc0110m0
00
return: - value of ticst001.cwar
ENDDLLUSAGE
string value(3)
stpapi.get.field( "tisfc0110m000", "ticst001.cwar", value )
return( value )
}
function extern domain tcdsca f0110m000.get.Warehouse_Description( )
{
DLLUSAGE
Function to get Warehouse_Description ( cwar.dsca ) from session tisfc01
10m000
return: - value of Warehouse_Description
ENDDLLUSAGE
string value(30)
mb
stpapi.get.field( "tisfc0110m000", "cwar.dsca", value )
return( value )
}
function extern domain tccuni f0110m000.get.Width_Unit( )
{

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 domain tcdsca f0110m000.get.Operation_Description( )


{
DLLUSAGE
Function to get Operation_Description ( opno.dsca ) from session tisfc01
10m000
return: - value of Operation_Description
ENDDLLUSAGE
string value(30)
mb
stpapi.get.field( "tisfc0110m000", "opno.dsca", value )
return( value )
}
function extern void f0110m000.put.ticst001.nnts( const domain tisfc.nnts value
)
{
DLLUSAGE
Function to set ticst001.nnts ( ticst001.nnts ) in session tisfc0110m000
arg: - value to put in ticst001.nnts
ENDDLLUSAGE
stpapi.put.field( "tisfc0110m000", "ticst001.nnts", str$(value) )
}
function extern domain tisfc.nnts f0110m000.get.ticst001.nnts( )
{
DLLUSAGE
Function to get ticst001.nnts ( ticst001.nnts ) from session tisfc0110m0
00
return: - value of ticst001.nnts
ENDDLLUSAGE
string value(5)
stpapi.get.field( "tisfc0110m000", "ticst001.nnts", value )
return( lval(value) )
}
function extern void f0110m000.end([ref string error])
{
DLLUSAGE
Function to end connection to session tisfc0110m000
ENDDLLUSAGE
if get.argc() = 0 then
stpapi.end.session( "tisfc0110m000" )
else
stpapi.end.session( "tisfc0110m000" , error )
put.string.arg(1, error)
endif
}
function extern long f0110m000.insert( long do.update, ref string error )
{
DLLUSAGE
Function to insert a record in session tisfc0110m000
Fields must be put before calling this function
ENDDLLUSAGE
return( stpapi.insert( "tisfc0110m000", do.update, error ) )
}
function extern long f0110m000.update( long do.update, ref string error )
{
DLLUSAGE
Function to update a record in session tisfc0110m000

Record must be made current and fields to be changed before calling


this function
ENDDLLUSAGE
return( stpapi.update( "tisfc0110m000", do.update, error ) )
}
function extern long f0110m000.delete( long do.update, ref string error )
{
DLLUSAGE
Function to delete a record in session tisfc0110m000
Record must be made current before calling this function
ENDDLLUSAGE
return( stpapi.delete( "tisfc0110m000", do.update, error ) )
}
function extern long f0110m000.mark([ref string error])
{
DLLUSAGE
Function to mark the current record in session tisfc0110m000
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.mark( "tisfc0110m000" ) )
else
ret = stpapi.mark( "tisfc0110m000" , error )
put.string.arg(1, error)
return( ret )
endif
}
function extern long f0110m000.recover( ref string error )
{
DLLUSAGE
Function to undo an update/insert/delete in session tisfc0110m000
ENDDLLUSAGE
return( stpapi.recover( "tisfc0110m000", error ) )
}
function extern long f0110m000.save( ref string error )
{
DLLUSAGE
Function to save an update/insert/delete in session tisfc0110m000
ENDDLLUSAGE
return( stpapi.save( "tisfc0110m000", error ) )
}
function extern long f0110m000.find( [ref string error] )
{
DLLUSAGE
Function to find a record in session tisfc0110m000
Search fields must be put before calling this function
ENDDLLUSAGE
long ret
if get.argc() = 0 then
return( stpapi.find( "tisfc0110m000" ) )
else
ret = stpapi.find( "tisfc0110m000" , error )
put.string.arg(1, error)
return( ret )
endif

}
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 )
}