Skip to main content

No project description provided

Project description

SAP Business One - Python Service Layer Sales wrapper

This package provides a base wrapper for accessing the SAP service layer in Python for sales objects.

Installation

$ python -m pip install sbo-service-sales

Helpful Examples

def read_sales_order_by_po_and_shipto(sbo: service, po, shipto):
    filter = f"(NumAtCard eq '{po}') and (ShipToCode eq '{shipto}')"

    return read_sales_order_with_filter(sbo, filter)


def so_exists_by_cust_po(sbo: service, customer, po_number):
    filter = f'(CardCode eq \'{customer}\') and (NumAtCard eq \'{po_number}\')'

    response = read_sales_order_with_filter(sbo, filter)

    return response['success']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sbo_service_sales-0.1.3.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

sbo_service_sales-0.1.3-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page