Class: cWebBusinessProcess

Module location: cWebBusinessProcess.pkg line 259 (view source)

Class Hierarchy:

cObjectcDistributedBusinessProcesscRemoteEntryProcesscInternetSessionBusinessProcesscWebBusinessProcess

Mixins:

HtmlFormat_Mixin, HtmlWrite_Mixin, WmlFormat_Mixin, WmlWrite_Mixin,

Class Definition

Properties

integerhDDValueInterface
integerphAutoWebReport
integerphLastFindDD
integerpiLastFindIndex
StringpsAutoEntryDataEnd
StringpsAutoEntryDataStart
StringpsAutoEntryLabelEnd
StringpsAutoEntryLabelStart

Functions and Procedures

integerAutoEntry(string sFileName)
This creates an entire HTML output entry form automatically for all fields that are not binary or overlap
integerAutoReport(string sFileName string iIndex string sHRef integer iMax integer iStart)
Auto report. pass: FileName, Index, ASP-href name
Construct_object()
Inherited from cInternetSessionBusinessProcess
stringCreateFindIndexCombo(string sComboName string sfileName integer iDfltIndex)
Create a Combo with all Indexes for passed File and current selected fldname returns control named FindIndex
stringDDAutoControl(integer hMain integer iFile integer iField string sParams)
integerddClear(string sFile)
ddClear
stringDDComboControl(integer hMain integer iFile integer iField string sParams)
stringDDComboOptions(integer hMain integer iFile integer iField)
integerddDelete(string sFile)
ddDelete Delete current record in DD
stringDDEditControl(integer hMain integer iFile integer iField string sParams)
stringDDFieldErr(integer hMain integer iFile integer iField integer bShort)
integerddFind(string sFileName string sFieldName Integer iFindMode)
ddFind Find Record from primed DD buffer Note: 2nd param (sFieldName) can be a field (if name passed) or an index (if number passed)
integerddFindbyRecId(string sfileName String sRec)
ddFindbyrecId Find by record Id. Pass FileName and record ID
integerddFindbyRowId(string sfileName string sSerializedRowId)
integerddFindFirst(string sFile string sField)
ddFindFirst Find First record. Note: 2nd param can be a field (if name passed) or an index (if number passed)
integerddFindLast(string sFile string sField)
ddFindLast Find last record. Note: 2nd param can be a field (if name passed) or an index (if number passed)
integerddFindNext()
ddFindNext Find next record. Must be primed with a ddFind, ddFindFirst or ddFindLast This takes no params, it uses last "primed" find data.
integerddFindPrev()
ddFindPrev Find previous record. Must be primed with a ddFind, ddFindFirst or ddFindLast This takes no params, it uses last "primed" find data.
stringDDFormControl(integer hMain integer iFile integer iField string sParams)
stringDDHndValue(integer hMain integer iFile integer iField integer iOption string sParams)
Inherited from cInternetSessionBusinessProcess
This replaces the standard ddValue
stringDDParentComboControl(integer hMain integer iFile integer iField string sParams)
changed to use row ids instead of recnums. Should work the same
stringDDRadioControl(integer hMain integer iFile integer iField string sParams)
in WA/3 we now pass optional decriptions on sParams delmited by "|". e.g. "Yes|No|Maybe". If passed those are used for the radio item descriptions. If not passed, we use the database values which is consistent with WA/2.
StringDDReadOnlyHTML(integer hMain integer iFile integer iField)
stringDDRecsOptions(integer hMain integer iFile integer iField)
stringDDRowIdsOptions(integer hMain integer iFile integer iField)
integerddSave(string sFile)
ddSave This does a validate and a save.
StringDDTitleHTML(integer hMain integer iFile integer iField)
integerddValidate(string sFile)
ddValidate validate all fields (even if error is encountered all fields are validated)
stringDDWMLInputControl(integer hMain integer iFile integer iField string sParams)
create input for WML
integerDoAutoReport(integer iIndex string sHref integer iMax integer iStart)
not used. keeps the compiler happy
integerDoRequestFindbyRecId(string sfileName String sRec)
Find by recnum. Pass FileName and record ID
integerDoRequestFindbyRowId(string sfileName String sRec)
Find by rowed. Pass FileName and serialized row id
Enumerate_DDOs(integer hDD integer hMsg integer hObj string sP1 string sP2)
************************************************************************* *** Interface reporting: ************************************************************************* Ideally these two messages belong in the DD class. traverse All DDOs starting at the parent most and working down.
StringFormatXmlObjName(String sObject)
FormatXmlObjName ---------------- This is a cheap way to improve the way that object names appear in WebApp.xml At least it is better than ALLCAPS.
StringGetParamType(String sParamName)
GetParamType ------------ determine the parameter type by analysing the parameter name. The analysis is case-sensitive, so the name must be case-exact...
stringHtml_Ctrl_Name(integer iFile integer iField)
stringHtml_Ctrl_RowId_Name(integer iFile)
stringIndexMainField(string sfileName integer iIndex)
return field name of first segment in index
PrivateEnumerate_DDOs(integer hDD integer hMsg integer hObj string sP1 string sP2)
RegisterAutoEntryInterface()
includes interface to create an auto-entry screen
RegisterBasicErrorInterface()
RegisterDDInterface()
RegisterDebugInterface()
RegisterFullErrorInterface()
RegisterStandardInterface()
Inherited from cCallInterfaceHelper_mixin
includes the standard call Interface
ShowDDData(integer hDD integer hoObj integer hmMsg)
ShowddValue(integer hoObj integer hmMsg)
ShowWBOData(integer hoObj integer hmMsg integer iMode)
ShowXml(integer hObj)
ShowXml ------- XML Output. Both of these messages expect that hOBj understands the messages Add_xml_tag, begin_xml_tag and end_xml_tag
ShowXMLDDdata(integer hDD integer hObj)
ShowXMLDDdata -------------
ShowXMLddValue(integer hObj)
ShowXMLddValue --------------
ShowXmlMethodParameters(Integer hObj String sParams integer bExtendedParams)
ShowXmlMethodParameters ----------------------- This method parses the sParams and outputs the <Params> collection of WebApp.xml. The sParams string is derived from the InterfaceMessageParams property of a given interface method.
StringTrueFalse(integer bState)
stringValTbl_ItemData(integer hMain integer iFile integer iField integer iItem)
stringValTbl_ItemDesc(integer hMain integer iFile integer iField integer iItem)
integerValTbl_Items(integer hMain integer iFile integer iField)
stringWmlCreateFindIndexSelect(string sComboName string sfileName integer iDfltIndex)
create index selector for WML
WriteData(address pData)
WriteHtml(string sHtml)
If you use characters that could be understod as a html tag it will be written as a tag.
WriteHtmlPlainText(string sTxt)
Will output everything in the string without destroying the HTML page.
StringYesNo(integer bState)

References (10):

ModuleContaining SymbolLine
Customer.wooCustomer6
CustomerReport.wooCustomerReport6
Invt.wooInvt7
login.wooLoginUsers5
OrderDtlReport.wooOrderDtlReport11
OrderReport.wooOrderReport8
SalesP.wooSalesP6
Vendor.wooVendor7
WapCustList.wooWapCustList7
WapCustomerMaint.wooWapCustomerMaint5