Business Intelligence Module >  Fact tables >  Fact tables STOJOU (Stock journal)  

Display all Hide all

The fact table of stock transactions belongs to the Stock datamart. It contains elements coming from the stock journal table.

Prerequisites

The STOJOU table must be parameterized to be audited for the BI if data synchronization should be incremental (update of the elements modified since the last synchronization only).

Description

One of the objectives of the universe dedicated to stock journals is to facilitate data handling by inexperienced users, it is in no way to duplicate data:

  • Some information deemed secondary is not transmitted.
  • Conversely, other information is calculated.
  • Finally, information is restructured if needed.

Data detail

 

Field codeNormal titleMenuTableObject type
STOFCYSite - Transactions00Dimension
ITMREFProduct - Transactions00Dimension
LOCLocation00Dimension
IPTDATPosting date:00Dimension
CPYCompany00Dimension
FIYNUMFinancial year00Technical
PERNUMPeriod00Dimension
TRSTYPMovement type7040Dimension
VCRTYPJournal type7010Dimension
VCRNUMJournal number00Information
VCRLINJournal line no00Information
VCRTYPORIOriginal journal type7010Dimension
VCRNUMORIOriginal journal00Information
VCRLINORIOriginal journal line no00Information
QTYSTUSTK quantity00Measurement
AMTVALTransaction amount00Measurement
AMTORDOrder amount00Measurement
AMTDEVNon absorbed variance00Measurement
AMTVALRTcn amount reporting cur. 00Measurement
AMTORDROrder amount reporting cur. 00Measurement
AMTDEVRNon absorbed variance rep. cur.00Measurement
BPRNUMBP (Business Partners)00Dimension
PJTProject00Dimension
STAORIStatus of origin00Dimension
STADSTDestination status00Dimension
RCPFLGEnter10Dimension
ISSFLGISSUE10Dimension

Technical additions

Synchronization rules

The fact table of stock journals is loaded on the basis of a synchronization rule:

  • STOJOU1: for the stock transactions.

Specific loading functions

  • TRTX3BI.GETCPY([F:STJ]STOFCY): This function returns the company of the storage site
  • TRTX3BI.GETEXE([F:STJ]STOFCY,[F:STJ]IPTDAT): This function is used to return the fiscal year of the transaction posting date.
  • TRTX3BI.GETPER([F:STJ]STOFCY,[F:STJ]STODAT): This function is used to return the period of the transaction posting date.
  • TRTX3BI.CNVCPYRPT([F:STJ]STOFCY,[F:STJ]IPTDAT,*): This function is uued to return an amount in reporting currency
  • TRTSTOBI.GETBPRNUM ([F:STJ]VCRTYP,[F:STJ]VCRNUM,[F:STJ]VCRLIN,[F:STJ]BPRNUM): This function is used to return the supplier for the quality controls further to the receipt.
  • TRTSTOBI.GETSTOQLYD ([F:STJ]VCRTYP,[F:STJ]VCRNUM,[F:STJ]VCRLIN,[F:STJ]QTYSTU): This function is used to return the original status of the quality control.