Fixes issue 29730: Avoid manual cost correction in Standard Cost transactions
authorAlvaro Ferraz <alvaro.ferraz@openbravo.com>
Fri, 12 Jun 2015 12:13:50 +0200
changeset 27132 0390d75ed291
parent 27131 9bedf4b77a0a
child 27160 95cedd0d623c
Fixes issue 29730: Avoid manual cost correction in Standard Cost transactions

Manual Cost Adjustment button will not appear in transactions with standard costing algorithm to avoid manual cost correction in this type of transactions.
src-db/database/sourcedata/AD_FIELD.xml
--- a/src-db/database/sourcedata/AD_FIELD.xml	Tue Jul 07 10:45:53 2015 +0200
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Fri Jun 12 12:13:50 2015 +0200
@@ -304094,7 +304094,7 @@
 <!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <AD_COLUMN_ID><![CDATA[AEA1C7FCCA5C4142A66621E09FC2C1FA]]></AD_COLUMN_ID>
 <!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
 <!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <DISPLAYLOGIC><![CDATA[@TransactionCost@!'' & @IsCostPermanent@='N']]></DISPLAYLOGIC>
+<!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <DISPLAYLOGIC><![CDATA[@TransactionCost@!'' & @IsCostPermanent@='N' & @M_Costing_Algorithm_ID@!'6A39D8B46CD94FE682D48758D3B7726B']]></DISPLAYLOGIC>
 <!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--FB1F9DDBE72A45A3AED2953DC3FAFA82-->  <SEQNO><![CDATA[260]]></SEQNO>