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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sbo_service_sales-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 09975cd905a3ea2992291c841693245b815da1404cf96f4cd085dc2c7676cf6b
MD5 9b8ec7537f68aea55fb1c1c132d59f6b
BLAKE2b-256 b3e423d9bb52199d293135e76008add768d17b54c75262bcd039f5605ab6965f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sbo_service_sales-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cbd6eb5f43d2ffd734cd6db3becb5f97ed8c5108c25efcc441e0b6ce0293a25
MD5 e188944aff75a64a05f4d792ffc14394
BLAKE2b-256 33c4d3bfa848b4ced738f817815d2c839bcf89e980b4585b84a3298779264a33

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