This commit is contained in:
D065023
2020-01-28 16:04:32 +01:00
parent e694fbaf13
commit 6d3e9a211a

View File

@@ -13,7 +13,6 @@ module.exports = cds.service.impl(async function () {
const orders = await cds.tx(msg).run(SELECT.from(Orders).where({ createdBy: BUSINESSPARTNER })) const orders = await cds.tx(msg).run(SELECT.from(Orders).where({ createdBy: BUSINESSPARTNER }))
console.log(orders) console.log(orders)
}) })
})
/** Add some discount for overstocked books */ /** Add some discount for overstocked books */
function _addDiscount2(each, discount) { function _addDiscount2(each, discount) {
@@ -32,3 +31,4 @@ async function _reduceStock(req) {
) )
})) }))
} }
})