ValidateCostAndVendor

Validate Cost and Vendor

Minor Business Rule

Object Name: B3000350

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

Validate either that both the Cost and Vendor Number are entered or that both the Cost and the Vendor 
Number are left blank.



2.Technical Specifications


2.4Processing 


1.0.  If Cost is not blank/null and Vendor is blank/null, return error code 0003 and position cursor 
on vendor.

2.0.  If Vendor is not blank/null and Cost is blank/null, return error code 0003 and position cursor 

on Cost.

^

Data Structure

D3000350 - Validate Cost and Vendor

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCOSTcharNONENONE

A code that designates each element of cost for an item. Examples of the cost object types are:   o  A1  Purchased raw material   o  B1  
Direct labor routing rollup   o  B2  Setup labor routing rollup   o  C1  Variable burden routing rollup   o  C2  Fixed burden routing rollup   o  Dx  Outside 
operation routing rollup   o  Xx  Extra add-ons, such as electricity and water  The optional add-on computations usually operate with the type 
Xx extra add-ons. This cost structure allows you to use an unlimited number of cost components to calculate alternative cost rollups. The 
system then associates these cost components with one of six user defined summary cost buckets.

mnVendorVENDMATH_NUMERICNONENONE

The address book number of the preferred provider of this item.

Related Functions

None

Related Tables

None