Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057928Retail ModulesRetail APIpublic2025-02-10 15:462025-03-12 09:12
XABIER_AGUADO 
Retail 
normalmajorhave not tried
newopen 
5
 
 
Gold
No
0057928: Business Partner API Improvements
Current Swagger information for the Business Partner API is lacking in some fields. Their descriptions / informations must be updated so the clients can easily work with the API.
Check the livebuilds discount API and update the missing fields as seen on the PDF.

Export:
/org.openbravo.api.ExportService/BusinessPartner

Import:
/org.openbravo.api.ImportService/BusinessPartner
Update required fields:

Name: greeting/name
Description: An identifier (that does need to be unique) that is used as a default search option along with the search key.
Example: Mr / Mss

Name: greeting/title
Description: The Greeting indicates what will print on letters sent to a Business Partner.
Example: Mr / Mss

Name: Currency
Description: Currency to be used by this Business Partner.
Example: EUR


Name: Payment Terms
Description: Payment Terms Search Key. Payment terms identify the method and timing of payment for this transaction.

Name: Price List
Description: Price List name
 

Name: Invoice Terms
Description: Defines how a Business Partner is invoiced and the frequency of invoicing. Only available if the customer is not a vendor
O = Invoice for every order
D = Invoice per Delivery
S = Invoice per Customer Invoice Schedule
I = Immediate Invoice
N = Order should not be invoiced trough Process Invoice


Name: Business Partner Type
Description: A classification of business partners based on its type
FC = Final consumer
CO = Company
PR = Professional
PS = Public Sector

Name: Organization
Description: Search Key of the Organization

Name:Currency
Description: Currency used by the Business Partner
Example: EUR


Name: PaymentMethod
Description: Search Key of the method by which payment is expected to be made or received.


Name: paymentTerms
Description: The setup and timing defined to complete a specified payment.


Name: priceList
Description: Search Key of the price list


Name: customerConsent
Description: Checked when the Customer consents to process their information


Name: creditlinelimit
Description: Total outstanding invoice amounts allowed


Name: invoiceTerms
Description:Defines how a Business Partner is invoiced and the frequency of invoicing. Only available if the customer is not a vendor.
O = After Order Delivered
D = After Delivered
S = Customer Schedule After Delivery
I = Immediate
N = Do Not Invoice


Name: isCustomer
Description: Indicates a business partner that is your customer, ie. that will be making purchases from you.


Name: isVendor
Description:A business partner who sells products or services.


Name: purchasePricelist
Description: Search key of the pricelist used.
 

Name: poMaturityDate1
Description: The day of the month that invoices are due. 3 maturity dates can be defined.


Name: poMaturityDate2
Description: The day of the month that invoices are due. 3 maturity dates can be defined.


Name: poMaturityDate3
Description: The day of the month that invoices are due. 3 maturity dates can be defined.


Name: poPaymentMethod
Comments: Could not find any info relevant about this field.
FASH
pdf BP-API - Business partner.pdf (55,529) 2025-02-10 15:46
https://issues.openbravo.com/file_download.php?file_id=20885&type=bug
Issue History
2025-02-10 15:46XABIER_AGUADONew Issue
2025-02-10 15:46XABIER_AGUADOAssigned To => Retail
2025-02-10 15:46XABIER_AGUADOFile Added: BP-API - Business partner.pdf
2025-02-10 15:46XABIER_AGUADOOBNetwork customer => Gold
2025-02-10 15:46XABIER_AGUADOTriggers an Emergency Pack => No
2025-02-10 15:46XABIER_AGUADOTag Attached: FASH
2025-02-11 11:52XABIER_AGUADOProposed Solution updated
2025-02-11 15:05XABIER_AGUADOProposed Solution updated
2025-02-13 12:58XABIER_AGUADOProposed Solution updated
2025-03-07 13:47XABIER_AGUADOSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29330#r29330

There are no notes attached to this issue.