2022 April Release

Class COOWF@1.1:PrescriptionTemplate Permanent link for this heading

Class Hierarchy

Object > BasicObject > PrescriptionTemplate

Check properties of activity instance before they are saved.

Additional Information

Properties Permanent link for this heading

Type

Property

Name

ActivityDefinition

actinstprescrback

Activity Back

WorkFlowPrescriptionBlockList[]

actinstprescrblocks

Additional Prescriptions

WorkFlowPrescriptionList[]

actinstprescription

Prescriptions

PrescriptionMetaDataWhat

actinstprescrmetawhat

What

PrescriptionMetaDataWhen

actinstprescrmetawhen

Deadlines

PrescriptionMetaDataWhenWorkDays

actinstprescrmetawhenworkdays

Deadlines

PrescriptionMetaDataWho

actinstprescrmetawho

Who

boolean

actinstprescrparallel

Parallel

Actions Permanent link for this heading

Return Type

Signature

void

AddPrescription(
  ref WorkFlowPrescriptionList[] prescription,
  SavePresciptionActionType action,
  ref optional integer pblockidx,
  ref optional integer pidx,
  optional WorkFlowPrescriptionBlockList[] prescriptionblocks)

void

AttrActInstSet(
  AttributeDefinition attrdef,
  ref optional any value,
  any oldvalue)

void

AttrPrescriptionBlockConstructor(
  object attrdef,
  out any value,
  any[] oldvalues)

void

AttrPrescriptionLineConstructor(
  object attrdef,
  out any value,
  any[] oldvalues)

boolean

CheckAppLicense(
  optional boolean objdirect,
  optional string instance,
  optional boolean disableerrorapps,
  optional object context,
  optional boolean silentmode,
  out retval boolean haslicense)

boolean

CheckInsertTemplate(
  integer pblockidx,
  integer pidx,
  out retval boolean allowed)

void

CheckPrescriptionsForm(
  object action,
  out optional object attrdef,
  out optional string askquestion,
  out WorkFlowPartAccessMapping[] invaffiliatonparts,
  optional boolean needplaintexterrors,
  optional WorkFlowPrescriptionList[] prescriptions,
  optional WorkFlowPrescriptionBlockList[] prescriptionblocks,
  out dictionary workflowsubstitutioninfos)

void

CheckSimplePrescriptionsForm(
  object action,
  out optional object attrdef,
  out optional string askquestion,
  out WorkFlowPartAccessMapping[] invaffiliatonparts,
  optional boolean needplaintexterrors,
  optional WorkFlowPrescriptionList[] prescription,
  optional WorkFlowPrescriptionBlockList[] prescriptionblocks,
  out dictionary workflowsubstitutioninfos)

WorkFlowPrescriptionList[]

ExtractSubPrescription(
  WorkFlowSubPrescriptionList[] source,
  out retval WorkFlowPrescriptionList[] extractedprescription)

dictionary

GetPageTemplateVisibilitySettings(
  string title,
  object context,
  out retval dictionary tpsettings)

void

GetPrescribeTemplate(
  out WorkFlowPrescriptionList[] prescription,
  out boolean prescrparallel,
  ref object prescrback,
  out optional WorkFlowPrescriptionBlockList[] prescrblocks,
  optional boolean prescrblocksonly,
  optional object[] selobjects,
  optional boolean edittemplate)

string

GetPrescriptionHeadLine(
  out retval string headline,
  out string label,
  out string prescrlabel,
  optional boolean processmultiplecommon)

boolean

GetReleaseTemplateForUsageTransaction(
  out retval boolean sametx)

string

GetReleaseTemplateText(
  out string title,
  out retval string description,
  optional boolean newtemplate)

boolean

IsDraftTemplate(
  out retval boolean isdrafttemplate)

void

MovePrescription(
  ref integer[] srcindices,
  ref integer[] dstindices,
  SavePresciptionActionType mode,
  boolean after,
  optional WorkFlowPrescriptionList[] updatedprescription)

void

NormalizeNestedPrescriptions(
  ref WorkFlowPrescriptionBlockList[] blocks)

void

RemovePrescription(
  ref WorkFlowPrescriptionList[] prescription,
  ref optional integer pblockidx,
  ref optional integer pidx)

void

ResolveDistributionList(
  ref WorkFlowPrescriptionBlockList[] prescriptionblocks,
  optional boolean persist)