DeleteCostVariances

Delete Cost Variances

Minor Business Rule

Object Name: B3100530

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description
This business function will delete all the Variances for a given Work Order Number and  Type 

(Parent/Compenent) from the Work Order Variances table (F3102).


1.1Purpose

This is to be used in any  program to delete all the rows from F3102 table for a Parent or Component.


1.2Setup Notes and Prerequisites

None.


1.3Special Logic

None.


2.Technical Specifications


2.4Processing 

1. Delete all the row from the F3102 table using Input Document Number and Parent Component as the 

keys

2. If there are any errors, Release the request and exit the function with the Error Message ID = 

'3143'.   



Data Structure

D3100530 - Delete Cost Variances

Parameter NameData ItemData TypeReq/OptI/O/Both
mnWorkOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

cParentOrComponentPARTcharNONENONE

An option that specifies whether the system displays parent records or child records. If you turn on this option, the system displays parent 
records for the address book number entered. Also a field that indicates whether a record is a parent or child. For the field, valid values 
are: P Parent   C Child  

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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

F3102 Production Cost