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.2.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sbo_service_sales-0.2.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file sbo_service_sales-0.2.1.tar.gz.

File metadata

  • Download URL: sbo_service_sales-0.2.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for sbo_service_sales-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8631deee90590fbcda3075a3c764632388c900f9e005ce0babba5298be612212
MD5 01ee4ae3c4dd36ed26a5c0e1a5f7c076
BLAKE2b-256 119da551424e22b7c088eccb9f9aebee1160a86120e776409020309271ecc424

See more details on using hashes here.

File details

Details for the file sbo_service_sales-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sbo_service_sales-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f451333852d10139184dee4d7fb5e8e788d45f1258d128a45ea613bb2caf6862
MD5 4ed6753647aa0e62f13d4aa4f07ab95a
BLAKE2b-256 5b9b93fc01df020aa5890847973546a490f24fc4450159df85551360b55662b8

See more details on using hashes here.

Supported by

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