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
<?xml version='1.0' encoding='UTF-8'?>
<data>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C--><AD_VAL_RULE>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_VAL_RULE_ID><![CDATA[0FA3B20AECB74FA5A888AA7465FD1B1C]]></AD_VAL_RULE_ID>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <NAME><![CDATA[APRMActionDocumentByIssotrxAndPaymentMethod]]></NAME>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <TYPE><![CDATA[HQL_JS]]></TYPE>
<!--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>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--0FA3B20AECB74FA5A888AA7465FD1B1C--></AD_VAL_RULE>

<!--119E4BFBC4264A148450053A47E7D3FE--><AD_VAL_RULE>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_VAL_RULE_ID><![CDATA[119E4BFBC4264A148450053A47E7D3FE]]></AD_VAL_RULE_ID>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <NAME><![CDATA[Process Proposal Window Reference Validation]]></NAME>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <TYPE><![CDATA[S]]></TYPE>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <CODE><![CDATA[AD_Ref_List.Value <> 'G']]></CODE>
<!--119E4BFBC4264A148450053A47E7D3FE-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--119E4BFBC4264A148450053A47E7D3FE--></AD_VAL_RULE>

<!--1D824F88E32F4282B26C48B5A910B006--><AD_VAL_RULE>
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_VAL_RULE_ID><![CDATA[1D824F88E32F4282B26C48B5A910B006]]></AD_VAL_RULE_ID>
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--1D824F88E32F4282B26C48B5A910B006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--1D824F88E32F4282B26C48B5A910B006-->  <NAME><![CDATA[FIN_Payment Out status validation]]></NAME>
<!--1D824F88E32F4282B26C48B5A910B006-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--1D824F88E32F4282B26C48B5A910B006-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--1D824F88E32F4282B26C48B5A910B006--></AD_VAL_RULE>

<!--27D8D0FDAE4742229DC64888DF9CB8A8--><AD_VAL_RULE>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_VAL_RULE_ID><![CDATA[27D8D0FDAE4742229DC64888DF9CB8A8]]></AD_VAL_RULE_ID>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <NAME><![CDATA[FIN_Payment In status validation]]></NAME>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--27D8D0FDAE4742229DC64888DF9CB8A8-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--27D8D0FDAE4742229DC64888DF9CB8A8--></AD_VAL_RULE>

<!--29010995FD39439D97A5C0CE8CE27D70--><AD_VAL_RULE>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_VAL_RULE_ID><![CDATA[29010995FD39439D97A5C0CE8CE27D70]]></AD_VAL_RULE_ID>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <NAME><![CDATA[FIN_Payment forced Deposit/Withdrawal]]></NAME>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <TYPE><![CDATA[S]]></TYPE>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <CODE><![CDATA[value in ('PPW', 'PRD')]]></CODE>
<!--29010995FD39439D97A5C0CE8CE27D70-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--29010995FD39439D97A5C0CE8CE27D70--></AD_VAL_RULE>

<!--3842B167CA6F44239C3357A721E3BA6A--><AD_VAL_RULE>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_VAL_RULE_ID><![CDATA[3842B167CA6F44239C3357A721E3BA6A]]></AD_VAL_RULE_ID>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <NAME><![CDATA[Doubtfull Debt valid actions]]></NAME>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--3842B167CA6F44239C3357A721E3BA6A-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--3842B167CA6F44239C3357A721E3BA6A--></AD_VAL_RULE>

<!--4DB5167147F24078A1FD39DC7564B48D--><AD_VAL_RULE>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_VAL_RULE_ID><![CDATA[4DB5167147F24078A1FD39DC7564B48D]]></AD_VAL_RULE_ID>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <NAME><![CDATA[FIN_FinancialAccountInNaturalTree]]></NAME>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--4DB5167147F24078A1FD39DC7564B48D-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--4DB5167147F24078A1FD39DC7564B48D--></AD_VAL_RULE>

<!--575E470ABADB4C278132C957A78C47E3--><AD_VAL_RULE>
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_VAL_RULE_ID><![CDATA[575E470ABADB4C278132C957A78C47E3]]></AD_VAL_RULE_ID>
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--575E470ABADB4C278132C957A78C47E3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--575E470ABADB4C278132C957A78C47E3-->  <NAME><![CDATA[Process Payment valid actions]]></NAME>
<!--575E470ABADB4C278132C957A78C47E3-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--575E470ABADB4C278132C957A78C47E3-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--575E470ABADB4C278132C957A78C47E3--></AD_VAL_RULE>

<!--959ADF046AFE4F509ABC6E2F41F9DB04--><AD_VAL_RULE>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_VAL_RULE_ID><![CDATA[959ADF046AFE4F509ABC6E2F41F9DB04]]></AD_VAL_RULE_ID>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <NAME><![CDATA[FIN_PaymentMethodInFinancialAccountOrBPartnerAcc]]></NAME>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <TYPE><![CDATA[S]]></TYPE>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <CODE><![CDATA[EXISTS(
SELECT FIN_PAYMENTMETHOD_ID 
FROM FIN_FINACC_PAYMENTMETHOD 
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
(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@)
END
AND FIN_FINACC_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID = FIN_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID )]]></CODE>
<!--959ADF046AFE4F509ABC6E2F41F9DB04-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--959ADF046AFE4F509ABC6E2F41F9DB04--></AD_VAL_RULE>

<!--BE0A211D552A4DE8AC3E6658759B396F--><AD_VAL_RULE>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_VAL_RULE_ID><![CDATA[BE0A211D552A4DE8AC3E6658759B396F]]></AD_VAL_RULE_ID>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <NAME><![CDATA[FIN_PaymentMethodInFinancialAccount]]></NAME>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <TYPE><![CDATA[S]]></TYPE>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <CODE><![CDATA[EXISTS (SELECT FIN_PAYMENTMETHOD_ID 
FROM FIN_FINACC_PAYMENTMETHOD 
WHERE FIN_FINANCIAL_ACCOUNT_ID = @FIN_FINANCIAL_ACCOUNT_ID@ 
AND FIN_FINACC_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID = FIN_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID)]]></CODE>
<!--BE0A211D552A4DE8AC3E6658759B396F-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--BE0A211D552A4DE8AC3E6658759B396F--></AD_VAL_RULE>

<!--CA425689672A42D7BE2158EE41E44F94--><AD_VAL_RULE>
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_VAL_RULE_ID><![CDATA[CA425689672A42D7BE2158EE41E44F94]]></AD_VAL_RULE_ID>
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--CA425689672A42D7BE2158EE41E44F94-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--CA425689672A42D7BE2158EE41E44F94-->  <NAME><![CDATA[Process or Reactivate Imported Bank Statement]]></NAME>
<!--CA425689672A42D7BE2158EE41E44F94-->  <TYPE><![CDATA[S]]></TYPE>
<!--CA425689672A42D7BE2158EE41E44F94-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
<!--CA425689672A42D7BE2158EE41E44F94-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--CA425689672A42D7BE2158EE41E44F94--></AD_VAL_RULE>

<!--D035365830AF466BA81F2AB8ECC6FAE0--><AD_VAL_RULE>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_VAL_RULE_ID><![CDATA[D035365830AF466BA81F2AB8ECC6FAE0]]></AD_VAL_RULE_ID>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <NAME><![CDATA[FIN_GLItemInNaturalTree]]></NAME>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--D035365830AF466BA81F2AB8ECC6FAE0-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--D035365830AF466BA81F2AB8ECC6FAE0--></AD_VAL_RULE>

<!--E00B19370995405C8014D48E2DE98FD1--><AD_VAL_RULE>
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_VAL_RULE_ID><![CDATA[E00B19370995405C8014D48E2DE98FD1]]></AD_VAL_RULE_ID>
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--E00B19370995405C8014D48E2DE98FD1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--E00B19370995405C8014D48E2DE98FD1-->  <NAME><![CDATA[AD_Org show product's child organizations]]></NAME>
<!--E00B19370995405C8014D48E2DE98FD1-->  <DESCRIPTION><![CDATA[It only shows the child organizations of the organization of the product.]]></DESCRIPTION>
<!--E00B19370995405C8014D48E2DE98FD1-->  <TYPE><![CDATA[S]]></TYPE>
<!--E00B19370995405C8014D48E2DE98FD1-->  <CODE><![CDATA[AD_ISORGINCLUDED(ad_org.ad_org_id, @Product_Org@, ad_org.ad_client_id)<>-1 AND IsReady = 'Y']]></CODE>
<!--E00B19370995405C8014D48E2DE98FD1-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--E00B19370995405C8014D48E2DE98FD1--></AD_VAL_RULE>

<!--E491153CCBEE49A1842A7CC8544929DD--><AD_VAL_RULE>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_VAL_RULE_ID><![CDATA[E491153CCBEE49A1842A7CC8544929DD]]></AD_VAL_RULE_ID>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <NAME><![CDATA[FIN_BusinessPartnerInNaturaTreeAndCustomerOrVendor]]></NAME>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <TYPE><![CDATA[S]]></TYPE>
<!--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')
AND ((((TO_NUMBER(@AMTACCTDR@) - TO_NUMBER(@AMTACCTCR@)) > 0) AND (ISCUSTOMER = 'Y' OR C_BPARTNER_ID = @C_BPARTNER_ID@))
OR  (((TO_NUMBER(@AMTACCTDR@) - TO_NUMBER(@AMTACCTCR@)) < 0) AND (ISVENDOR = 'Y' OR C_BPARTNER_ID = @C_BPARTNER_ID@)))
]]></CODE>
<!--E491153CCBEE49A1842A7CC8544929DD-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--E491153CCBEE49A1842A7CC8544929DD--></AD_VAL_RULE>

<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30--><AD_VAL_RULE>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_VAL_RULE_ID><![CDATA[FAE0D7C8A9D84FAFAE3C10CD5DCE6E30]]></AD_VAL_RULE_ID>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <NAME><![CDATA[APRM_Process Transactions valid actions]]></NAME>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <TYPE><![CDATA[S]]></TYPE>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--FAE0D7C8A9D84FAFAE3C10CD5DCE6E30--></AD_VAL_RULE>

<!--FF8080812E448A62012E44943A160017--><AD_VAL_RULE>
<!--FF8080812E448A62012E44943A160017-->  <AD_VAL_RULE_ID><![CDATA[FF8080812E448A62012E44943A160017]]></AD_VAL_RULE_ID>
<!--FF8080812E448A62012E44943A160017-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--FF8080812E448A62012E44943A160017-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--FF8080812E448A62012E44943A160017-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--FF8080812E448A62012E44943A160017-->  <NAME><![CDATA[APRM_Process Reconciliation valid actions]]></NAME>
<!--FF8080812E448A62012E44943A160017-->  <TYPE><![CDATA[S]]></TYPE>
<!--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>
<!--FF8080812E448A62012E44943A160017-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--FF8080812E448A62012E44943A160017--></AD_VAL_RULE>

<!--FF808081332719060133271E5BB1001B--><AD_VAL_RULE>
<!--FF808081332719060133271E5BB1001B-->  <AD_VAL_RULE_ID><![CDATA[FF808081332719060133271E5BB1001B]]></AD_VAL_RULE_ID>
<!--FF808081332719060133271E5BB1001B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--FF808081332719060133271E5BB1001B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--FF808081332719060133271E5BB1001B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--FF808081332719060133271E5BB1001B-->  <NAME><![CDATA[APRM_Process Reconciliation valid actions New]]></NAME>
<!--FF808081332719060133271E5BB1001B-->  <TYPE><![CDATA[S]]></TYPE>
<!--FF808081332719060133271E5BB1001B-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
<!--FF808081332719060133271E5BB1001B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--FF808081332719060133271E5BB1001B--></AD_VAL_RULE>

</data>