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.4.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.1.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sbo_service_sales-0.1.4.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.1.4.tar.gz
Algorithm Hash digest
SHA256 d55a55e2422cc8e970efaba77fade25523e507989eeff2252585d59e53adc8b1
MD5 b42d8af6a8c8f1d5d7b75254992b9f6c
BLAKE2b-256 b4084d70bd2b2a19e905b136922a2946ead3873f33c195eeaf5510e9a8112df8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sbo_service_sales-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 95480ec58ea64d5d56b4018c5b66d5efdd52762097f8af321a2bfabdb8b6dec4
MD5 629df3e850c7e6a527452c3a5040a76b
BLAKE2b-256 03e6c1db78a0765cfd46ce33e13c8b12bf18527a1d5fd8ea2cf5537ee64c7d37

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