GlobalBPC

Global Budget Pattern Code Update

Major Business Rule

Object Name: B1400009

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose


This business function globally updates the budget pattern code in the F0901(Account Master table) 

either by company or business unit.  The budget pattern codes updated will be those passed in as the old 

budget pattern codes. The budget pattern code to which it will be updated is the corresponding (same 

number in the parameter name) new budget pattern code parameter.  This business function can modify up 

to ten different budget pattern codes with one call.


Technical Specification


• If cost center and company are either blank or non-blank
• Set error and return
• If a cost center is passed in
• For all accounts with a cost center equal to the input parameter and in the range specified 
• Change any pattern codes matching the old budget pattern codes passed in as parameters to the 
new budget pattern code also passed in as parameters.

• Else If a company is passed in
• For all the accounts within the company and in the range specified 
• Change any pattern codes matching the old budget pattern codes passed in as parameters to the 
new budget pattern code also passed in as parameters.

^

Data Structure

D1400009 - Global Pattern Code Update

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharNONENONE

Special Input Expected
This input parameter receives the cost center for which to perform the global budget pattern code 

update.  Either this parameter OR the company input parameter MUST be specified for the global update to 

function.


^

szObjectFromOBJcharNONENONE

Special Input Expected
This input parameter receives the beginning object account range for which to perform the global 

budget pattern code update.  If this parameter is blank, the business function will use blank as the 

beginning object account range.


^

szSubFromSUBcharNONENONE

Special Input Expected
This input parameter receives the beginning subsidiary range for which to perform the global budget 

pattern code update.  If this parameter is blank, the business function will use blank as the beginning 

subsidiary range.


^

szOBPC1BPCcharNONENONE

Special Input Expected
This input parameter receives the first budget pattern code to modify.  Any accounts with this budget 

pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC1).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.

^

szOBPC2BPCcharNONENONE

Special Input Expected
This input parameter receives the second budget pattern code to modify.  Any accounts with this 

budget pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC2).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC1BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC1).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szNBPC2BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC2).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szCompanyCOcharNONENONE

Special Input Expected
This input parameter receives the company for which to perform the global budget pattern code update. 

 Either this parameter OR the cost center input parameter MUST be specified for the global update to 

function.


^

szObjectThruOBJcharNONENONE

Special Input Expected
This input parameter receives the ending object account range for which to perform the global budget 

pattern code update.  If this parameter and the szSubThru parameter are blank, the business function 

will use '99999999999999' as the ending object and subsidiary range.


^

szSubThruSUBcharNONENONE

Special Input Expected
This input parameter receives the ending subsidiary range for which to perform the global budget 

pattern code update.  If this parameter and the szObjThru parameter are blank, the business function will 

use '99999999999999' as the ending object and subsidiary range.


^

szOBPC3BPCcharNONENONE

Special Input Expected
This input parameter receives the third budget pattern code to modify.  Any accounts with this budget 

pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC3).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC3BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC3).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC4BPCcharNONENONE

Special Input Expected
This input parameter receives the fourth budget pattern code to modify.  Any accounts with this 

budget pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC4).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC4BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC4).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC5BPCcharNONENONE

Special Input Expected
This input parameter receives the fifth budget pattern code to modify.  Any accounts with this budget 

pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC5).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC5BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC5).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC6BPCcharNONENONE

Special Input Expected
This input parameter receives the sixth budget pattern code to modify.  Any accounts with this budget 

pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC6).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC6BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC6).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC7BPCcharNONENONE

Special Input Expected
This input parameter receives the seventh budget pattern code to modify.  Any accounts with this 

budget pattern code will be modified to the value of specified in the corresponding new budget pattern 

code (szNBPC7).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC7BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC7).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC8BPCcharNONENONE

Special Input Expected
This input parameter receives the eighth budget pattern code to modify.  Any accounts with this 

budget pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC8).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC8BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC8).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC9BPCcharNONENONE

Special Input Expected
This input parameter receives the ninth budget pattern code to modify.  Any accounts with this budget 

pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC9).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC9BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC9).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

szOBPC10BPCcharNONENONE

Special Input Expected
This input parameter receives the tenth budget pattern code to modify.  Any accounts with this budget 

pattern code will be modified to the value of specified in the corresponding new budget pattern code 

(szNBPC10).


Significant Data Values


   '*' - All budget pattern codes will be modified.

 '***' - All blank budget pattern codes will be modified.


^

szNBPC10BPCcharNONENONE

Special Input Expected
This input parameter receives the new budget pattern code for the corresponding old budget pattern 

code(szOBPC10).


Significant Data Values


 '***' - Modify the budget pattern code to blank.


^

Related Functions

B0000035 Compare Object/Subsidiary String
B9800100 Get Audit Information

Related Tables

F0901 Account Master