IsBPC

Is BPC

Minor Business Rule

Object Name: B1400011

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function serves as a data dictionary trigger and validates the budget pattern code against the 

F1401 table. It also returns the the budget pattern code description.


Setup Notes and Prerequisites

Make sure that the budget pattern code is passed in as a parameter to szBudgetPatternCode AND 

szBehaviorEditString.


Technical Specification

• If the budget pattern code parameter is NULL
• Set an error
• Return
• If the behavior edit string is blank
• Return
• If the budget pattern code parameter is blank
• Return
• Open F1401
• Retrieve the record for the budget pattern code specified
• If the retrieve fails
• Set an error
• Else
• Return the budget pattern code description

^

Data Structure

D1400011 - Is BPC

Parameter NameData ItemData TypeReq/OptI/O/Both
idBhvrErrorIdBHVRERRIDIDNONENONE

A long integer representing an error that has occurred in a behavior.

szBehaviorEditStringBHVREDTSTcharNONENONE

Special Input Expected
This required input parameter receives the budget pattern code to validate.

^

szDescription001DL01charNONENONE

Special Output Returned
This output parameter returns the budget pattern code description if it exists.

^

szBudgetPatternCodeBPCcharNONENONE

Special Input Expected
This required input parameter receives the budget pattern code to validate.


^

Related Functions

None

Related Tables

F1401 Budget Patterns