improvement(sap_s4hana): use MERGE for OData v2 updates and enlarge icon (#4332)

This commit is contained in:
Waleed
2026-04-28 18:21:33 -07:00
committed by GitHub
parent 7f12a139b5
commit 7b55e605be
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -4099,7 +4099,7 @@ export function SalesforceIcon(props: SVGProps<SVGSVGElement>) {
export function SapS4HanaIcon(props: SVGProps<SVGSVGElement>) {
const id = useId()
return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 412.38 204'>
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='15 10 382.38 184'>
<defs>
<linearGradient
id={id}
+1 -1
View File
@@ -4099,7 +4099,7 @@ export function SalesforceIcon(props: SVGProps<SVGSVGElement>) {
export function SapS4HanaIcon(props: SVGProps<SVGSVGElement>) {
const id = useId()
return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 412.38 204'>
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='15 10 382.38 184'>
<defs>
<linearGradient
id={id}
@@ -110,7 +110,7 @@ export const updateBusinessPartnerTool: ToolConfig<UpdateBusinessPartnerParams,
...baseProxyBody(params),
service: 'API_BUSINESS_PARTNER',
path: `/A_BusinessPartner(${quoteOdataKey(params.businessPartner)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',
+1 -1
View File
@@ -109,7 +109,7 @@ export const updateCustomerTool: ToolConfig<UpdateCustomerParams, SapProxyRespon
...baseProxyBody(params),
service: 'API_BUSINESS_PARTNER',
path: `/A_Customer(${quoteOdataKey(params.customer)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',
+1 -1
View File
@@ -109,7 +109,7 @@ export const updateProductTool: ToolConfig<UpdateProductParams, SapProxyResponse
...baseProxyBody(params),
service: 'API_PRODUCT_SRV',
path: `/A_Product(${quoteOdataKey(params.product)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',
@@ -109,7 +109,7 @@ export const updatePurchaseOrderTool: ToolConfig<UpdatePurchaseOrderParams, SapP
...baseProxyBody(params),
service: 'API_PURCHASEORDER_PROCESS_SRV',
path: `/A_PurchaseOrder(${quoteOdataKey(params.purchaseOrder)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',
@@ -112,7 +112,7 @@ export const updatePurchaseRequisitionTool: ToolConfig<
...baseProxyBody(params),
service: 'API_PURCHASEREQ_PROCESS_SRV',
path: `/A_PurchaseRequisitionHeader(${quoteOdataKey(params.purchaseRequisition)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',
@@ -109,7 +109,7 @@ export const updateSalesOrderTool: ToolConfig<UpdateSalesOrderParams, SapProxyRe
...baseProxyBody(params),
service: 'API_SALES_ORDER_SRV',
path: `/A_SalesOrder(${quoteOdataKey(params.salesOrder)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',
+1 -1
View File
@@ -109,7 +109,7 @@ export const updateSupplierTool: ToolConfig<UpdateSupplierParams, SapProxyRespon
...baseProxyBody(params),
service: 'API_BUSINESS_PARTNER',
path: `/A_Supplier(${quoteOdataKey(params.supplier)})`,
method: 'PATCH',
method: 'MERGE',
query: { $format: 'json' },
body: payload,
ifMatch: params.ifMatch || '*',