GetCrossReferenceFields

Get Branch Constants Fields

Minor Business Rule

Object Name: B4001050

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This function retrieves the SYM5 (XrefSymbol) , XRT (XrefType), BACK (Backorders Allowed Y/N Flag) ,  

WCTL (Warehouse Control Flag) , CSMT (Inventory Cost Method), and  PCSM (Purch Cost Method) , and 

XRT2 (CrossRefTypeSupplier)  from the

F41001 file given the BranchPlant and System Code.  If the Branch Plant is left 

blank then this function will search using "          ALL".


Setup Notes and Prerequisites


Special Logic




Technical Specification

2.2Related Tables 

Table Table Description

F41001Branch Constants



2.4Processing 


Edits:Error 4824 if no record found


Standard Error Messaging


Retrievals:  F41001 (Inventory Constants)


Key = SY (System Code)

           MCU (Business Unit)





Data Structure

D4001050 - Get Branch Constants Fields

Special Input Expected
SuppressErrorMessage(EV01):'1' = Do not set an error on


Special Output Returned


Significant Data Values


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSystemCodeSYcharNONENONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cXrefSymbolSYM5charNONENONE

A character that identifies the customer's or supplier's number in your system. When you enter a number preceded by this character, the 
system recognizes the number as the customer's or supplier's number. The system then use the cross-reference table to match the number to 
your item number. You must complete this field if you want the system to perform cross-referencing.

szXrefTypeXRTcharNONENONE

A user defined code (41/DT) that identifies the type of cross-reference set up for this customer. Examples of cross-reference types include:    
 o Substitutes     o Replacements     o Bar codes     o Customer item numbers     o Supplier item numbers 

szErrorMsgIDDTAIcharNONENONE

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.

cSuppressErrorMsgEV01charNONENONE

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

cBackordersAllowedYNBACKcharNONENONE

An option that specifies whether to allow backorders for this item. You can allow backorders by item using the Item Master (P4101) or Item 
Branch/Plant (P41026) programs, by customer using the Customer Billing Instructions program (P03013), or by branch/plant using the 
Branch/Plant Constants program (P41001).  Valid values are: On Allow backorders for this item. Off Do not allow backorders for this item, regardless of 
the backorders code that is assigned to the customer.

cWarehouseControlFlagWCTLcharNONENONE

A code that determines whether the system creates warehouse transactions for the branch/plant.

szInventoryCostMethodCSMTcharNONENONE

A user defined code (40/CM) that indicates the cost method that the system uses to calculate the cost of goods sold for the item. Cost 
methods 01-19 are reserved for J.D. Edwards use.

szPurchCostMethodPCSMcharNONENONE

A user defined code (40/CM) that indicates the cost method that the system uses to determine the cost of the item for purchase orders. Cost 
methods 01-19  are reserved for J.D. Edwards use.

szCrossRefTypeSupplierXRT2charNONENONE

A user defined code (41/DT) that identifies the type of cross-reference set up for this supplier. Examples of cross-reference types include:    
1.   Substitutes    2.   Replacements    3.   Bar Codes    4.   Customer Numbers    5.   Supplier Numbers 

cGLInterfaceGLPOcharNONENONE

A code that indicates whether inventory transactions that are processed through this branch/plant create general ledger entries. In 
WorldSoftware, valid values are:    Y Yes, the system creates general ledger entries for inventory transactions for this branch/plant.    N No, the system 
does not create general ledger entries for inventory transactions for this branch/plant. In OneWorld, a checkmark indicates that the system 
creates general ledger entries for inventory transactions for this branch/plant.

cGLExplanationPRIMcharNONENONE

A code that the Inventory Management system uses to select the default description that appears on the second line of a journal entry in the 
general ledger. Valid values are:    1   Item master description (the default).    2   Primary item number.

cWriteUnitsToJEUNGLcharNONENONE

A code that indicates whether the system moves units to the general ledger after the system records a journal entry from the following 
programs:        P31111 (Work Order Inventory Issues)        P31112 (Work Order Completions)        P31802 (Work Order Journal Entries)        P31842 
(Rate Base Journal Entries)        P4112 (Inventory Issues)        P4113 (Inventory Transfers)        P4114 (Inventory Adjustments)        P4116 (Item 
Re-Classification)        P41413 (Cycle Count Update)        P41610 (Tag Update)        P42800 (Sales Update)        P4312 (Receipts)        P4314 (Voucher 
Match)        P415021 (Update Operational Reconciliation)        P415101 (General Stock Movements)        P41514 (Bulk Manufacturing 
Gains/Losses)        P49800 (Sales Update - A7.3 ECS Version)        P49700 (Cycle Billing)        P49510 (Bulk Load Confirmation - XT49799)        P49515 (Bulk 
Load Confirm Batch - XT49799)        P49530 (Package Load Confirm - XT49799)        P49572 (Upload Gantry Data - XT49799)        P49710 (Bulk 
Delivery Confirm - XT49799)        P49711 (Bulk Delivery Confirm Milk Run - XT49799)        P49715 (Bulk Disposition - XT49799)        P49720 
(Package Delivery Confirm - XT49799)        P49731 (Mass Confirm Batch - XT49799)

cManagementAprlReqIARIcharNONENONE

A code that indicates whether you want to require approval of batches before they can be posted to the general ledger. Valid values are:    
Y Yes, assign a status of Pending to each batch that you create within the listed systems.    N No, assign a status of Approved to each batch.

cShortItemNoSymbolSYM1charNONENONE

A symbol that identifies the 8-character short item number when you do not want to use it as the primary number. A blank in this field 
indicates that you want to use this item number as the primary number. That is, you use it most often to enter or review information. If this is not the 
primary number, you must enter a special symbol to identify it. Use a symbol that is not significant for any other purposes of entry such as /, *, or &. 
Do not use a period or a comma as a symbol. When you enter this item number on any other form, you must include this symbol as the first 
character. NOTE: Only one of the fields for item number symbols (SYM1, SYM2, SYM3, or SYM6) can be blank to identify it as the primary 
number. All others must include a unique symbol.

c2ndItemNoSymbolSYM2charNONENONE

A symbol that identifies the 25-character second item number when you do not want to use it as the primary number. A blank in this field 
indicates that you want to use this item number as the primary number. That is, you use it most often to enter or review information. If this is not the 
primary number, you must enter a special symbol to identify it. Use a symbol that is not significant for any other purposes of entry such as /, *, 
or &. Do not use a period or a comma as a symbol. When you enter this item number on any other form, you must include this symbol as the 
first character. NOTE: Only one of the fields for item number symbols (SYM1, SYM2, SYM3, or SYM6) can be blank to identify it as the primary 
number. All others must include a unique symbol.

c3rdItemNoSymbolSYM3charNONENONE

A symbol that identifies the 25-character third item number when you do not want to use it as the primary number. A blank in this field 
indicates that you want to use this item number as the primary number. That is, you use it most often to enter or review information. If this is not the 
primary number, you must enter a special symbol to identify it. Use a symbol that is not significant for any other purposes of entry such as /, *, or &. 
Do not use a period or a comma as a symbol. When you enter this item number on any other form, you must include this symbol as the first 
character. Note: Only one of the fields for item number symbols (SYM1, SYM2, SYM3, or SYM6) can be blank to identify it as the primary 
number. All others must include a unique symbol.

mnABCSalesPercent1IA1MATH_NUMERICNONENONE

A percentage that tells the system how to define the A group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the A group. For example,assume that you want items that make up the top 
75%  of your selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the 
total of 75% and 20%. You enter percentages as decimal amounts. For example, enter 75% as .75. During ABC analysis, the system compares 
the total sales of a single item to the total sales of all items to calculate the value of each item. An item's value is its percentage of the total 
sales. The system then arranges the values of all items from those of highest value to those of lowest value and adds the values together 
beginning with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value 
is included in the total between the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system 
assigns that item to the C group.

mnABCSalesPercent2IA2MATH_NUMERICNONENONE

A percentage that tells the system how to define the B group during ABC analysis. This number is the total of the B percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,assume that you want items that make up the top 
75%  of your selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the 
total of 75% and 20%. You enter percentages as decimal amounts. For example, enter 75% as .75. During ABC analysis, the system compares 
the total sales of a single item to the total sales of all items to calculate the value of each item. An item's value is its percentage of the total 
sales. The system then arranges the values of all items from those of highest value to those of lowest value and adds the values together 
beginning with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value 
is included in the total between the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system 
assigns that item to the C group.

mnABCSalesPercent3IA3MATH_NUMERICNONENONE

A percentage that tells the system how to define the C group during ABC analysis. This number is the total of the C percentage added to the 
percentage you want the system to use when it assigns items to the C group. For example,assume that you want items that make up the top 
75%  of your selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the 
total of 75% and 20%. You enter percentages as decimal amounts. For example, enter 75% as .75. During ABC analysis, the system compares 
the total sales of a single item to the total sales of all items to calculate the value of each item. An item's value is its percentage of the total 
sales. The system then arranges the values of all items from those of highest value to those of lowest value and adds the values together 
beginning with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value 
is included in the total between the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system 
assigns that item to the C group.

mnABCGrossMarginPercent1IB1MATH_NUMERICNONENONE

Percentage that tells the system how to define the A group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,you want items that make up the top 75%  of your 
selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the total of 75% and 
20%. You enter each percentage as a decimal amount. For example, enter 75% as .75. During ABC analysis, the system compares the total 
sales of a single item to the total sales of all items to calculate the "value" of each item. An item's value is its percentage of the total sales. The 
system then arranges the values of all items from those of highest value to those of lowest value and adds the values together beginning 
with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value is 
included in the total betwen the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system assigns that 
item to the C group.

mnABCGrossMarginPercent2IB2MATH_NUMERICNONENONE

Percentage that tells the system how to define the B group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,you want items that make up the top 75%  of your 
selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the total of 75% and 
20%. You enter each percentage as a decimal amount. For example, enter 75% as .75. During ABC analysis, the system compares the total 
sales of a single item to the total sales of all items to calculate the "value" of each item. An item's value is its percentage of the total sales. The 
system then arranges the values of all items from those of highest value to those of lowest value and adds the values together beginning 
with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value is 
included in the total betwen the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system assigns that 
item to the C group.

mnABCGrossMarginPercent3IB3MATH_NUMERICNONENONE

Percentage that tells the system how to define the C group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,you want items that make up the top 75%  of your 
selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the total of 75% and 
20%. You enter each percentage as a decimal amount. For example, enter 75% as .75. During ABC analysis, the system compares the total 
sales of a single item to the total sales of all items to calculate the "value" of each item. An item's value is its percentage of the total sales. The 
system then arranges the values of all items from those of highest value to those of lowest value and adds the values together beginning 
with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value is 
included in the total betwen the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system assigns that 
item to the C group.

mnABCAvgInvestmentPrcnt1IC1MATH_NUMERICNONENONE

Percentage that tells the system how to define the A group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,you want items that make up the top 75%  of your 
selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the total of 75% and 
20%. You enter each percentage as a decimal amount. For example, enter 75% as .75. During ABC analysis, the system compares the total 
sales of a single item to the total sales of all items to calculate the "value" of each item. An item's value is its percentage of the total sales. The 
system then arranges the values of all items from those of highest value to those of lowest value and adds the values together beginning 
with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value is 
included in the total betwen the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system assigns that 
item to the C group.

mnABCAvgInvestmentPrcnt2IC2MATH_NUMERICNONENONE

Percentage that tells the system how to define the B group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,you want items that make up the top 75%  of your 
selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the total of 75% and 
20%. You enter each percentage as a decimal amount. For example, enter 75% as .75. During ABC analysis, the system compares the total 
sales of a single item to the total sales of all items to calculate the "value" of each item. An item's value is its percentage of the total sales. The 
system then arranges the values of all items from those of highest value to those of lowest value and adds the values together beginning 
with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value is 
included in the total betwen the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system assigns that 
item to the C group.

mnABCAvgInvestmentPrcnt3IC3MATH_NUMERICNONENONE

Percentage that tells the system how to define the C group during ABC analysis. This number is the total of the A percentage added to the 
percentage you want the system to use when it assigns items to the B group. For example,you want items that make up the top 75%  of your 
selling items in the A group and items that make up the next 20% in the B group. You would enter 95% in this field, which is the total of 75% and 
20%. You enter each percentage as a decimal amount. For example, enter 75% as .75. During ABC analysis, the system compares the total 
sales of a single item to the total sales of all items to calculate the "value" of each item. An item's value is its percentage of the total sales. The 
system then arranges the values of all items from those of highest value to those of lowest value and adds the values together beginning 
with the highest. After it reaches the limit for A items, it continues to add values until it reaches the limit for B items. All items whose value is 
included in the total betwen the A limit and the B limit are B items. If an item's value causes the total to go over the B limit, the system assigns that 
item to the C group.

szDimensionUOMWIUMcharNONENONE

A user defined code (system 00/type UM) that identifies the unit of measure that the system uses to display dimensions for the warehouse. 
The system provides the ability to establish inches, centimeters, meters, and so forth,as a measuring standard.

szVolumeUOMVUMDcharNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to display volume for this branch/plant. The system 
inputs a value in this field from Branch/Plant Constants - Page 2 (P410012). You can override this default value.

szWeightUOMUWUMcharNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to indicate weight for this item. You can specify ounces, 
grams, kilograms, and so on, as weight standards. The system uses this unit of measure for the item or overrides it for an individual item or 
container.

cStrappingTemperatureUnitSTPUcharNONENONE

A code used to identify the type of temperature. Valid values are:    F Fahrenheit    C Celsius 

cMeasurementUSorMetricUSMTcharNONENONE

Indicates if unit measurements are U.S.-based (Imperial) or metric standards. Valid values are:    M Metric    U U.S. If you leave this field blank, 
the system uses M (metric).

cUSIncrementsDelimeterUSIDcharNONENONE

This character separates feet from inches and fractions when entering U.S. increments in tank strappings and the dip volume calculator. 
The integer to the left of the delimiter is feet. The integer to the right is inches. Another delimiter denotes fractions of an inch in sixteenths. You 
can use any character except a period (.) or a comma (,). If you leave this field blank,the system uses a forward slash (/).

Related Functions

None

Related Tables

F41001 Inventory Constants