This brixxbox module allows to retrieve data from the Diamant Accounting Software and post data to it
The Method Retrieves the data specified with dataType (like Address, CostCenter and so on). The searchParams and fieldMatch JSON properties are valid for all methods, but the fields mentioned in it are depending on the datatype used. For example: postcode is a valid searchParam for addresses, but not for cost centers.
The Get method will return the data it fetched from Diamant, so you get an array of JSON objects. The fieldMatch prameter will tell the brixxbox to change field names, so that it is more useful in an brixxbox environment.
This will retrieve all addresses from diamant. Field names are the original diamand field names
This will retrieve all addresses with Postcode 61118 from diamant and return the result. Only the fields "key" and "Name1" will be returned.
This code will write an address to Diamant
This method allows you to retrieve the data and insert it into the database. Query parameters work the same and are optional but you must user fieldMatch to assign diamant names to brixxbox field names
This will retrieve all addresses from diamant and insert it into the table address the table will be wiped right before the import.
This will retrieve all addresses from diamant and update the records with the same id as in fieldMatch.
More types can be added at request.
Request Data
Address (Adressen)
CostCenter (Kostenstellen)
GenLedgAccount (Sachkonten)
CostObject (Kostenträger)
PrimCostElement (Primärkostenarten)
Project (Projekte)
Company (Mandanten)
Customer(Konten)
Vendor (Vendor)
Posting (Buchungen)
Transctions