diff --git a/ballerina/api_salesorganization_srv/build.gradle b/ballerina/api_salesorganization_srv/build.gradle index 43b7429..e09cdf0 100644 --- a/ballerina/api_salesorganization_srv/build.gradle +++ b/ballerina/api_salesorganization_srv/build.gradle @@ -25,7 +25,7 @@ plugins { description = 'Ballerina - SAP S/4HANA Sales Organization - Read API' def packageName = "sap.s4hana.api_salesorganization_srv" -def moduleVersion = project.api_salesdistrict_srvVersion.replace("-SNAPSHOT", "") +def moduleVersion = project.api_salesorganization_srvVersion.replace("-SNAPSHOT", "") def ballerinaTomlFile = file("${project.projectDir}/Ballerina.toml") ballerina { diff --git a/changelog.md b/changelog.md index 419ba3c..1abbd42 100644 --- a/changelog.md +++ b/changelog.md @@ -9,85 +9,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## sap.s4hana.api_salesdistrict_srv ## [1.0.0] - 2024-07-16 -### Added -- Initial client implementation -## sap.s4hana.api_salesorganization_srv - -## [Unreleased] +- Added Initial client implementation -### Added +## sap.s4hana.api_salesorganization_srv -- Initial client implementation +## [1.0.0] - 2024-07-16 -### Changed +- Added Initial client implementation ## sap.s4hana.api_sales_order_srv ## [1.0.0] - 2024-07-16 -### Added -- Initial client implementation - -## sap.s4hana.api_sd_sa_soldtopartydetn -## [Unreleased] +- Added Initial client implementation -### Added +## sap.s4hana.api_sd_sa_soldtopartydetn -- Initial client implementation +## [1.0.0] - 2024-07-16 -### Changed +- Added Initial client implementation ## sap.s4hana.salesarea_0001 -## [Unreleased] - -### Added +## [1.0.0] - 2024-07-16 -- Initial client implementation +- Added Initial client implementation ### Changed ## sap.s4hana.api_sd_incoterms_srv -## [Unreleased] - -### Added +## [1.0.0] - 2024-07-16 -- Initial client implementation - -### Changed +- Added Initial client implementation ## sap.s4hana.api_sales_inquiry_srv -## [Unreleased] - -### Added +## [1.0.0] - 2024-07-16 -- Initial client implementation - -### Changed +- Added Initial client implementation ## sap.s4hana.api_sales_quotation_srv -### Added - -- Initial client implementation +## [1.0.0] - 2024-07-16 -### Changed +- Added Initial client implementation ## sap.s4hana.api_sales_order_simulation_srv -### Added - -- Initial client implementation +## [1.0.0] - 2024-07-16 -### Changed +- Added Initial client implementation ## sap.s4hana.ce_salesorder_0001 -### Added - -- Initial client implementation +## [1.0.0] - 2024-07-16 -### Changed +- Added Initial client implementation diff --git a/examples/salesforce-to-sap/main.bal b/examples/salesforce-to-sap/main.bal index 97c6fe4..1b0d4c6 100644 --- a/examples/salesforce-to-sap/main.bal +++ b/examples/salesforce-to-sap/main.bal @@ -55,7 +55,7 @@ service sfListener:RecordService on sfListener { isolated remote function onUpdate(sfListener:EventData payload) returns error? { string? opportunityId = payload.metadata?.recordId; - if opportunityId == null { + if opportunityId is () { log:printError("Error while creating SAP order: invalid opportunityId from event"); return; } diff --git a/gradle.properties b/gradle.properties index d7bf8fc..981b1bb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,6 @@ version=1.0.1-SNAPSHOT api_salesdistrict_srvVersion=1.0.1-SNAPSHOT api_salesorganization_srvVersion=1.0.0-SNAPSHOT api_sales_order_srvVersion=1.0.1-SNAPSHOT -api_sd_sa_soldtopartydetnVersion=1.0.0-SNAPSHOT api_sd_sa_soldtopartydetnVersion=1.0.1-SNAPSHOT salesarea_0001Version=1.0.1-SNAPSHOT api_sd_incoterms_srvVersion=1.0.0-SNAPSHOT