Saturday, April 16, 2011

HP OVS M7 notes 3


  • $G.locked, $L.locked to check if file is locked.
  • If ($L.save.mode="reopen") then ($L.notify.name="IM Edit Reopen".
  • In order to build a global list at startup, put the required list there or build.startup=true.
  • In 6.x the operator array field in the assignment record became obsolete. The groups the operator is a member of are stored in the operator record.
  • If $L.ds.action="do nothing" no rad will be executed in display options.
  • $fill.search.format to change criteria before selecting data for filling.
  • Cursor.field.name.set(“fieldname”).
  • transactioncount file contains the number of times all files has been deleted or updated or added.
  • Us.count.connections: captures the number of login and save it to stathistory file.
  • Fill button must have id 9 and find must have id 8
  • In links, if the field names are different , then the source and target must be identified
  • Create login.operator to eliminate login.DEFAULT
  • Subformats should have their X and Y values set to even numbers
  • Clocks file keeps record of all clocks
  • Blobcopy to copy attachment from interaction to incident-> a trigger in screlation file when a new record is added.
  • $L.void=rtecall("blobcopy", $L.errcode, "<source table, eg. "incidents">", <unique key in source table, eg. incident.id in $filex>, "<target table, eg. "probsummary">, <unique key in target table, eg. number in $file>)
    1. Go to Database Manager
    2. Enter "screlconfig" into Table and click Search
    3. Enter problem into File name and click Search
    4. Under the Open tab in the Post Open Expressions enter: if (filename($L.related)="probsummary" and filename($L.primary)="incidents") then ($L.void=rtecall("blobcopy", $L.RC, "incidents", incident.id in $L.primary, "probsummary", number in $L.related))
    5. Save the record
  • Screlconfig defines what fields to store in screlation file.
  • Apm.start.clock, apm.stop.clock, apm.get.clock
  • To add clock to any file, use pmstatus file as guideline.
  • Producttype to define categories and subcategories.

Part 2


Part 1

No comments:

Post a Comment