This commit is contained in:
Daniel
2019-12-20 13:37:50 +01:00
parent 2cde812edd
commit c04c93cca6

View File

@@ -21,8 +21,6 @@ module.exports = cds.service.impl (()=>{
// Replicate chosen addresses from S/4 when filing orders.
admin.before ('PATCH', 'Orders', async (req) => {
// REVISIT: Investigate strange behavior when first assigning A then B ... together with Fiori colleagues
// const assigned = { ID: req.data.shippingAddress_ID, contact: req.data.shippingAddress_contact }
const assigned = { ID: req.data.shippingAddress_ID, contact: req.user.id }
if (!assigned.ID) return //> something else
const local = db.transaction (req)