Contents 

Fast Start
Weight Scale Interfacing (Digi D770)
What Is Visual Builder?
What's New In Visual Builder?
Creating A CAPITAL Form
Creating a Form - Conceptual Overview
Creating a Form - Quick Guide For Advanced Users
The Forms Wizard
Creating A CAPITAL Report
The Label Wizard
Report Wizard Tutorial
New & Revised Topics in CAPITAL 7.5
AllocatePayment()
CrossTab()
CreateTable()
EventAdd()
FilterTable()
Find()
PayMethodName()
ReadINI()
SendHTMLMail()
TranInfo()
WriteNote()
New & Revised Topics in CAPITAL 7.41
AddPayment()
Business Functions Listing
BufferCommit()
BufferRollBack()
BufferUpdates()
ExportASCII()
GetFolder()
KitList()
LockRecord()
ReadNote()
ReadTextFile()
StockQuantity()
StrWrap()
WriteTextFile()
New & Revised Topics in CAPITAL 7.4
Business Functions Listing
CompanyName()
Department()
Field Objects
JobInfo()
Linking
Moving & Resizing Body Objects
Operators & Expressions
OrderTable()
PathData()
Picture Object Properties
ReadINI()
ReadNote()
RunApplication()
Sample Scripts
Send Product Info Email With Pictures
Start-up Switches
StockAnalysis()
TagInfo()
TranWrite()
WriteINI()
New & Revised Topics in CAPITAL 7.3
AddStock()
AddTraceProperty()
BackAllocate()
Business Functions Listing
CardFileBill()
ComError()
ComClose()
ComOpen()
ComRead()
ComSetup()
ComWrite()
ComputerName()
EchoBox()
EchoBoxOn()
EchoBoxOff()
LockSemaphore()
PasswordInfo()
ScriptRun()
TodoAdd()
Trouble-Shooting Guide
UnlockSemaphore()
New & Revised Topics in CAPITAL 7.2
Business Functions Listing
ImportASCII()
Journal()
ReadNote()
StockGetQuantity()
StockQuantity()
TimeFormat()
Version()
Basic Editing
Moving & Resizing Objects
Moving & Resizing Body Objects
Creating Forms & Reports
Form Bodies
Form Design Hints & Tips
Body Properties
Body Contents
Rule Wizard
Rule Wizard Guidelines
Body Rules
Group Wizard
Body Groups & Totals
Form Output Properties
Form Notes
Question Wizard
Form Question Prompt
Form Questions
Preface and Postscript Scripts
Form Dictionaries
Page Setup
Form Editor Preferences
Field Objects
Field Formulas
Bar Code Field Objects
Text Object Properties
Picture Object Properties
Linking
Why are Table Joins Necessary?
Linking Forms - Concepts
Linking Forms - Tutorial
Linking Forms - Hints & Problem Solver
Special Topics
CAPITAL Data Browser
Bar Codes - An Overview
Cross-Tab Concepts
Cross-Tabs
Cross Tab Fields
Cross-Tab Hints & Tips
Exporting Data
Printing
Transaction (Form) Printing
The Print Job Manager
Windows Printing Concepts
Script Programming
Business Functions Listing
Capital Business Script
Variables & Data Types
Scope
Operators & Expressions
Type Conversion
Business Functions Overview
Commands
CALL
DEBUG
GOTO (label)
IF (expression) GOTO
IF (expression) ... ELSE ... ENDIF
PAUSE
REM (*)
RETURN
Visual Forms Builder Special Variables
Sample Scripts
Sending Email Using CBS
Programmer's Frequently Asked Questions
Business Functions
AAdd()
Abs()
AddCustomer()
AddJobCard()
AddMail()
AddPayment()
AddRecord()
AddStock()
AddTraceProperty()
AllocatePayment()
Alltrim()
AnswerYes()
ArraySort()
Asc()
AsChar()
ASIZE()
AsTran()
AsVal()
AT()
BackAllocate()
BPayCRN()
BPayError()
BufferCommit()
BufferRollBack()
BufferUpdates()
CDOW()
Ceil()
CHR()
CloseFile()
CloseIndex()
CloseTable()
CMONTH()
CompanyName()
CompressTable()
ComError()
ComClose()
ComOpen()
ComRead()
ComSetup()
ComWrite()
ComputerName()
CopyFile()
CopyRecord()
CopyToClipBoard()
CreateFile()
CreateEmailJob()
CreatePrintJob()
CreateTable()
CrossTab()
CTOD()
DateFormat()
DateFromMonth()
DAY()
Dictionary()
DOW()
DTOC()
DTOS()
Echo()
EchoBox()
EchoBoxOff()
EchoBoxOn()
EchoStatus()
Eof()
EraseFile()
EventAdd()
ExpenseAnalysis()
ExportASCII()
FilterTable()
Find()
FindWindow()
ForDate()
FormAdd()
FormResult()
FreeCPU()
FormCreate()
FormShow()
GetField()
GetFolder()
Goto()
GotoBottom()
GotoTop()
HoldRecord()
GroupChange()
Idle()
IF()
ImportASCII()
IndexTable()
Input()
InputFile()
INT()
IsEmpty()
IsFile()
IsFileEnd()
IsLayBy()
IsPaid()
IsPayment()
JobInfo()
JobPriority()
JobStatus()
KitList()
LEFT()
LEN()
LockRecord()
LOWER()
LTRIM()
Max()
Min()
ModemDial()
Month()
MonthEnd()
MonthStart()
NTrim()
NumToWord()
OpenFile()
OpenTable()
OrderTable()
OpenVisualBuilder()
Pad()
PathCompany()
PathProgram()
PayMethodName()
PostMessage()
PriceUpdate
RAT()
ReadFile()
ReadNote()
ReadFileLine()
ReadTextFile()
RecNo()
RenameFile()
Replicate()
Right()
Round()
Rtrim()
RunApplication()
Seconds()
Security()
SendDirect()
SendMail()
SendEscapeCodes()
SendMail()
Shell()
Skip()
Space()
SpecialName()
SpecialPrice()
SQRT()
StockAnalysis()
StockDescription()
StockMovement()
StockPrice()
StockId()
StockQuantity()
Str()
StrLine()
StrLineCount()
Strtran()
StrWrap()
Substr()
StrZero()
Time()
Today()
TodoAdd()
TranAdd()
TranCreate()
TranWrite()
TranInc()
Transform()
TranStr()
Type()
UnlockRecord()
Unpaid()
Upper()
UserName()
UserNumber()
Version()
WaitCursor()
WaitFile()
Week()
Write()
WriteFile()
WriteFileLine()
WriteNote()
WriteTextFile()
Year()
ZipFile()
Tutorials
Report Wizard Tutorial (Basic)
Label Wizard Tutorial (Advanced)
Forms Library
The Visual Builder Report & Forms Library
Forms Stationary
Report Library - Customer Transactions
Report Library - Cash Management
Report Library - Sales Analysis
Report Library - Sales Orders & Back Orders
Report Library - Stock Control
Report Library - Service Management & Periodic Billing
Report Library - Special
Appendix
Moving Forms
Logging On
Overriding Print Warning Messages
Questions & Answers
Start-up Switches
Trouble-Shooting Guide
Weight Scale Interfacing (Digi D770)
Working With Text Printers

CAPITAL Series 7 Visual Builder Reference Guide

Prev Page Next Page

JobInfo() generate/en74.gif


Returns information about the currently selected job card.

Syntax

JobInfo(<nOp>, [<nMode>], [<lRequired>]) --> xResult

Arguments

<nOp> --> The type of information to request back.

<nMode> --> Additional data in relation to the information type, such as the stage number.

Returns

Returns the requested information. A value of -1 is returned if an error condition arises.

Description

This function returns information about the currently selected job card. The SMJOBS table must be open before calling this function. The information request and return data is documented in the following table.

nOp

Description

1

Total of all job charges ex taxes.

2

Total of all job charges including taxes.

3

Total profit on job.

4

Total costs excluding all taxes.

5

Total costs including related taxes.

6

Work-in-progress cost (work not yet charged).

7

Job is being tax flag. TRUE = taxed.

8

Total tax assigned to job.

9

Billing profit. This is the difference between total billed to date and total costs. It is exclusive of tax.

10

Stock material costs ex tax.

11

Total value of all invoices generated for this job including tax.

12

Total value of all invoices generated for this job excluding tax.

13

Billing remaining to be performed.

14

Total time/labour costs ex tax.

15

Total of all assigned expenses.

16

Total labour/time charges ex tax.

17

Total of all user charges (Some of these charges may include tax.)

18

Total stock/materials charged ex tax.

19

Total value of labour/time inclusive of tax.

20

Total value of user charges inclusive of tax.

21

Total inclusive tax apportioned to job.

22

Total user charges ex tax.

23

Adjusted cost caused by direct job invoice alteration after creation, ex tax.

24

Adjusted charge total caused by direct job invoice alteration after creation.

25

Adjusted tax due to direct editing of job invoice after creation.

26

Adjusted charge total due to direct editing of job invoices after creation, ex tax.

27

Total user charges invoiced.

28

Total of user charged tax that is inclusive.

29

Total remaining to charge/invoice.

30

Total tax on periodic billing items billed.

31

Total inclusive tax on periodic billing items.

32

Adjusted inclusive tax due to direct editing of job invoice after creation.

33

The stage name. Assign nMode the stage number to query.

34

Total charges assigned to stage. Assign nMode the stage number to query.

35

Total costs assigned to stage. Assign nMode the stage number to query.

36

Total expenses assigned to stage. Assign nMode the stage number to query.

37

Total labour/time assigned to stage. Assign nMode the stage number to query.

38

Total stock/materials assigned to stage. Assign nMode the stage number to query.

39

Total percentage of stock/materials billed/invoiced relating to stage. Assign nMode the stage number to query.

40

Total percentage of labour/time billed relating to stage. Assign nMode the stage number to query.

41

The date the stage was started. Assign nMode the stage number to query.

42

The date the stage was completed. Assign nMode the stage number to query.

43

The estimated labour/time component of the stage. Assign nMode the stage number to query.

44

The estimated stock/materials component of the stage. Assign nMode the stage number to query.

45

The estimated expenses to be allocated to the stage. Assign nMode the stage number to query.

46

The estimated total costs to be assigned to the stage. Assign nMode the stage number to query.

47

The estimated profit margin of the stage. Assign nMode the stage number to query.

48

The total value of stock/materials invoiced for this stage.

49

The total value of time/labour invoiced for this stage.

50

Total contract agreed amount.

51

Last invoice or transaction number raised.

52

Amount of last invoice or transaction number raised.

53

Date of last invoice or transaction number raised.

54

Previous-to-last invoice or transaction number raised.

55

Amount of previous-to-last invoice or transaction number raised.

56

Date of previous-to-last invoice or transaction number raised.

57

Return the total amount of unallocated pre-payments or deposits that have been assigned to this job card.

____________________________

Related Topics

Business Function List

TranInfo()