Skip to content
JDE Reference

F40205

controlAlso in JDE World

Line type control constants - defines how each order line type behaves against G/L, inventory, A/R, A/P, and taxes

Fields

38 fields · 1 key

KeyFieldAliasDescriptionTypeLengthFlags
Primary keyLFLNTYLNTYLine type code (e.g. S stock, N non-stock, F freight, T text)String2
LFLNDSLNDSLine type descriptionString30
LFLND2LND2Second description lineString30
LFGLIGLIFlag: line writes G/L distributionCharacter1
LFIVIIVIInventory interface - whether the line updates on-hand and costsCharacter1
LFARIARIFlag: line posts to accounts receivableCharacter1
LFAPIAPIFlag: line posts to accounts payableCharacter1
LFRSGNRSGNFlag: reverse the sign for credit processingCharacter1
LFTXYNTXYNFlag: line is text onlyCharacter1
LFPRFTPRFTInclude the line in sales/COGS gross profitCharacter1
LFCDSCCDSCInclude the line in cash discount calculationCharacter1
LFTX01TX01Line participates in tax calculation 1Character1
LFTX02TX02Line participates in tax calculation 2Character1
LFGLCGLCDefault G/L offset class for the line typeString4
LFPDC1PDC1Print the line on document 1Character1
LFPDC2PDC2Print the line on document 2Character1
LFPDC3PDC3Validate non-stock lines against the item masterCharacter1
LFPDC4PDC4Record variances for the line typeCharacter1
LFIDC1IDC1Generate a purchase order from the line (direct ship / transfer)Character1
LFIDC2IDC2Interface to job cost / projectsCharacter1
LFIDC3IDC3Include the line in document total 3Character1
LFIDC4IDC4Include the line in document total 4Character1
LFCSJCSJSales journal column the line reports underCharacter1
LFDCTODCTOOverride order type tied to the line typeString2
LFARTARTApply retainage to the lineCharacter1
LFAFTAFTApply freight to the lineCharacter1
LFGWOGWOGenerate a work order from the lineCharacter1
LFEXVREXVRRecognize exchange rate variance for the lineCharacter1
LFCMICMICall materials issue processingCharacter1
LFPRRQPRRQReceipt required before the line can be voucheredCharacter1
LFEV01EV01Event point flag 01Character1
LFEV02EV02Event point flag 02Character1
LFEV03EV03Event point flag 03Character1
LFEV04EV04Event point flag 04Character1
LFEV05EV05Event point flag 05Character1
LFNEWRNEWRExpense the line at voucher timeCharacter1
LFSRUFSRUFAllow service units on procurement linesCharacter1
LFNBRUNBRUNon-billable retainage in useCharacter1

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F40205on Databricks — Julian dates, implied decimals, and padded strings are already converted. Set your Unity Catalog location and filter values below; they’re substituted into the SQL and the copy button.

Query parameters
-- ============================================================
-- Table  : F40205 Line type control constants - defines how each order line type behaves against G/L, inventory, A/R, A/P, and taxes
-- Purpose: Column-selected read of F40205 — auto-generated from field metadata
-- Grain  : One row per LFLNTY
-- Notes  : Auto-generated skeleton. Julian dates (CYYDDD) are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210); padded business-unit/UDC keys are TRIMmed. Audit columns (…USER/…PID/…UPMJ) are omitted — see the quirks guide. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
  f.LFLNTY AS "Line type code (e.g. S stock, N non-stock, F freight, T text)",
  f.LFLNDS AS "Line type description",
  f.LFLND2 AS "Second description line",
  f.LFGLI AS "Flag: line writes G/L distribution",
  f.LFIVI AS "Inventory interface - whether the line updates on-hand and costs",
  f.LFARI AS "Flag: line posts to accounts receivable",
  f.LFAPI AS "Flag: line posts to accounts payable",
  f.LFRSGN AS "Flag: reverse the sign for credit processing",
  f.LFTXYN AS "Flag: line is text only",
  f.LFPRFT AS "Include the line in sales/COGS gross profit",
  f.LFCDSC AS "Include the line in cash discount calculation",
  f.LFTX01 AS "Line participates in tax calculation 1",
  f.LFTX02 AS "Line participates in tax calculation 2",
  f.LFGLC AS "Default G/L offset class for the line type",
  f.LFPDC1 AS "Print the line on document 1",
  f.LFPDC2 AS "Print the line on document 2",
  f.LFPDC3 AS "Validate non-stock lines against the item master",
  f.LFPDC4 AS "Record variances for the line type",
  f.LFIDC1 AS "Generate a purchase order from the line (direct ship / transfer)",
  f.LFIDC2 AS "Interface to job cost / projects",
  f.LFIDC3 AS "Include the line in document total 3",
  f.LFIDC4 AS "Include the line in document total 4",
  f.LFCSJ AS "Sales journal column the line reports under",
  f.LFDCTO AS "Override order type tied to the line type",
  f.LFART AS "Apply retainage to the line",
  f.LFAFT AS "Apply freight to the line",
  f.LFGWO AS "Generate a work order from the line",
  f.LFEXVR AS "Recognize exchange rate variance for the line",
  f.LFCMI AS "Call materials issue processing",
  f.LFPRRQ AS "Receipt required before the line can be vouchered",
  f.LFEV01 AS "Event point flag 01",
  f.LFEV02 AS "Event point flag 02",
  f.LFEV03 AS "Event point flag 03",
  f.LFEV04 AS "Event point flag 04",
  f.LFEV05 AS "Event point flag 05",
  f.LFNEWR AS "Expense the line at voucher time",
  f.LFSRUF AS "Allow service units on procurement lines",
  f.LFNBRU AS "Non-billable retainage in use"
FROM <catalog>.<schema_data>.f40205 f
ORDER BY f.LFLNTY;

2 parameters not filled: <catalog>, <schema_data>

Relationships

1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.

Programs That Use This Table

No program mappings populated for this table yet.