Skip to content

Commit

Permalink
#5392 improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
metas-rc committed Jul 26, 2019
1 parent 2e35187 commit f81cf94
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


-- 2019-07-25T14:50:45.916Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process SET RefreshAllAfterExecution='Y',Updated=TO_TIMESTAMP('2019-07-25 17:50:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=541167
;

-- 2019-07-25T14:51:13.537Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET IsCalculated='Y',Updated=TO_TIMESTAMP('2019-07-25 17:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6607
;



-- 2019-07-26T07:15:04.865Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process SET Classname='de.metas.ui.web.pricing.process.M_DiscountSchemaBreak_CopyToOtherSchema',Updated=TO_TIMESTAMP('2019-07-26 10:15:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=541167
;



Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,11 @@ private void copyDiscountSchemaBreak(
@NonNull final PricingConditionsId toPricingConditionsId)
{
final I_M_DiscountSchemaBreak newBreak = copy()
.setSkipCalculatedColumns(true)
.setFrom(from)
.copyToNew(I_M_DiscountSchemaBreak.class);

newBreak.setSeqNo(retrieveNextSeqNo(toPricingConditionsId.getDiscountSchemaId()));
newBreak.setM_DiscountSchema_ID(toPricingConditionsId.getDiscountSchemaId());

saveRecord(newBreak);
Expand Down

0 comments on commit f81cf94

Please sign in to comment.