OESLSACCT FILE Sales Accounts This file stores the accounts needed to post to sales and Cost of Goods Sold for both stock and nonstock items. In addition, a target profit margin can be entered along with a hold code to apply if an order line fails to meet that target. REFERENCED BY BL120 BL123 BL130 BL20.1 BL20.3 BL205 BL21.2 BL21.5 BL29.1 BL29.2 BL290 BL30.3 BL30.5 BL31.1 BL31.2 BL31.3 BL31.5 BL31.7 BL32.2 BL32.3 BL32.4 BL520 BL820 BL92.1 BL940 OE10.1 OE10.2 OE10.3 OE10.4 OE10.5 OE10.6 OE10.7 OE10.8 OE11.1 OE11.4 OE11.8 OE11.9 OE110 OE113 OE114 OE129 OE14.4 OE15.1 OE15.2 OE15.3 OE15.4 OE15.5 OE15.7 OE30.1 OE30.2 OE30.3 OE30.4 OE30.5 OE30.6 OE30.7 OE30.9 OE510 OE810 OE830 OE90.2 OE920 OE950 WH20.2 WH20.7 UPDATED BY BL05.1 FIELD NAME DESCRIPTION/VALID VALUES UPDATED BY OSA-COMPANY Numeric 4 BL05.1 Company The company number represents an established company and is entered on all function codes. OSA-PROCESS-LEVEL Alpha 5 BL05.1 Process Level The process level is the reporting hierarchy below company. OSA-SALES-MAJCL Alpha 4 BL05.1 Sales Major Class Sales major class code. Sales major/minor classes are first set up in the Inventory Control system. Every inventoried and nonstock item ordered in the Order Entry and Billing systems must belong to a sales class as that is how the system knows which general ledger accounts to debit and credit. OSA-SALES-MINCL Alpha 4 BL05.1 Sales Minor Class Sales minor class code within the major class. Sales major/minor classes are set up in the Inventory Control system. Every inventoried and nonstock item ordered in the Order Entry and Billing systems must belong to a sales class as that is how the system knows which general ledger accounts to debit and credit. OSA-SLS-ACCT-UNIT Alpha 15 BL05.1 Sales Accounting Default general ledger account unit to Unit be credited for inventoried and nonstock type items ordered that belong to this sales major/minor class. OSA-SLS-ACCOUNT Numeric 6 BL05.1 Sales Account Default general ledger account number to be credited for inventoried and nonstock type items ordered that belong to this sales major/minor class. OSA-SLS-SUB-ACCT Numeric 4 BL05.1 Sales Subaccount Default general ledger subaccount to be credited for inventoried and nonstock type items ordered that belong to this sales major/minor class. OSA-EXP-ACCT-UNIT Alpha 15 BL05.1 Expense Accounting This is the general ledger account unit Unit to be credited as an offset to COGS when placing an order for nonstock items within the sales major/minor class. OSA-EXP-ACCOUNT Numeric 6 BL05.1 Expense Account This is the general ledger account number to be credited as an offset to COGS when placing an order for nonstock items within the sales class. OSA-EXP-SUB-ACCT Numeric 4 BL05.1 Depr Expense This is the general ledger subaccount Subaccount number to be credited as an offset to COGS when placing an order for nonstock items within the sales class. OSA-CGS-ACCT-UNIT Alpha 15 BL05.1 Cost Of Goods Sold This is the general ledger account unit Acct Unit that is debited for cost of goods sold when an order is placed for inventoried or nonstock items belonging to this sales major/minor class. OSA-CGS-ACCOUNT Numeric 6 BL05.1 Cost Of Goods Sold This is the general ledger account Account number that is debited for cost of goods sold when an order is placed for inventoried or nonstock items belonging to this sales major/minor class. OSA-CGS-SUB-ACCT Numeric 4 BL05.1 Cost Of Goods Sold This is the general ledger subaccount Subaccount number that is debited for cost of goods sold when an order is placed for inventoried or nonstock items belonging to this sales major/minor class. OSA-VAR-ACCT-UNIT Alpha 15 BL05.1 Cost Variance The variance account accounting unit. Accounting Unit OSA-VAR-ACCOUNT Numeric 6 BL05.1 Cost Variance The variance account account number. Account Number OSA-VAR-SUB-ACCT Numeric 4 BL05.1 Cost Variance The variance account subaccount number. Subaccount OSA-PROF-MARGIN Percent 5.2 (Percent) BL05.1 Profit Margin Entering a profit margin percentage for a sales class will place the Profit Hold Code on order lines for items from this class when the order line's projected profit margin does not exceed this margin. Profit margin is calculated as: (unit net price * SPR UOM (sell unit of measure to price unit of measure conversion factor) - unit cost) / unit net price. This is the target profit margin that should be reached or exceeded by all orders placed using items belonging to this sales class. OSA-PROF-HOLD-CD Alpha 4 BL05.1 Prof Hold Cd This is the default hold code that the system will place on the order line that does not reach the profit margin criteria. These hold codes are set up in the Accounts Receivable system. OESLSACCT FILE INDEX NAME KEY FIELDS DESCRIPTION / SUBSET CONDITION USED IN OSASET1 COMPANY BL05.1 BL120 PROCESS-LEVEL BL123 BL130 SALES-MAJCL BL20.1 BL20.3 SALES-MINCL BL205 BL21.2 BL21.5 BL29.1 BL29.2 BL290 BL30.3 BL30.5 BL31.1 BL31.2 BL31.3 BL31.5 BL31.7 BL32.2 BL32.3 BL32.4 BL520 BL820 BL92.1 BL940 OE10.1 OE10.2 OE10.3 OE10.4 ... OESLSACCT FILE RELATIONS ONE TO ONE RELATIONS RELATION RELATED NAME FILE INTEGRITY RULES / FIELD MATCH Arcomp ARCOMP Required OSA-COMPANY -> ACO-COMPANY Cogs GLMASTER Required When OSA-CGS-ACCT-UNIT != Spaces Or OSA-CGS-ACCOUNT != Zeroes Or OSA-CGS-SUB-ACCT != Zeroes OSA-COMPANY -> GLM-COMPANY OSA-CGS-ACCT-UNIT -> GLM-ACCT-UNIT OSA-CGS-ACCOUNT -> GLM-ACCOUNT OSA-CGS-SUB-ACCT -> GLM-SUB-ACCOUNT Expenses GLMASTER Required When ((OSA-EXP-ACCT-UNIT != Spaces ) Or (OSA-EXP-ACCOUNT != Zeroes ) Or (OSA-EXP-SUB-ACCT != Zeroes )) OSA-COMPANY -> GLM-COMPANY OSA-EXP-ACCT-UNIT -> GLM-ACCT-UNIT OSA-EXP-ACCOUNT -> GLM-ACCOUNT OSA-EXP-SUB-ACCT -> GLM-SUB-ACCOUNT Holdcode HOLDCODES Required When OSA-PROF-HOLD-CD != Spaces ACO-CUST-GROUP -> HDD-CUST-GROUP OSA-PROF-HOLD-CD -> HDD-HOLD-CODE Holdcodes HOLDCODES Required When OSA-PROF-HOLD-CD != Spaces ACO-CUST-GROUP -> HDD-CUST-GROUP OSA-PROF-HOLD-CD -> HDD-HOLD-CODE Iccompany ICCOMPANY Required OSA-COMPANY -> ICC-COMPANY Majorcl MAJORCL Required ICC-ITEM-GROUP -> MAJ-ITEM-GROUP "S" -> MAJ-CLASS-TYPE OSA-SALES-MAJCL -> MAJ-MAJOR-CLASS Minorcl MINORCL Required When OSA-SALES-MINCL != Spaces ICC-ITEM-GROUP -> MIN-ITEM-GROUP "S" -> MIN-CLASS-TYPE OSA-SALES-MAJCL -> MIN-MAJOR-CLASS OSA-SALES-MINCL -> MIN-MINOR-CLASS Oecompany OECOMPANY Required OSA-COMPANY -> OEC-COMPANY Oeproclev OEPROCLEV Required OSA-COMPANY -> OEP-COMPANY OSA-PROCESS-LEVEL -> OEP-PROCESS-LEVEL Sales GLMASTER Required When OSA-SLS-ACCT-UNIT != Spaces Or OSA-SLS-ACCOUNT != Zeroes Or OSA-SLS-SUB-ACCT != Zeroes OSA-COMPANY -> GLM-COMPANY OSA-SLS-ACCT-UNIT -> GLM-ACCT-UNIT OSA-SLS-ACCOUNT -> GLM-ACCOUNT OSA-SLS-SUB-ACCT -> GLM-SUB-ACCOUNT Variance GLMASTER Not Required Valid When OSA-VAR-ACCT-UNIT != Spaces Or OSA-VAR-ACCOUNT != Zeroes Or OSA-VAR-SUB-ACCT != Zeroes OSA-COMPANY -> GLM-COMPANY OSA-VAR-ACCT-UNIT -> GLM-ACCT-UNIT OSA-VAR-ACCOUNT -> GLM-ACCOUNT OSA-VAR-SUB-ACCT -> GLM-SUB-ACCOUNT |