nothing
This commit is contained in:
@@ -55,12 +55,10 @@ bupaSrv.on('sap/messaging/ccf/BO/BusinessPartner/Changed', async msg => {
|
|||||||
const remoteAddresses = await txExt.run(selectQl)
|
const remoteAddresses = await txExt.run(selectQl)
|
||||||
const qlsToUpdateDifferences = _qlsToUpdateDifferences(ownAddresses, remoteAddresses)
|
const qlsToUpdateDifferences = _qlsToUpdateDifferences(ownAddresses, remoteAddresses)
|
||||||
const tx2 = cds.transaction()
|
const tx2 = cds.transaction()
|
||||||
if (qlsToUpdateDifferences.length) {
|
await Promise.all(qlsToUpdateDifferences.map(ql =>
|
||||||
await Promise.all(qlsToUpdateDifferences.map(ql =>
|
tx2.run(ql)
|
||||||
tx2.run(ql)
|
))
|
||||||
))
|
tx2.commit()
|
||||||
tx2.commit()
|
|
||||||
}
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user