This commit is contained in:
D065023
2020-01-28 18:02:09 +01:00
parent 90881558dc
commit fa880e2987

View File

@@ -12,7 +12,6 @@ module.exports = cds.service.impl(async function () {
const BUSINESSPARTNER = msg.data.KEY[0].BUSINESSPARTNER
const orders = await cds.tx(msg).run(SELECT.from(Orders).where({ createdBy: BUSINESSPARTNER }))
this.emit('ContactDetailsChanged', { orders })
console.log('=== EMITTED ====')
})
/** Add some discount for overstocked books */