modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TABLE.xml
author RM packaging bot <staff.rm@openbravo.com>
Fri, 18 Sep 2015 02:49:23 +0000
changeset 27592 68dbc59de475
parent 26936 8b04107e4667
child 27611 2fd1c4667c2e
child 28105 b2793ba35559
permissions -rw-r--r--
CI: update AD_MODULE to version 27591
staff@10769
     1
<?xml version='1.0' encoding='UTF-8'?>
staff@10769
     2
<data>
staff@10769
     3
<!--0DFF5BACFB964FDABAA5042C8809C813--><AD_TABLE>
staff@10769
     4
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <AD_TABLE_ID><![CDATA[0DFF5BACFB964FDABAA5042C8809C813]]></AD_TABLE_ID>
staff@10769
     5
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
staff@10769
     6
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
staff@10769
     7
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
staff@10769
     8
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <NAME><![CDATA[APRM_Reconciliation]]></NAME>
staff@10769
     9
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <TABLENAME><![CDATA[APRM_Reconciliation_v]]></TABLENAME>
staff@10769
    10
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <CLASSNAME><![CDATA[APRM_Reconciliation_v]]></CLASSNAME>
staff@10769
    11
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISVIEW><![CDATA[Y]]></ISVIEW>
staff@10769
    12
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
staff@10769
    13
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <AD_WINDOW_ID><![CDATA[94EAA455D2644E04AB25D93BE5157B6D]]></AD_WINDOW_ID>
staff@10769
    14
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
staff@10769
    15
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
staff@10769
    16
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
staff@10769
    17
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
staff@10769
    18
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
staff@10769
    19
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
staff@10769
    20
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
staff@10769
    21
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
augusto@20322
    22
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
augusto@22749
    23
<!--0DFF5BACFB964FDABAA5042C8809C813-->  <ISTREE><![CDATA[N]]></ISTREE>
staff@10769
    24
<!--0DFF5BACFB964FDABAA5042C8809C813--></AD_TABLE>
staff@10769
    25
staff@10769
    26
<!--1BAA61D216CB4A62838AA785658EE092--><AD_TABLE>
staff@10769
    27
<!--1BAA61D216CB4A62838AA785658EE092-->  <AD_TABLE_ID><![CDATA[1BAA61D216CB4A62838AA785658EE092]]></AD_TABLE_ID>
staff@10769
    28
<!--1BAA61D216CB4A62838AA785658EE092-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
staff@10769
    29
<!--1BAA61D216CB4A62838AA785658EE092-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
staff@10769
    30
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
staff@10769
    31
<!--1BAA61D216CB4A62838AA785658EE092-->  <NAME><![CDATA[APRM_FinAcc_Transaction_acct_v]]></NAME>
staff@10769
    32
<!--1BAA61D216CB4A62838AA785658EE092-->  <DESCRIPTION><![CDATA[Financial Account Transactions Accounting]]></DESCRIPTION>
staff@10769
    33
<!--1BAA61D216CB4A62838AA785658EE092-->  <HELP><![CDATA[Accounting entries related to a particular financial account]]></HELP>
staff@10769
    34
<!--1BAA61D216CB4A62838AA785658EE092-->  <TABLENAME><![CDATA[APRM_FinAcc_Transaction_acct_v]]></TABLENAME>
staff@10769
    35
<!--1BAA61D216CB4A62838AA785658EE092-->  <CLASSNAME><![CDATA[FinAccTransactionAccounting]]></CLASSNAME>
staff@10769
    36
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISVIEW><![CDATA[Y]]></ISVIEW>
staff@10769
    37
<!--1BAA61D216CB4A62838AA785658EE092-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
staff@10769
    38
<!--1BAA61D216CB4A62838AA785658EE092-->  <AD_WINDOW_ID><![CDATA[94EAA455D2644E04AB25D93BE5157B6D]]></AD_WINDOW_ID>
staff@10769
    39
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
staff@10769
    40
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
staff@10769
    41
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
staff@10769
    42
<!--1BAA61D216CB4A62838AA785658EE092-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
staff@10769
    43
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
staff@10769
    44
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
staff@10769
    45
<!--1BAA61D216CB4A62838AA785658EE092-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
staff@10769
    46
<!--1BAA61D216CB4A62838AA785658EE092-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
augusto@20322
    47
<!--1BAA61D216CB4A62838AA785658EE092-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
augusto@22749
    48
<!--1BAA61D216CB4A62838AA785658EE092-->  <ISTREE><![CDATA[N]]></ISTREE>
staff@10769
    49
<!--1BAA61D216CB4A62838AA785658EE092--></AD_TABLE>
staff@10769
    50
unai@23556
    51
<!--58AF4D3E594B421A9A7307480736F03E--><AD_TABLE>
unai@23556
    52
<!--58AF4D3E594B421A9A7307480736F03E-->  <AD_TABLE_ID><![CDATA[58AF4D3E594B421A9A7307480736F03E]]></AD_TABLE_ID>
unai@23556
    53
<!--58AF4D3E594B421A9A7307480736F03E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
unai@23556
    54
<!--58AF4D3E594B421A9A7307480736F03E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
unai@23556
    55
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
unai@23556
    56
<!--58AF4D3E594B421A9A7307480736F03E-->  <NAME><![CDATA[aprm_orderinvoice]]></NAME>
unai@23556
    57
<!--58AF4D3E594B421A9A7307480736F03E-->  <TABLENAME><![CDATA[aprm_orderinvoice]]></TABLENAME>
unai@23556
    58
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISVIEW><![CDATA[N]]></ISVIEW>
unai@23556
    59
<!--58AF4D3E594B421A9A7307480736F03E-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
unai@23556
    60
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
unai@23556
    61
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
unai@23556
    62
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
unai@23556
    63
<!--58AF4D3E594B421A9A7307480736F03E-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
unai@23556
    64
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
unai@23556
    65
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
unai@23556
    66
<!--58AF4D3E594B421A9A7307480736F03E-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
unai@23556
    67
<!--58AF4D3E594B421A9A7307480736F03E-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
unai@23556
    68
<!--58AF4D3E594B421A9A7307480736F03E-->  <DATAORIGINTYPE><![CDATA[HQL]]></DATAORIGINTYPE>
unai@23556
    69
<!--58AF4D3E594B421A9A7307480736F03E-->  <ISTREE><![CDATA[N]]></ISTREE>
unai@23560
    70
<!--58AF4D3E594B421A9A7307480736F03E-->  <HQLQUERY><![CDATA[select @selectClause@
unai@23556
    71
from FIN_Payment_ScheduleDetail as psd
unai@23556
    72
left outer join psd.orderPaymentSchedule as ops  
unai@25897
    73
left outer join ops.order as ord @joinClauseOrder@
unai@23571
    74
left outer join ord.businessPartner as ordbp
unai@23556
    75
left outer join ops.fINPaymentPriority as opriority 
unai@23571
    76
left outer join ops.finPaymentmethod opsfp
unai@23556
    77
left outer join psd.invoicePaymentSchedule as ips  
unai@25897
    78
left outer join ips.invoice as inv @joinClauseInvoice@
unai@23571
    79
left outer join inv.businessPartner as invbp
unai@23556
    80
left outer join ips.fINPaymentPriority as ipriority 
unai@23571
    81
left outer join ips.finPaymentmethod as ipsfp
unai@23556
    82
left outer join psd.organization as org 
unai@23622
    83
left outer join org.organizationInformationList as oinfo
gorkaion@23642
    84
left outer join psd.paymentDetails as pd 
gorkaion@23642
    85
left outer join pd.finPayment as fp
unai@23622
    86
@joinClause@
unai@23603
    87
where @additional_filters@
unai@23603
    88
and @whereClause@
unai@23560
    89
group by @groupByClause@
gorkaion@23642
    90
@havingClause@]]></HQLQUERY>
unai@23556
    91
<!--58AF4D3E594B421A9A7307480736F03E-->  <ENTITY_ALIAS><![CDATA[psd]]></ENTITY_ALIAS>
unai@23556
    92
<!--58AF4D3E594B421A9A7307480736F03E--></AD_TABLE>
unai@23556
    93
unai@23549
    94
<!--59ED9B23854A4B048CBBAE38436B99C2--><AD_TABLE>
unai@23549
    95
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <AD_TABLE_ID><![CDATA[59ED9B23854A4B048CBBAE38436B99C2]]></AD_TABLE_ID>
unai@23549
    96
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
unai@23549
    97
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
unai@23549
    98
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
unai@23549
    99
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <NAME><![CDATA[Aprm_Credit_To_Use]]></NAME>
unai@23556
   100
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <TABLENAME><![CDATA[Aprm_Credit_To_Use]]></TABLENAME>
unai@23549
   101
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISVIEW><![CDATA[N]]></ISVIEW>
unai@23549
   102
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
unai@23549
   103
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
unai@23549
   104
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
unai@23549
   105
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
unai@23549
   106
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
unai@23549
   107
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
unai@23549
   108
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
unai@23549
   109
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
unai@23549
   110
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
unai@23556
   111
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <DATAORIGINTYPE><![CDATA[HQL]]></DATAORIGINTYPE>
unai@23549
   112
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ISTREE><![CDATA[N]]></ISTREE>
unai@25583
   113
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <HQLQUERY><![CDATA[select f.id, f.documentNo, f.description, f.paymentDate, f.generatedCredit - f.usedCredit as outstandingAmount, '0' as paymentAmount 
unai@25583
   114
@selectClause@ 
unai@25583
   115
from FIN_Payment f 
unai@25583
   116
@joinClause@ 
unai@25583
   117
where f.generatedCredit != '0' 
victor@26936
   118
and f.generatedCredit != f.usedCredit 
victor@26936
   119
and aprm_seqnumberpaymentstatus(f.status) >= aprm_seqnoinvpaidstatus(f.paymentMethod, f.account, f.receipt) 
unai@25583
   120
@whereClause@ 
unai@25583
   121
and @additional_filters@ 
unai@25583
   122
and @insertion_point_0@ ]]></HQLQUERY>
unai@23556
   123
<!--59ED9B23854A4B048CBBAE38436B99C2-->  <ENTITY_ALIAS><![CDATA[f]]></ENTITY_ALIAS>
unai@23549
   124
<!--59ED9B23854A4B048CBBAE38436B99C2--></AD_TABLE>
unai@23549
   125
harpreet@9076
   126
<!--5AAFAB80FB6740D2A6190CB3939D90EC--><AD_TABLE>
harpreet@9076
   127
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <AD_TABLE_ID><![CDATA[5AAFAB80FB6740D2A6190CB3939D90EC]]></AD_TABLE_ID>
harpreet@9076
   128
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9076
   129
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9076
   130
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9076
   131
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <NAME><![CDATA[APRM_PendingPaymentInvoice]]></NAME>
harpreet@9076
   132
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <DESCRIPTION><![CDATA[Stores generated payment ids on invoice completion that are pending to execute automatically.]]></DESCRIPTION>
harpreet@9076
   133
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <TABLENAME><![CDATA[APRM_Pending_PaymentInvoice]]></TABLENAME>
harpreet@9076
   134
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <CLASSNAME><![CDATA[APRMPendingPaymentFromInvoice]]></CLASSNAME>
harpreet@9076
   135
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISVIEW><![CDATA[N]]></ISVIEW>
harpreet@9076
   136
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
harpreet@9076
   137
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
harpreet@9076
   138
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
harpreet@9076
   139
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
harpreet@9076
   140
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
harpreet@9076
   141
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
harpreet@9076
   142
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
harpreet@9076
   143
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
harpreet@9076
   144
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
augusto@20322
   145
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
augusto@22749
   146
<!--5AAFAB80FB6740D2A6190CB3939D90EC-->  <ISTREE><![CDATA[N]]></ISTREE>
harpreet@9076
   147
<!--5AAFAB80FB6740D2A6190CB3939D90EC--></AD_TABLE>
harpreet@9076
   148
unai@23549
   149
<!--864A35C8FCD548B0AD1D69C89BBA6118--><AD_TABLE>
unai@23549
   150
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <AD_TABLE_ID><![CDATA[864A35C8FCD548B0AD1D69C89BBA6118]]></AD_TABLE_ID>
unai@23549
   151
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
unai@23549
   152
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
unai@23549
   153
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
unai@23556
   154
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <NAME><![CDATA[aprm_gl_item]]></NAME>
unai@23549
   155
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <TABLENAME><![CDATA[aprm_gl_item]]></TABLENAME>
asier@23700
   156
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISVIEW><![CDATA[N]]></ISVIEW>
unai@23549
   157
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
unai@23549
   158
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
unai@23549
   159
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
unai@23549
   160
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
unai@23549
   161
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
unai@23549
   162
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
unai@23549
   163
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
unai@23549
   164
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
unai@23549
   165
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
gorkaion@23625
   166
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <DATAORIGINTYPE><![CDATA[HQL]]></DATAORIGINTYPE>
unai@23549
   167
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ISTREE><![CDATA[N]]></ISTREE>
gorkaion@23625
   168
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <HQLQUERY><![CDATA[select psd.id, gl, bp, prod, proj, cc, stDim, ndDim,
sandra@23759
   169
    case when (p.receipt = 'Y'  and psd.amount > 0  ) or (p.receipt ='N'  and psd.amount < 0  ) then abs(psd.amount) else 0 end as receivedin,
sandra@23759
   170
  case when (p.receipt = 'N'  and psd.amount > 0  ) or (p.receipt = 'Y'  and psd.amount < 0  )  then abs(psd.amount) else 0 end as paidout,
gorkaion@23625
   171
    pd.id as fin_payment_detail_id,
gorkaion@23625
   172
    case when 1 > 0 then true else false end as ob_selected
gorkaion@23625
   173
from FIN_Payment_ScheduleDetail as psd
gorkaion@23625
   174
  join psd.paymentDetails as pd
gorkaion@23625
   175
  join pd.finPayment as p
gorkaion@23625
   176
  join pd.gLItem as gl
gorkaion@23625
   177
  left join  psd.businessPartner as bp
gorkaion@23625
   178
  left join psd.product as prod
gorkaion@23625
   179
  left join psd.project as proj
gorkaion@23625
   180
  left join psd.costCenter as cc
gorkaion@23625
   181
  left join psd.stDimension as stDim
gorkaion@23625
   182
  left join psd.ndDimension as ndDim
gorkaion@23625
   183
where @additional_filters@
gorkaion@23661
   184
and @insertion_point_0@]]></HQLQUERY>
gorkaion@23625
   185
<!--864A35C8FCD548B0AD1D69C89BBA6118-->  <ENTITY_ALIAS><![CDATA[psd]]></ENTITY_ALIAS>
unai@23549
   186
<!--864A35C8FCD548B0AD1D69C89BBA6118--></AD_TABLE>
unai@23549
   187
david@24461
   188
<!--BC21981DCF0846338D631887BEDFE7FA--><AD_TABLE>
david@24461
   189
<!--BC21981DCF0846338D631887BEDFE7FA-->  <AD_TABLE_ID><![CDATA[BC21981DCF0846338D631887BEDFE7FA]]></AD_TABLE_ID>
david@24461
   190
<!--BC21981DCF0846338D631887BEDFE7FA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@24461
   191
<!--BC21981DCF0846338D631887BEDFE7FA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@24461
   192
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@24461
   193
<!--BC21981DCF0846338D631887BEDFE7FA-->  <NAME><![CDATA[aprm_matchstatement]]></NAME>
david@24461
   194
<!--BC21981DCF0846338D631887BEDFE7FA-->  <TABLENAME><![CDATA[aprm_matchstatement]]></TABLENAME>
david@24461
   195
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISVIEW><![CDATA[N]]></ISVIEW>
david@24461
   196
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
david@24461
   197
<!--BC21981DCF0846338D631887BEDFE7FA-->  <AD_WINDOW_ID><![CDATA[E34AE40786684EBB81E9F8A55BE33DCE]]></AD_WINDOW_ID>
david@24461
   198
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
david@24461
   199
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
david@24461
   200
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
david@24461
   201
<!--BC21981DCF0846338D631887BEDFE7FA-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
david@24461
   202
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
david@24461
   203
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
david@24461
   204
<!--BC21981DCF0846338D631887BEDFE7FA-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
david@24461
   205
<!--BC21981DCF0846338D631887BEDFE7FA-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
david@24461
   206
<!--BC21981DCF0846338D631887BEDFE7FA-->  <DATAORIGINTYPE><![CDATA[HQL]]></DATAORIGINTYPE>
david@24461
   207
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ISTREE><![CDATA[N]]></ISTREE>
victor@24576
   208
<!--BC21981DCF0846338D631887BEDFE7FA-->  <HQLQUERY><![CDATA[select bsl.transactionDate as banklineDate, case when bp is null then bsl.bpartnername  else bp.name end AS businessPartner, bsl.referenceNo as referenceNo, bsl.cramount - bsl.dramount as amount, bsl.id as match, bsl.matchingtype as affinity, 
victor@24576
   209
case when fat is null then false else true end AS cleared,
victor@24576
   210
bsl.matchingtype as matchingtype, bsl.id as id, 
eduardo@24678
   211
fat.transactionDate as transactionDate, transactionBP.name as transactionBPName, fat.depositAmount - fat.paymentAmount as transactionAmount, bsl.lineNo as lineNo, fat as fin_finacc_transaction_id, bsl.description, case when bsl.cramount - bsl.dramount >0 then 'D' else 'P' end as type, bsl.matchedDocument, transactionGLItem.name as transactionGLItemName, glitem.name as glitemName, bsl.updated as bslUpdated
victor@24552
   212
 @selectClause@
david@24461
   213
from FIN_BankStatementLine as bsl
eduardo@24464
   214
 join bsl.bankStatement as bs
eduardo@24464
   215
left outer join bsl.financialAccountTransaction as fat
eduardo@24464
   216
left outer join bsl.businessPartner AS bp
unai@24650
   217
left outer join bsl.gLItem as glitem
victor@24552
   218
left outer join fat.businessPartner as transactionBP
unai@24649
   219
left outer join fat.gLItem as transactionGLItem
unai@24537
   220
@joinClause@
david@24461
   221
where @additional_filters@
eduardo@24464
   222
and bs.processed = 'Y'
eduardo@24464
   223
and @whereClause@
victor@24577
   224
@orderby@]]></HQLQUERY>
david@24461
   225
<!--BC21981DCF0846338D631887BEDFE7FA-->  <ENTITY_ALIAS><![CDATA[bsl]]></ENTITY_ALIAS>
david@24461
   226
<!--BC21981DCF0846338D631887BEDFE7FA--></AD_TABLE>
david@24461
   227
victor@24552
   228
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC--><AD_TABLE>
victor@24552
   229
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <AD_TABLE_ID><![CDATA[D56CF1065EF14D52ADAD2AAB0CB63EFC]]></AD_TABLE_ID>
victor@24552
   230
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
victor@24552
   231
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
victor@24552
   232
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
victor@24552
   233
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <NAME><![CDATA[aprm_transactiontomatch]]></NAME>
victor@24552
   234
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <TABLENAME><![CDATA[aprm_transactiontomatch]]></TABLENAME>
victor@24552
   235
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISVIEW><![CDATA[N]]></ISVIEW>
victor@24552
   236
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
victor@24552
   237
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <AD_WINDOW_ID><![CDATA[5BF18A01DB3F4DBBBE1B8A4A6134ACD1]]></AD_WINDOW_ID>
victor@24552
   238
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
victor@24552
   239
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
victor@24552
   240
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
victor@24552
   241
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
victor@24552
   242
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
victor@24552
   243
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
victor@24552
   244
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
victor@24552
   245
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
victor@24552
   246
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <DATAORIGINTYPE><![CDATA[HQL]]></DATAORIGINTYPE>
victor@24552
   247
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ISTREE><![CDATA[N]]></ISTREE>
victor@24552
   248
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <HQLQUERY><![CDATA[select e.id, e.transactionDate, bp.name as businessPartner, 
victor@24552
   249
gl.name as gLItem, fp.documentNo as finPayment, e.description, 
victor@24552
   250
e.paymentAmount, e.depositAmount 
victor@24552
   251
@selectClause@
victor@24552
   252
from FIN_Finacc_Transaction e
victor@24552
   253
left join e.businessPartner as bp
victor@24552
   254
left join e.gLItem as gl
victor@24552
   255
left join e.finPayment fp
victor@24552
   256
@joinClause@
victor@24552
   257
where @additional_filters@
victor@24552
   258
and @whereclause@]]></HQLQUERY>
victor@24552
   259
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC-->  <ENTITY_ALIAS><![CDATA[e]]></ENTITY_ALIAS>
victor@24552
   260
<!--D56CF1065EF14D52ADAD2AAB0CB63EFC--></AD_TABLE>
victor@24552
   261
david@17651
   262
<!--DC814AB3BC84486CA5411131724BC95A--><AD_TABLE>
david@17651
   263
<!--DC814AB3BC84486CA5411131724BC95A-->  <AD_TABLE_ID><![CDATA[DC814AB3BC84486CA5411131724BC95A]]></AD_TABLE_ID>
david@17651
   264
<!--DC814AB3BC84486CA5411131724BC95A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@17651
   265
<!--DC814AB3BC84486CA5411131724BC95A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@17651
   266
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@17651
   267
<!--DC814AB3BC84486CA5411131724BC95A-->  <NAME><![CDATA[APRM_PaymentProposalPickEdit]]></NAME>
david@17651
   268
<!--DC814AB3BC84486CA5411131724BC95A-->  <TABLENAME><![CDATA[APRM_Payment_Prop_Pick_Edit]]></TABLENAME>
david@17651
   269
<!--DC814AB3BC84486CA5411131724BC95A-->  <CLASSNAME><![CDATA[APRM_PaymentProposalPickEdit]]></CLASSNAME>
david@17651
   270
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISVIEW><![CDATA[Y]]></ISVIEW>
david@17651
   271
<!--DC814AB3BC84486CA5411131724BC95A-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
david@17651
   272
<!--DC814AB3BC84486CA5411131724BC95A-->  <AD_WINDOW_ID><![CDATA[C5D0C6D541254921B9848A9A1362EE68]]></AD_WINDOW_ID>
david@17651
   273
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
david@17651
   274
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
david@17651
   275
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
david@17651
   276
<!--DC814AB3BC84486CA5411131724BC95A-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
david@17651
   277
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
david@17651
   278
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
david@17651
   279
<!--DC814AB3BC84486CA5411131724BC95A-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
david@17651
   280
<!--DC814AB3BC84486CA5411131724BC95A-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
augusto@20322
   281
<!--DC814AB3BC84486CA5411131724BC95A-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
augusto@22749
   282
<!--DC814AB3BC84486CA5411131724BC95A-->  <ISTREE><![CDATA[N]]></ISTREE>
david@17651
   283
<!--DC814AB3BC84486CA5411131724BC95A--></AD_TABLE>
david@17651
   284
gorkaion@12225
   285
<!--FF8080812FFEC82D012FFECCE3400030--><AD_TABLE>
gorkaion@12225
   286
<!--FF8080812FFEC82D012FFECCE3400030-->  <AD_TABLE_ID><![CDATA[FF8080812FFEC82D012FFECCE3400030]]></AD_TABLE_ID>
gorkaion@12225
   287
<!--FF8080812FFEC82D012FFECCE3400030-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
gorkaion@12225
   288
<!--FF8080812FFEC82D012FFECCE3400030-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
gorkaion@12225
   289
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
gorkaion@12225
   290
<!--FF8080812FFEC82D012FFECCE3400030-->  <NAME><![CDATA[APRM_Finacc_Transaction_v]]></NAME>
gorkaion@12225
   291
<!--FF8080812FFEC82D012FFECCE3400030-->  <TABLENAME><![CDATA[APRM_Finacc_Transaction_v]]></TABLENAME>
gorkaion@12225
   292
<!--FF8080812FFEC82D012FFECCE3400030-->  <CLASSNAME><![CDATA[APRM_FinaccTransactionV]]></CLASSNAME>
gorkaion@12225
   293
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISVIEW><![CDATA[Y]]></ISVIEW>
gorkaion@12225
   294
<!--FF8080812FFEC82D012FFECCE3400030-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
gorkaion@12225
   295
<!--FF8080812FFEC82D012FFECCE3400030-->  <AD_WINDOW_ID><![CDATA[94EAA455D2644E04AB25D93BE5157B6D]]></AD_WINDOW_ID>
gorkaion@12225
   296
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
gorkaion@12225
   297
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
gorkaion@12225
   298
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
gorkaion@12225
   299
<!--FF8080812FFEC82D012FFECCE3400030-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
gorkaion@12225
   300
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
gorkaion@12225
   301
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
gorkaion@12225
   302
<!--FF8080812FFEC82D012FFECCE3400030-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
gorkaion@12225
   303
<!--FF8080812FFEC82D012FFECCE3400030-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
augusto@20322
   304
<!--FF8080812FFEC82D012FFECCE3400030-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
augusto@22749
   305
<!--FF8080812FFEC82D012FFECCE3400030-->  <ISTREE><![CDATA[N]]></ISTREE>
gorkaion@12225
   306
<!--FF8080812FFEC82D012FFECCE3400030--></AD_TABLE>
gorkaion@12225
   307
gorkaion@13161
   308
<!--FF80808130BB89090130BB8E3D7E0012--><AD_TABLE>
gorkaion@13161
   309
<!--FF80808130BB89090130BB8E3D7E0012-->  <AD_TABLE_ID><![CDATA[FF80808130BB89090130BB8E3D7E0012]]></AD_TABLE_ID>
gorkaion@13161
   310
<!--FF80808130BB89090130BB8E3D7E0012-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
gorkaion@13161
   311
<!--FF80808130BB89090130BB8E3D7E0012-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
gorkaion@13161
   312
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
gorkaion@13161
   313
<!--FF80808130BB89090130BB8E3D7E0012-->  <NAME><![CDATA[APRM_Finacc_Trx_Full_Acct_V]]></NAME>
gorkaion@13161
   314
<!--FF80808130BB89090130BB8E3D7E0012-->  <DESCRIPTION><![CDATA[Stores accounting info for a financial account both for transactions and reconciliation documents]]></DESCRIPTION>
gorkaion@13161
   315
<!--FF80808130BB89090130BB8E3D7E0012-->  <HELP><![CDATA[Stores accounting info for a financial account both for transactions and reconciliation documents]]></HELP>
gorkaion@13161
   316
<!--FF80808130BB89090130BB8E3D7E0012-->  <TABLENAME><![CDATA[APRM_Finacc_Trx_Full_Acct_V]]></TABLENAME>
gorkaion@13161
   317
<!--FF80808130BB89090130BB8E3D7E0012-->  <CLASSNAME><![CDATA[APRM_Finacc_Trx_Full_Acct_V]]></CLASSNAME>
gorkaion@13161
   318
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISVIEW><![CDATA[Y]]></ISVIEW>
gorkaion@13161
   319
<!--FF80808130BB89090130BB8E3D7E0012-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
gorkaion@13161
   320
<!--FF80808130BB89090130BB8E3D7E0012-->  <AD_WINDOW_ID><![CDATA[94EAA455D2644E04AB25D93BE5157B6D]]></AD_WINDOW_ID>
gorkaion@13161
   321
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
gorkaion@13161
   322
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
gorkaion@13161
   323
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
gorkaion@13161
   324
<!--FF80808130BB89090130BB8E3D7E0012-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
gorkaion@13161
   325
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
gorkaion@13161
   326
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
gorkaion@13161
   327
<!--FF80808130BB89090130BB8E3D7E0012-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
gorkaion@13161
   328
<!--FF80808130BB89090130BB8E3D7E0012-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
augusto@20322
   329
<!--FF80808130BB89090130BB8E3D7E0012-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
augusto@22749
   330
<!--FF80808130BB89090130BB8E3D7E0012-->  <ISTREE><![CDATA[N]]></ISTREE>
gorkaion@13161
   331
<!--FF80808130BB89090130BB8E3D7E0012--></AD_TABLE>
gorkaion@13161
   332
staff@10769
   333
</data>