Showing posts with label Rtf. Show all posts
Showing posts with label Rtf. Show all posts

Wednesday, December 13, 2017

Cummulative process in rtf using set and get variable

Declare varable:
<?xdoxslt:set_variable($_XDOCTX, ‘c1’, 0)?>


Set variable(In for loop to repected loop) :

<?xdoxslt:set_variable($_XDOCTX, ‘c1’, xdoxslt:get_variable($_XDOCTX, ‘c1’) + EHRS_CUM)?>


Get Variable:
<?xdoxslt:get_variable($_XDOCTX, ‘c1’)?>

Friday, November 17, 2017

Date parameter in Standed Date in app

<?xdofx:to_date(replace(substr(P_FROM_DATE,1,10),’/’,’-’)||’T00:00:00.000-06:00’,'DD-MON-YYYY')?>

Wednesday, November 8, 2017

Tags in rtf

<?format-date:DUEBY_DT;’DD-MM-YYYY’?>  ---DATE FORMATE
<?xdofx:substr(DUEBY_DT,1,10)?>         --SUBSTRING
<?format-number:T_BILLABLE_HOURS;'999G999D999'?>  --decimal