gta

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/46

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

47 Terms

1
New cards

GTA

Global Transaction Activities - A central analytical model that consolidates financial and shipment information from CargoWise, McLeod, and WorldPort into unified tables for business intelligence and reporting.

2
New cards

JobCount

An indicator field where JobCount=1 represents order records (for counting shipments) and JobCount=0 represents transaction records (for financial data). SUM(JobCount) gives total unique job/company combinations.

3
New cards

CAM

Common Analytical Model - The standardization layer between source systems and GTA that unifies data models, applies business rules, creates consistent keys, and handles temporal validity.

4
New cards

REV

Revenue - Recognized income from completed and invoiced services. Always positive values. Available in all systems (CW, MC, WP).

5
New cards

WIP

Work in Progress - Services delivered but not yet invoiced (future revenue). Positive values. ONLY available in CargoWise, not in McLeod or WorldPort.

6
New cards

CST

Costs - Actual expenses incurred and paid. Stored as NEGATIVE values. Available in all systems.

7
New cards

ACR

Accrued Costs - Services received but not yet paid (future costs). Stored as NEGATIVE values. ONLY available in CargoWise.

8
New cards

TransactionDepartment

The department field tied to specific charges/transactions. CRITICAL for OneStream reconciliation. Set to 'N/A' for Order records. This is the field to use for financial system matching.

9
New cards

JobDepartment

The operational department responsible for the overall job/shipment. NOT used for financial reconciliation. For WorldPort, maps to WFS, RDS, or FDR based on vertical.

10
New cards

RevWipAmountInterCo

Intercompany revenue - transactions between AIT entities that must be subtracted from gross revenue to avoid double-counting in consolidated reports.

11
New cards

Orders and Transactions tables

Orders (JobCount=1) provides one row per job per company for accurate shipment counting. Transactions (JobCount=0) has multiple rows per job for detailed financial tracking by date/station.

12
New cards

JobNum uniqueness in GTA

A single shipment (JobNum) can be handled by multiple companies (e.g., USA and MEX entities). Therefore, JobNum + CompanyCode together form the unique identifier.

13
New cards

Currency conversion in GTA

Local amounts are stored in original currency. USD amounts are calculated using MONTH-END exchange rates (not transaction date rates). This standardizes reporting across all entities.

14
New cards

Double elimination

The combination of intercompany revenue AND duty amounts that must be eliminated in consolidated reporting. Calculated as RevWipAmountInterCoDutyBoth.

15
New cards

Transactions grouping

Transactions are grouped by: JobNum + CompanyCode + RecordedDate + Station. This creates multiple rows per job to capture financial detail across different dates and locations.

16
New cards

Query for unique shipments in August 2025

SELECT SUM(JobCount) as ShipmentCount FROM gta.consolidated WHERE TransactionRecDatePeriod = '202508'; -- OR -- SELECT COUNT(*) FROM gta.orders WHERE TransactionRecDatePeriod = '202508';

17
New cards

Field to check for revenue mismatch

Use TransactionDepartment (NOT JobDepartment) and ensure you're filtering WHERE TransactionDepartment != 'N/A'. Also verify you're using TransactionRecDatePeriod for the period and subtracting intercompany revenue if needed.

18
New cards

Duplicate rows when joining Orders and Transactions

You're likely joining on JobNum alone. ALWAYS join on both: ON o.JobNum = t.JobNum AND o.CompanyCode = t.CompanyCode.

19
New cards

Net revenue calculation excluding intercompany transactions

SUM(REVAmountUSD + WIPAmountUSD - RevWipAmountUSDInterCo) as NetRevenue.

20
New cards

COUNT(*) on transactions table discrepancy

Transactions table has multiple rows per shipment (different dates/stations).

21
New cards

COUNT(DISTINCT CONCAT(JobNum, CompanyCode))

A method to count unique shipments by combining JobNum and CompanyCode.

22
New cards

Orders table

A table used for counting only, with all financial amounts intentionally set to 0.

23
New cards

Transactions or Consolidated

Tables used for retrieving actual financial data.

24
New cards

Cash basis accounting

An accounting method used by McLeod and WorldPort where WIP and ACR are always 0.

25
New cards

JobNum + CompanyCode

The two fields that together make a unique key in GTA.

26
New cards

gta.consolidated

The table recommended for most queries as it includes both order and transaction records.

27
New cards

TransactionRecDatePeriod

The date (YYYYMM) when the transaction was recorded for accounting.

28
New cards

JobRecognitionDate

The date when the job was completed.

29
New cards

Local amounts (REVAmountLocal)

Amounts in original currency before conversion.

30
New cards

USD amounts (REVAmountUSD)

Amounts converted using month-end rates for consolidated reporting.

31
New cards

A shipment spans July and August. How many rows in Consolidated?

Minimum 4 rows: At least 2 transaction rows (JobCount=0) for different months, plus 1-2 order rows (JobCount=1) depending on how many companies are involved.

32
New cards

What is the Daily refresh schedule for GTA

Bronze sources refresh at 12:30 AM CT, GTA processes at 4:00 AM CT daily.

33
New cards

CargoWise (CW)

An international freight system that supports WIP and ACR.

34
New cards

McLeod (MC)

A domestic trucking system that uses cash basis accounting and does not support WIP or ACR.

35
New cards

WorldPort (WP)

A warehouse operations system that uses cash basis accounting and does not support WIP or ACR.

36
New cards

N/A in TransactionDepartment

Indicates that order records (JobCount=1) do not have transaction-level departments.

37
New cards

Total Costs = CSTAmountUSD + ACRAmountUSD

Formula for calculating total costs, both values are negative.

38
New cards

SourceSystem field

Field used to identify records: 'CW' for CargoWise, 'MC' for McLeod, 'WP' for WorldPort.

39
New cards

Find cost overruns

Identify where actual costs exceed accrued costs by 25% for completed jobs.

40
New cards

5 Golden Rules of GTA

  1. Always join on JobNum + CompanyCode; 2. Use Consolidated for most queries; 3. JobCount: 0=financials, 1=counting; 4. TransactionDepartment for reconciliation; 5. Costs are negative, revenues positive.
41
New cards

ABS() function

Function used to make costs positive for display.

42
New cards

Profit margin percentage

Calculated as Margin% = (Profit / Revenue) * 100, where Profit = Revenue + Costs.

43
New cards

STRING_AGG(DISTINCT CompanyCode, ', ')

SQL function to aggregate distinct CompanyCodes into a single string.

44
New cards

HAVING COUNT(DISTINCT CompanyCode) > 1

Condition used to find jobs handled by multiple companies.

45
New cards

How do you handle multi-currency in GTA?

Local amounts (REVAmountLocal) are in original currency.

46
New cards
47
New cards

USD amounts (REVAmountUSD) are converted using month-end rates. Always use USD fields for consolidated reporting.