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']
Release files for sbo-service-purchasing 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sbo_service_purchasing-0.1.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sbo_service_purchasing-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / sbo_service_purchasing-0.1.2.tar.gz
| Download URL | sbo_service_purchasing-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0617f7895ddd0fd116479528b0096103944e7ed24b1610ab9f46108a579d3e62
|
|
BLAKE2b-256 checksum How to use checksums |
0ef43362c4082fb078cb9528d9fa9d704690345e644ae9e5da9c87b76b8fe1e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / sbo_service_purchasing-0.1.2-py3-none-any.whl
| Download URL | sbo_service_purchasing-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15faa8e0cb75744877760e100b388c048fe4ad96d0e13ab24eb488783154303b
|
|
BLAKE2b-256 checksum How to use checksums |
9084ba3495d597281b017ac3b2158ca48c8c9d3d77e58fa6e62ecd191c72ae5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|