210 likes | 404 Views
Custom Fields for Static and Trade Data. Required key fields when creating the Custom Fields. Custom Fields for Static and Trade Data. Create a Data Map table for TPOW. Note that the TZKEY, and the audit keys are automatically updated. Sample of Book custom fields.
E N D
Custom Fields for Static and Trade Data Required key fields when creating the Custom Fields
Note that the TZKEY, and the audit keys are automatically updated
Quick tip to report ERRORLEVEL from Batch echo *Start.success* ERRORLEVEL is: %ERRORLEVEL% Sample batch: @echo off if "%1"=="-start" goto :start if "%1"=="-stop" goto :stop gotowrongParams :start ::**** :: Insert start up stripts here... :: If there is an error, set ERRORLEVEL=1 ::**** set ERRORLEVEL=0 echo. echo ******** echo starting the service... echo. ::start "" "C:\Program Files\Microsoft Office\office11\winword.exe" start notepad.exe if ERRORLEVEL 1 goto error qprocess notepad.exe echo *Start.success* ERRORLEVEL is: %ERRORLEVEL% echo. goto end :stop ::**** :: Insert stopping stripts here... :: If there is an error, set ERRORLEVEL>1 ::**** set ERRORLEVEL=0 echo. echo ******** echo stopping the service... echo. qprocess notepad.exe taskkill /f /im notepad.exe if ERRORLEVEL 1 gotonoProcess goto end :noProcess set ERRORLEVEL=2 echo *noProcess* ERRORLEVEL is now: %ERRORLEVEL% echo. exit /b 2 :error :: Errorhandler. Log application status and cause of error here. Set :: ERRORLEVEL > 1 before returning to caller. set ERRORLEVEL=1 echo. echo **** Error handler inside test.bat **** echo. echo *error* ERRORLEVEL is now: %ERRORLEVEL% echo. exit /b 1 :wrongParams :: Output an error if the wrong parameters were passed to this script. :: Maybe try to self correct the parameter... set ERRORLEVEL=1 echo. echo '%1' is an invalid parameter. echo Usage: %0 [-stop ^| -start] echo *wrongParams* ERRORLEVEL is now: %ERRORLEVEL% echo. exit /b 1 :end
COAL PHYSICAL Sample Coal Physical Trade
Coal Physical Sample Coal Physical Trade Spec
COAL Actualization Click on the Actualize icon “A” then manually enter the coal data
Coal Report with PRODSIMPLE GLOI Un-actualized amount does not roll to the next month
Coal Report with PRODSIMPLE GLOI If the prior month actualization volume is more than the nominal volume, the excess amount does not account into the following month.
Coal Report with PRODSIMPLE GLOI With the PRODSIMPLE = set to “0” the cumulative of the un-actualized volume will roll to the next available month
Coal Report with PRODSIMPLE GLOI Note: if there is an overage of the actualized volume, the cumulative under and overage will roll to the next month
Oracle selective row return select name, price from items where rownum > 5 and rownum < 11; Or select name, price from items where rownum between 5 and 11; // This method to add the row count to the newly created table so you could retrieve any data rows in a new table create table Z_MASTERBATCH_JOINED AS select rownum as ROW_ID, A1.C0_REPORT_DATE AS A_C0_REPORT_DATE, A1.C1_RUN_DATE AS A_C1_RUN_DATE