IsColumnInDueDateRulesTable

Is Column in Due Date Rules Table

Minor Business Rule

Object Name: N0000191

Parent DLL: CALLBSFN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function checks for the existence of the Due Date in the F00142  Due Date Rules Table.

Setup Notes and Prerequisites

None


Special Logic

None



Technical Specification




Parameters

ItemDescriptionI/OReq?Notes

BHVRERRIDidBhvrErrorIdNANId associated with an 
error

BHVREDTSTszBehaviorEditStringI/OYBehavior edit String. 

Usually contains the same value as the szDueDateRule
DL01szDescription001ONDescription of the Due 

Date Rule.


DDRLszDueDateRuleIYDue Date Rule to be 

located in the Due Date Rules table.



Related Tables

F0009  General Constants

F00142  Due Date Rules


Related Functions

None

Processing

If szDueDateRule is not 

Do a Fetch.Single from the F00142 table passing in the szDueDateRule and 

Bringing back the szDescription.

If the SV File_IO_Status = CO ERROR

Set an NER Error.


Data Structure

D0000191 - Is Column in Due Date Rules Table

Parameter NameData ItemData TypeReq/OptI/O/Both
idBhvrErrorIDBHVRERRIDIDOPTNONE

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

szBhvrEditStringBHVREDTSTcharREQBOTH

Character representation of the data in a control on a form.

szDescriptionDL01charOPTOUTPUT

A user defined name or remark.

szDueDateRuleDDRLcharREQINPUT

A code that specifies how the system calculates either the discount due date or the net due date, depending on how it is assigned to the 
payment term.

Related Functions

None

Related Tables

None