modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_VAL_RULE.xml
author RM packaging bot <staff.rm@openbravo.com>
Fri, 18 Sep 2015 02:49:23 +0000
changeset 27592 68dbc59de475
parent 24508 68f1a704d8a0
child 29961 7be40916dd08
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>
unai@23665
     3
<!--0FA3B20AECB74FA5A888AA7465FD1B1C--><AD_VAL_RULE>
unai@23665
     4
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_VAL_RULE_ID><![CDATA[0FA3B20AECB74FA5A888AA7465FD1B1C]]></AD_VAL_RULE_ID>
unai@23665
     5
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
unai@23665
     6
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
unai@23665
     7
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
unai@23665
     8
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <NAME><![CDATA[APRMActionDocumentByIssotrxAndPaymentMethod]]></NAME>
unai@23665
     9
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <TYPE><![CDATA[HQL_JS]]></TYPE>
unai@23665
    10
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <CODE><![CDATA["e.reference.id = '7D750D39954C4F7A81B35230676D5D9F' and ((" + OB.getParameters().get('issotrx') + " = true and (((select automaticDeposit from FinancialMgmtFinAccPaymentMethod where paymentMethod = '" + OB.getParameters().get('fin_paymentmethod_id') + "' and account = '" + OB.getParameters().get('fin_financial_account_id') + "') = false and e.searchKey in ('PRP', 'PRD')) or ((select automaticDeposit from FinancialMgmtFinAccPaymentMethod where paymentMethod = '" + OB.getParameters().get('fin_paymentmethod_id') + "' and account = '" + OB.getParameters().get('fin_financial_account_id') + "') = true and e.searchKey in ('PRD')))) or (" + OB.getParameters().get('issotrx') + " = false and (((select automaticWithdrawn from FinancialMgmtFinAccPaymentMethod where paymentMethod = '" + OB.getParameters().get('fin_paymentmethod_id') + "' and account = '" + OB.getParameters().get('fin_financial_account_id') + "') = false and e.searchKey in ('PPP', 'PPW')) or ((select automaticWithdrawn from FinancialMgmtFinAccPaymentMethod where paymentMethod = '" + OB.getParameters().get('fin_paymentmethod_id') + "' and account = '" + OB.getParameters().get('fin_financial_account_id') + "') = true and e.searchKey in ('PPW')))))"]]></CODE>
unai@23665
    11
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
unai@23665
    12
<!--0FA3B20AECB74FA5A888AA7465FD1B1C--></AD_VAL_RULE>
unai@23665
    13
staff@10769
    14
<!--119E4BFBC4264A148450053A47E7D3FE--><AD_VAL_RULE>
staff@10769
    15
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_VAL_RULE_ID><![CDATA[119E4BFBC4264A148450053A47E7D3FE]]></AD_VAL_RULE_ID>
staff@10769
    16
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
staff@10769
    17
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
staff@10769
    18
<!--119E4BFBC4264A148450053A47E7D3FE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
staff@10769
    19
<!--119E4BFBC4264A148450053A47E7D3FE-->  <NAME><![CDATA[Process Proposal Window Reference Validation]]></NAME>
staff@10769
    20
<!--119E4BFBC4264A148450053A47E7D3FE-->  <TYPE><![CDATA[S]]></TYPE>
staff@10769
    21
<!--119E4BFBC4264A148450053A47E7D3FE-->  <CODE><![CDATA[AD_Ref_List.Value <> 'G']]></CODE>
staff@10769
    22
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
staff@10769
    23
<!--119E4BFBC4264A148450053A47E7D3FE--></AD_VAL_RULE>
staff@10769
    24
sandra@21940
    25
<!--1D824F88E32F4282B26C48B5A910B006--><AD_VAL_RULE>
sandra@21940
    26
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_VAL_RULE_ID><![CDATA[1D824F88E32F4282B26C48B5A910B006]]></AD_VAL_RULE_ID>
sandra@21940
    27
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
sandra@21940
    28
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
sandra@21940
    29
<!--1D824F88E32F4282B26C48B5A910B006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
sandra@21940
    30
<!--1D824F88E32F4282B26C48B5A910B006-->  <NAME><![CDATA[FIN_Payment Out status validation]]></NAME>
sandra@21940
    31
<!--1D824F88E32F4282B26C48B5A910B006-->  <TYPE><![CDATA[S]]></TYPE>
sandra@21940
    32
<!--1D824F88E32F4282B26C48B5A910B006-->  <CODE><![CDATA[Value not IN ('RPR','RDNC') and seqno >=(select seqno FROM ad_ref_list WHERE ad_reference_id = '575BCB88A4694C27BC013DE9C73E6FE7' and value='PPM')]]></CODE>
sandra@21940
    33
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
sandra@21940
    34
<!--1D824F88E32F4282B26C48B5A910B006--></AD_VAL_RULE>
sandra@21940
    35
sandra@21940
    36
<!--27D8D0FDAE4742229DC64888DF9CB8A8--><AD_VAL_RULE>
sandra@21940
    37
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_VAL_RULE_ID><![CDATA[27D8D0FDAE4742229DC64888DF9CB8A8]]></AD_VAL_RULE_ID>
sandra@21940
    38
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
sandra@21940
    39
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
sandra@21940
    40
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
sandra@21940
    41
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <NAME><![CDATA[FIN_Payment In status validation]]></NAME>
sandra@21940
    42
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <TYPE><![CDATA[S]]></TYPE>
sandra@21940
    43
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <CODE><![CDATA[Value not IN  ('PPM','PWNC') and seqno >=(select seqno FROM ad_ref_list WHERE ad_reference_id = '575BCB88A4694C27BC013DE9C73E6FE7' and value='RPR')]]></CODE>
sandra@21940
    44
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
sandra@21940
    45
<!--27D8D0FDAE4742229DC64888DF9CB8A8--></AD_VAL_RULE>
sandra@21940
    46
harpreet@9076
    47
<!--29010995FD39439D97A5C0CE8CE27D70--><AD_VAL_RULE>
harpreet@9076
    48
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_VAL_RULE_ID><![CDATA[29010995FD39439D97A5C0CE8CE27D70]]></AD_VAL_RULE_ID>
harpreet@9076
    49
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9076
    50
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9076
    51
<!--29010995FD39439D97A5C0CE8CE27D70-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9076
    52
<!--29010995FD39439D97A5C0CE8CE27D70-->  <NAME><![CDATA[FIN_Payment forced Deposit/Withdrawal]]></NAME>
harpreet@9076
    53
<!--29010995FD39439D97A5C0CE8CE27D70-->  <TYPE><![CDATA[S]]></TYPE>
harpreet@9076
    54
<!--29010995FD39439D97A5C0CE8CE27D70-->  <CODE><![CDATA[value in ('PPW', 'PRD')]]></CODE>
harpreet@9076
    55
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
harpreet@9076
    56
<!--29010995FD39439D97A5C0CE8CE27D70--></AD_VAL_RULE>
harpreet@9076
    57
eduardo@19560
    58
<!--3842B167CA6F44239C3357A721E3BA6A--><AD_VAL_RULE>
eduardo@19560
    59
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_VAL_RULE_ID><![CDATA[3842B167CA6F44239C3357A721E3BA6A]]></AD_VAL_RULE_ID>
eduardo@19560
    60
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
eduardo@19560
    61
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
eduardo@19560
    62
<!--3842B167CA6F44239C3357A721E3BA6A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@19560
    63
<!--3842B167CA6F44239C3357A721E3BA6A-->  <NAME><![CDATA[Doubtfull Debt valid actions]]></NAME>
eduardo@19560
    64
<!--3842B167CA6F44239C3357A721E3BA6A-->  <TYPE><![CDATA[S]]></TYPE>
jon@21059
    65
<!--3842B167CA6F44239C3357A721E3BA6A-->  <CODE><![CDATA[(((@EM_APRM_Process@ = 'P' AND AD_Ref_List.value='P') OR (@EM_APRM_Process@ = 'R' AND AD_Ref_List.value = 'R')) AND AD_Ref_List.IsActive = 'Y')]]></CODE>
eduardo@19560
    66
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
eduardo@19560
    67
<!--3842B167CA6F44239C3357A721E3BA6A--></AD_VAL_RULE>
eduardo@19560
    68
david@18902
    69
<!--4DB5167147F24078A1FD39DC7564B48D--><AD_VAL_RULE>
david@18902
    70
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_VAL_RULE_ID><![CDATA[4DB5167147F24078A1FD39DC7564B48D]]></AD_VAL_RULE_ID>
david@18902
    71
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@18902
    72
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@18902
    73
<!--4DB5167147F24078A1FD39DC7564B48D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@18902
    74
<!--4DB5167147F24078A1FD39DC7564B48D-->  <NAME><![CDATA[FIN_FinancialAccountInNaturalTree]]></NAME>
david@18902
    75
<!--4DB5167147F24078A1FD39DC7564B48D-->  <TYPE><![CDATA[S]]></TYPE>
david@18902
    76
<!--4DB5167147F24078A1FD39DC7564B48D-->  <CODE><![CDATA[(AD_ISORGINCLUDED(ad_org_id, @AD_ORG_ID@, ad_client_id)<>'-1'  OR AD_ISORGINCLUDED(@AD_ORG_ID@, ad_org_id, ad_client_id)<>'-1')]]></CODE>
david@18902
    77
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
david@18902
    78
<!--4DB5167147F24078A1FD39DC7564B48D--></AD_VAL_RULE>
david@18902
    79
staff@10769
    80
<!--575E470ABADB4C278132C957A78C47E3--><AD_VAL_RULE>
staff@10769
    81
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_VAL_RULE_ID><![CDATA[575E470ABADB4C278132C957A78C47E3]]></AD_VAL_RULE_ID>
staff@10769
    82
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
staff@10769
    83
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
staff@10769
    84
<!--575E470ABADB4C278132C957A78C47E3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
staff@10769
    85
<!--575E470ABADB4C278132C957A78C47E3-->  <NAME><![CDATA[Process Payment valid actions]]></NAME>
staff@10769
    86
<!--575E470ABADB4C278132C957A78C47E3-->  <TYPE><![CDATA[S]]></TYPE>
eduardo@20188
    87
<!--575E470ABADB4C278132C957A78C47E3-->  <CODE><![CDATA[((@EM_APRM_Process_Payment@ = 'P' AND AD_Ref_List.value='P') OR (@EM_APRM_Process_Payment@ in ('R','RE') AND AD_Ref_List.value IN ('RE','R') AND NOT EXISTS (SELECT 1 FROM FIN_PAYMENT WHERE FIN_Rev_Payment_ID = @FIN_Payment_ID@)) OR (@EM_APRM_Process_Payment@ in ('R','RE') AND AD_Ref_List.value IN ('R') AND EXISTS (SELECT 1 FROM FIN_PAYMENT WHERE FIN_Rev_Payment_ID = @FIN_Payment_ID@)) OR (@EM_APRM_Process_Payment@ in ('R','RE') AND AD_Ref_List.value IN ('V') AND @Status@='RPAE') OR (@EM_APRM_Process_Payment@ is null)) AND AD_Ref_List.IsActive = 'Y']]></CODE>
staff@10769
    88
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
staff@10769
    89
<!--575E470ABADB4C278132C957A78C47E3--></AD_VAL_RULE>
staff@10769
    90
david@18902
    91
<!--959ADF046AFE4F509ABC6E2F41F9DB04--><AD_VAL_RULE>
david@18902
    92
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_VAL_RULE_ID><![CDATA[959ADF046AFE4F509ABC6E2F41F9DB04]]></AD_VAL_RULE_ID>
david@18902
    93
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@18902
    94
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@18902
    95
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@18908
    96
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <NAME><![CDATA[FIN_PaymentMethodInFinancialAccountOrBPartnerAcc]]></NAME>
david@18902
    97
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <TYPE><![CDATA[S]]></TYPE>
david@18902
    98
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <CODE><![CDATA[EXISTS(
david@18902
    99
SELECT FIN_PAYMENTMETHOD_ID 
david@18902
   100
FROM FIN_FINACC_PAYMENTMETHOD 
david@18902
   101
WHERE FIN_FINANCIAL_ACCOUNT_ID = CASE WHEN (@FIN_FINANCIAL_ACCOUNT_ID@ IS NOT NULL AND @FIN_FINANCIAL_ACCOUNT_ID@ <> COALESCE('','-1')) THEN @FIN_FINANCIAL_ACCOUNT_ID@ ELSE
david@18902
   102
(SELECT CASE WHEN ((TO_NUMBER(@AMTACCTDR@) - TO_NUMBER(@AMTACCTCR@)) > 0) THEN FIN_FINANCIAL_ACCOUNT_ID ELSE PO_FINANCIAL_ACCOUNT_ID END FROM C_BPARTNER WHERE C_BPARTNER_ID = @C_BPARTNER_ID@)
david@18902
   103
END
david@18902
   104
AND FIN_FINACC_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID = FIN_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID )]]></CODE>
david@18902
   105
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
david@18902
   106
<!--959ADF046AFE4F509ABC6E2F41F9DB04--></AD_VAL_RULE>
david@18902
   107
david@18908
   108
<!--BE0A211D552A4DE8AC3E6658759B396F--><AD_VAL_RULE>
david@18908
   109
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_VAL_RULE_ID><![CDATA[BE0A211D552A4DE8AC3E6658759B396F]]></AD_VAL_RULE_ID>
david@18908
   110
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@18908
   111
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@18908
   112
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@18908
   113
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <NAME><![CDATA[FIN_PaymentMethodInFinancialAccount]]></NAME>
david@18908
   114
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <TYPE><![CDATA[S]]></TYPE>
david@18908
   115
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <CODE><![CDATA[EXISTS (SELECT FIN_PAYMENTMETHOD_ID 
david@18908
   116
FROM FIN_FINACC_PAYMENTMETHOD 
david@18908
   117
WHERE FIN_FINANCIAL_ACCOUNT_ID = @FIN_FINANCIAL_ACCOUNT_ID@ 
david@18908
   118
AND FIN_FINACC_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID = FIN_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID)]]></CODE>
david@18908
   119
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
david@18908
   120
<!--BE0A211D552A4DE8AC3E6658759B396F--></AD_VAL_RULE>
david@18908
   121
daniel@24110
   122
<!--CA425689672A42D7BE2158EE41E44F94--><AD_VAL_RULE>
daniel@24110
   123
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_VAL_RULE_ID><![CDATA[CA425689672A42D7BE2158EE41E44F94]]></AD_VAL_RULE_ID>
daniel@24110
   124
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
daniel@24110
   125
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
daniel@24110
   126
<!--CA425689672A42D7BE2158EE41E44F94-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
daniel@24110
   127
<!--CA425689672A42D7BE2158EE41E44F94-->  <NAME><![CDATA[Process or Reactivate Imported Bank Statement]]></NAME>
daniel@24110
   128
<!--CA425689672A42D7BE2158EE41E44F94-->  <TYPE><![CDATA[S]]></TYPE>
daniel@24110
   129
<!--CA425689672A42D7BE2158EE41E44F94-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
daniel@24110
   130
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
daniel@24110
   131
<!--CA425689672A42D7BE2158EE41E44F94--></AD_VAL_RULE>
daniel@24110
   132
david@18902
   133
<!--D035365830AF466BA81F2AB8ECC6FAE0--><AD_VAL_RULE>
david@18902
   134
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_VAL_RULE_ID><![CDATA[D035365830AF466BA81F2AB8ECC6FAE0]]></AD_VAL_RULE_ID>
david@18902
   135
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@18902
   136
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@18902
   137
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@18902
   138
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <NAME><![CDATA[FIN_GLItemInNaturalTree]]></NAME>
david@18902
   139
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <TYPE><![CDATA[S]]></TYPE>
david@18902
   140
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <CODE><![CDATA[(AD_ISORGINCLUDED(ad_org_id, @AD_ORG_ID@, ad_client_id)<>'-1'  OR AD_ISORGINCLUDED(@AD_ORG_ID@, ad_org_id, ad_client_id)<>'-1')]]></CODE>
david@18902
   141
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
david@18902
   142
<!--D035365830AF466BA81F2AB8ECC6FAE0--></AD_VAL_RULE>
david@18902
   143
ioritz@18073
   144
<!--E00B19370995405C8014D48E2DE98FD1--><AD_VAL_RULE>
ioritz@18073
   145
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_VAL_RULE_ID><![CDATA[E00B19370995405C8014D48E2DE98FD1]]></AD_VAL_RULE_ID>
ioritz@18073
   146
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
ioritz@18073
   147
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
ioritz@18073
   148
<!--E00B19370995405C8014D48E2DE98FD1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
ioritz@18073
   149
<!--E00B19370995405C8014D48E2DE98FD1-->  <NAME><![CDATA[AD_Org show product's child organizations]]></NAME>
ioritz@18073
   150
<!--E00B19370995405C8014D48E2DE98FD1-->  <DESCRIPTION><![CDATA[It only shows the child organizations of the organization of the product.]]></DESCRIPTION>
ioritz@18073
   151
<!--E00B19370995405C8014D48E2DE98FD1-->  <TYPE><![CDATA[S]]></TYPE>
ioritz@18073
   152
<!--E00B19370995405C8014D48E2DE98FD1-->  <CODE><![CDATA[AD_ISORGINCLUDED(ad_org.ad_org_id, @Product_Org@, ad_org.ad_client_id)<>-1 AND IsReady = 'Y']]></CODE>
ioritz@18073
   153
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
ioritz@18073
   154
<!--E00B19370995405C8014D48E2DE98FD1--></AD_VAL_RULE>
ioritz@18073
   155
david@18902
   156
<!--E491153CCBEE49A1842A7CC8544929DD--><AD_VAL_RULE>
david@18902
   157
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_VAL_RULE_ID><![CDATA[E491153CCBEE49A1842A7CC8544929DD]]></AD_VAL_RULE_ID>
david@18902
   158
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@18902
   159
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@18902
   160
<!--E491153CCBEE49A1842A7CC8544929DD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@18902
   161
<!--E491153CCBEE49A1842A7CC8544929DD-->  <NAME><![CDATA[FIN_BusinessPartnerInNaturaTreeAndCustomerOrVendor]]></NAME>
david@18902
   162
<!--E491153CCBEE49A1842A7CC8544929DD-->  <TYPE><![CDATA[S]]></TYPE>
david@18902
   163
<!--E491153CCBEE49A1842A7CC8544929DD-->  <CODE><![CDATA[(AD_ISORGINCLUDED(ad_org_id, @AD_ORG_ID@, ad_client_id)<>'-1'  OR AD_ISORGINCLUDED(@AD_ORG_ID@, ad_org_id, ad_client_id)<>'-1')
david@18902
   164
AND ((((TO_NUMBER(@AMTACCTDR@) - TO_NUMBER(@AMTACCTCR@)) > 0) AND (ISCUSTOMER = 'Y' OR C_BPARTNER_ID = @C_BPARTNER_ID@))
david@18902
   165
OR  (((TO_NUMBER(@AMTACCTDR@) - TO_NUMBER(@AMTACCTCR@)) < 0) AND (ISVENDOR = 'Y' OR C_BPARTNER_ID = @C_BPARTNER_ID@)))
david@18902
   166
]]></CODE>
david@18902
   167
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
david@18902
   168
<!--E491153CCBEE49A1842A7CC8544929DD--></AD_VAL_RULE>
david@18902
   169
unai@24477
   170
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30--><AD_VAL_RULE>
unai@24477
   171
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_VAL_RULE_ID><![CDATA[FAE0D7C8A9D84FAFAE3C10CD5DCE6E30]]></AD_VAL_RULE_ID>
unai@24477
   172
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
unai@24477
   173
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
unai@24477
   174
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
unai@24477
   175
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <NAME><![CDATA[APRM_Process Transactions valid actions]]></NAME>
unai@24477
   176
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <TYPE><![CDATA[S]]></TYPE>
unai@24477
   177
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
unai@24477
   178
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
unai@24477
   179
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30--></AD_VAL_RULE>
unai@24477
   180
eduardo@11077
   181
<!--FF8080812E448A62012E44943A160017--><AD_VAL_RULE>
eduardo@11077
   182
<!--FF8080812E448A62012E44943A160017-->  <AD_VAL_RULE_ID><![CDATA[FF8080812E448A62012E44943A160017]]></AD_VAL_RULE_ID>
eduardo@11077
   183
<!--FF8080812E448A62012E44943A160017-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
eduardo@11077
   184
<!--FF8080812E448A62012E44943A160017-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
eduardo@11077
   185
<!--FF8080812E448A62012E44943A160017-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@11077
   186
<!--FF8080812E448A62012E44943A160017-->  <NAME><![CDATA[APRM_Process Reconciliation valid actions]]></NAME>
eduardo@11077
   187
<!--FF8080812E448A62012E44943A160017-->  <TYPE><![CDATA[S]]></TYPE>
eduardo@11081
   188
<!--FF8080812E448A62012E44943A160017-->  <CODE><![CDATA[((@Process_Reconciliation@ = 'P' AND AD_Ref_List.value='P') OR (@Process_Reconciliation@ = 'R' AND AD_Ref_List.value='R') OR (@Process_Reconciliation@ is null))]]></CODE>
eduardo@11077
   189
<!--FF8080812E448A62012E44943A160017-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
eduardo@11077
   190
<!--FF8080812E448A62012E44943A160017--></AD_VAL_RULE>
eduardo@11077
   191
eduardo@14115
   192
<!--FF808081332719060133271E5BB1001B--><AD_VAL_RULE>
eduardo@14115
   193
<!--FF808081332719060133271E5BB1001B-->  <AD_VAL_RULE_ID><![CDATA[FF808081332719060133271E5BB1001B]]></AD_VAL_RULE_ID>
eduardo@14115
   194
<!--FF808081332719060133271E5BB1001B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
eduardo@14115
   195
<!--FF808081332719060133271E5BB1001B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
eduardo@14115
   196
<!--FF808081332719060133271E5BB1001B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@14115
   197
<!--FF808081332719060133271E5BB1001B-->  <NAME><![CDATA[APRM_Process Reconciliation valid actions New]]></NAME>
eduardo@14115
   198
<!--FF808081332719060133271E5BB1001B-->  <TYPE><![CDATA[S]]></TYPE>
eduardo@14115
   199
<!--FF808081332719060133271E5BB1001B-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
eduardo@14115
   200
<!--FF808081332719060133271E5BB1001B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
eduardo@14115
   201
<!--FF808081332719060133271E5BB1001B--></AD_VAL_RULE>
eduardo@14115
   202
staff@10769
   203
</data>