Skip to main content

No project description provided

Project description

SAP Business One - Python Service Layer Purchasing wrapper

This is entirely untested

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

Installation

$ python -m pip install sbo-service-purchasing

Supported document types

Implemented

'purchase orders': 'PurchaseOrders',
'receipt of goods': 'PurchaseDeliveryNotes',
'purchase returns': 'PurchaseReturns',
'payable invoices': 'PurchaseInvoices',
'purchase credits': 'PurchaseCreditNotes',

Pending

'payable down payment': 'PurchaseDownPayments',
'purchase quotes': 'PurchaseQuotations',
'purchase requests': 'PurchaseRequests',
'payable tax invoices': 'PurchaseTaxInvoices',

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_purchasing-0.1.2.tar.gz (6.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_purchasing-0.1.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file sbo_service_purchasing-0.1.2.tar.gz.

File metadata

  • Download URL: sbo_service_purchasing-0.1.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for sbo_service_purchasing-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0617f7895ddd0fd116479528b0096103944e7ed24b1610ab9f46108a579d3e62
MD5 030cb2848bfb77a92dda1972e9af40c6
BLAKE2b-256 0ef43362c4082fb078cb9528d9fa9d704690345e644ae9e5da9c87b76b8fe1e1

See more details on using hashes here.

File details

Details for the file sbo_service_purchasing-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sbo_service_purchasing-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15faa8e0cb75744877760e100b388c048fe4ad96d0e13ab24eb488783154303b
MD5 f7179597bd55d82e69906af52993369a
BLAKE2b-256 9084ba3495d597281b017ac3b2158ca48c8c9d3d77e58fa6e62ecd191c72ae5e

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