GetCallBillableDefaultFlag

Get Case Billable Default Flag

Minor Business Rule

Object Name: N1701730

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

The purpose of this business function is to determine if the call is billable or not.  


If billing for calls processing option is turned on and the percent covered is not 100% then the call will default to billable otherwise it will default to 
non-billable.


This business function will be called from three places.  If the pricing method is flat rate then it will be called from Call Entry (P17501) and the Call 

MBF (N1700140 and N1700720).  If the pricing method is time and materials then it will be called from Call Time Entry (P17505).  This business function 

should only be called when adding a new record.


1.2Setup Notes and Prerequisites


1.3Special Logic


2.Technical Specifications

2.4Processing 


// 

//     Set Billable Flag to No

// 

BF cBillableFlag_BILL = "0"

// 

//     Check to see if Billing for Calls processing option is on

// 

If BF cBillingForCallProcOption_EV01 is equal to "1" 

// 
//     Check to that Percent Covered is not equal to 100

// 

If BF mnPercentageCovered_PCOVR is not equal to "100.00" 

// 
//     Call is Billable

// 

BF cBillableFlag_BILL = "1"

Else
// 
//     Call is fully covered - it cannot be billed

// 

BF szErrorMessageID_DTAI = "126S"

If BF cSuppressErrorMessage_SUPPS is not equal to "1" 

Set NER Error("126S", BF mnPercentageCovered_PCOVR)
End If
End If
End If



Data Structure

D1701730 - Get Case Billable Default Flag

Parameter NameData ItemData TypeReq/OptI/O/Both
cBillingForCallProcOption_EV01EV01charREQINPUT

An option that specifies the type of processing for an event.

mnPercentageCovered_PCOVRPCOVRMATH_NUMERICREQINPUT

The percentage covered under warranty or contract. This is used to calculate the amount to bill or the amount to cost for the line item being 
processed on the service order or call.

cBillableFlag_BILLBILLcharOPTOUTPUT

Special Output Parameters:

0 = Not Billable

1 = Billable


^

cSuppressErrorMessage_SUPPSSUPPScharOPTINPUT

Special Input Parameters:

1 = Suppress Error Messages

^

szErrorMessageID_DTAIDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None