Klik op het logo voor hulp op afstand
  
 
 
 
 
 
 
 




Scripting Function Reference T


TagReport (Dslot,B)

JoPPS

 

Tags or untags a report slot.

î     Dslot is the slot index,
      B denotes if the specified slot should be tagged (TRUE) or untagged (FALSE).

 

Slot index constants

Meaning

Type

Value

SLOT_ALL

Represents all report slots

 

-1

SLOT_OUTLINES

Outlines

HTML

0

SLOT_BILL_OF_MATERIAL

Bill of material

HTML

1

SLOT_CUTTING_LIST

Cutting list

HTML

2

SLOT_ACCESSORIES_LIST

Accessories list

HTML

3

SLOT_FILLING_LIST

Filling list

HTML

5

SLOT_FINISHING_LIST

Finishing list

HTML

6

SLOT_FRAME_PER_PAGE

Frame per page

HTML

7

SLOT_ASSEMBLY_PER_PAGE

Assembly per page

HTML

8

SLOT_ORDERLIST_PER_SUPPLIER

Orderlist per supplier

HTML

9

SLOT_ORDERLIST_PER_PRODUCT

Orderlist per product

HTML

10

SLOT_OPTIMIZATION

Optimization

HTML

11

SLOT_ESTIMATION_DETAIL

Estimation detail

HTML

12

SLOT_ESTIMATION_SUMMARY

Estimation Summary

HTML

13

SLOT_CALCULATION_DETAIL

Calculation Detail

HTML

14

SLOT_CALCULATION_SUMMARY

Calculation Summary

HTML

15

SLOT_SECTIONS_HTML

Sections

HTML

16

SLOT_OFFER_HTML

Offer

HTML

17

SLOT_OFFER_OUTLINES

Offer outlines

HTML

18

SLOT_INVOICE

Invoice

HTML

19

SLOT_CONFIRMATION

Confirmation note

HTML

20

SLOT_DELIVERY_NOTE

Delivery note

HTML

21

SLOT_STATISTICS

Statistics

HTML

22

SLOT_OUTLINES_LBL

Outlines

LABEL

23

SLOT_FINISHING_LBL

Finishing

LABEL

24

SLOT_OPTIMIZATION_LBL

Optimization

LABEL

26

SLOT_ORDERLIST_PER_SUPPLIER_TEXT

Orderlist per supplier

TEXT

27

SLOT_ORDERLIST_PER_PRODUCT_TEXT

Orderlist per product

TEXT

28

SLOT_OFFER_SCRIPT

Offer

SCRIPT

29

SLOT_ORDERLIST_PER_SUPPLIER_SCRIPT

Orderlist per supplier

SCRIPT

30

SLOT_ORDERLIST_PER_PRODUCT_SCRIPT

Orderlist per product

SCRIPT

31

SLOT_SECTIONS_SCRIPT

Sections

SCRIPT

32

SLOT_BILL_OF_MATERIAL_TEXT

Bill of material

TEXT

33

SLOT_CUTTING_LIST_TEXT

Cutting list

TEXT

34

SLOT_ACCESSORIES_LIST_TEXT

(rrently not used)

TEXT

35

SLOT_FINISHING_LIST_TEXT

(currently not used)

TEXT

36

SLOT_FRAME_LBL

(currently not used)

TEXT

37

SLOT_USER1

User defined report #1

HTML

38

SLOT_USER2

User defined report #2

HTML

39

SLOT_USER3 (2.0)

User defined report #3

HTML

40

SLOT_USER4 (2.0)

User defined report #4

HTML

41

SLOT_USER5 (2.0)

User defined report #5

HTML

42

SLOT_MC1_LBL (2.10)

Labels MC-1

LABEL

63

SLOT_MC2_LBL (2.10)

Labels MC-2

LABEL

62

&    UpdateReports, Calculate, SetCalcMode, GetCalcMod

&    Refer to 3. Using JoPPS-Script in JoPPS for more information on report slots.

 

 

TAN (Dangle) : D

JoPPS/JCALL/JScripter

 

Returns the tangent of the D-type argument.

î       Dangle is the angle in degrees.

ì       Returns the tangent of the given angle.

&     ATAN, SIN, ASIN, COS, ACOS

 

 

Terminate () : B

JoPPS – V2.82

 

Terminates JoPPS session. Programmer has responsibility of saving all changed projects and/or data before calling this function within a script.

î     No arguments

ì Returns TRUE if succesfull, FALSE if not.

 

TextIn( ? ) : ?

JCALL – V2.82

 

To be documented.

 

 

TextOut (S)

JoPPS/JCALL – V2.82

 

Writes a string to the standard output stream.

î       S is the string to be written.

 

&     LineOut, CharOut

 

TimeToStr ([Ddatetime]) : S

JoPPS/JCALL/JScripter

 

Converts the time part of a given date-time value into a string. (using the ShortTimeFormat setting from the Windows regional settings)

î       Ddatetime is the date-time value to convert
ì       The time string.

 

&     Now, DateToStr, DateTimeToStr, FormatDateTime

 

Trim (Ssource) : S

JoPPS/JCALL/JScripter

 

Trim deletes leading and/or trailing spaces and control characters.

î       Ssource is the string to trim.

ì       The trimmed string.

 

&     LTrim, RTrim

 

TRUNC (D) : Dint

JoPPS/JCALL/JScripter

 

Truncates a number to an integer.

 

î       D is the number to be truncated.

ì       The integer part of the number.

 

&     ROUND, CEIL, FLOOR

 




 |  History  |
 
 

 
 
 
TECHWIN SOFTWARE
De Regenboog 11
B-2800 Mechelen
T +32(0)15 44 64 64
T +31(0)30 899 32 15 Nederland