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
Built Distribution
Close
Hashes for sbo_service_purchasing-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0617f7895ddd0fd116479528b0096103944e7ed24b1610ab9f46108a579d3e62 |
|
MD5 | 030cb2848bfb77a92dda1972e9af40c6 |
|
BLAKE2b-256 | 0ef43362c4082fb078cb9528d9fa9d704690345e644ae9e5da9c87b76b8fe1e1 |
Close
Hashes for sbo_service_purchasing-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15faa8e0cb75744877760e100b388c048fe4ad96d0e13ab24eb488783154303b |
|
MD5 | f7179597bd55d82e69906af52993369a |
|
BLAKE2b-256 | 9084ba3495d597281b017ac3b2158ca48c8c9d3d77e58fa6e62ecd191c72ae5e |