F4311AccumulateAmountForBudget

F4311 Accumulate Amount for Budget Check

Minor Business Rule

Object Name: B4302020

Parent DLL: CDIST

Location: Client/Server

Language: C

Business Function Specification

Source NameB4302020DesignerJ. Haley
Data Structure 
D4302020aProgrammerJ. Haley
Function Name
F4311AccumulateAmountForBudgetSystem Code43
Function Category
Function Use



1.Functional Description

1.1 Purpose

The purpose of this function is to accumulate line amounts in a cache to determine if the order has exceeded the budget.
1.2Setup Notes and Prerequisites



1.3Special Logic


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
CTIDComputerIDIY

JOBSJobNumberIY

AIDAccountIDIY

SBLSublederIY

SBLTSubleder TypeIY

CTRYCenturyIY

FYFiscalYear 1IY

AAAmountFieldIY

EV01ModeIY


2.3Related Business Functions

Source NameFunction Name



2.4Processing 


#include 


#define b4302020_c



/*****************************************************************************

 *    Source File:  b4302020

 *

 *    Description:  F4311 Accumulate Amount for Budget Check Source File

 *

 *        History:

 *          Date        Programmer  SAR# - Description

 *          ----------  ----------  -------------------------------------------

 *   Author 11/6/98     J. Haley    1765152  - Created  

 *01/05/1999J. Pasha2724846 - Remove VC 6.0 Warnings

 *

 * Copyright (c) J.D. Edwards World Source Company, 1996

 *

 * This unpublished material is proprietary to J.D. Edwards World Source Company.

 * All rights reserved.  The methods and techniques described herein are

 * considered trade secrets and/or confidential.  Reproduction or

 * distribution, in whole or in part, is forbidden except by express

 * written permission of J.D. Edwards World Source Company.

 ****************************************************************************/

/**************************************************************************

 * Notes:

 *

 **************************************************************************/


#include 



/**************************************************************************

 *  Business Function:  F4311AccumulateAmountForBudget

 *

 *        Description:  F4311 Accumulate Amount for Budget Check

 *

 *         Parameters:

 *           LPBHVRCOM           lpBhvrCom    Business Function Communications

 *           LPVOID              lpVoid       Void Parameter - DO NOT USE!

 *           LPDSD4302020A       lpDS         Parameter Data Structure Pointer  

 *

 *************************************************************************/


JDEBFRTN (ID) JDEBFWINAPI F4311AccumulateAmountForBudget (LPBHVRCOM lpBhvrCom, 

                                                          LPVOID lpVoid, 

                                                          LPDSD4302020A lpDS)  






































































































































































































































Data Structure

D4302020A - F4311 Accumulate Amounts for Budget Check

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberAJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

szComputerIDCTIDcharOPTNONE

szAccountIdAIDcharOPTNONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

mnCenturyCTRYMATH_NUMERICOPTNONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnFiscalYear1FYMATH_NUMERICOPTNONE

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnAccumulatedAmountAAMATH_NUMERICOPTNONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

cModeEV01charOPTNONE

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

Related Functions

None

Related Tables

None