Giter Site home page Giter Site logo

intacct / intacct-sdk-php Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 28.0 7.94 MB

Official repository of the Sage Intacct SDK for PHP

Home Page: https://developer.intacct.com/tools/sdk-php/

License: Apache License 2.0

PHP 100.00%
intacct php sage-intacct

intacct-sdk-php's People

Contributors

dylan-holt-sage avatar intacctcoleenho avatar jimmymcpeter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

intacct-sdk-php's Issues

Fix readme code

$client = IntacctClient(); should be $client = new IntacctClient();

Fix phpunit test @covers annotations

PhpStorm 2016.3 complains about the namespace not being found in many of the phpunit tests.

Example: @covers Intacct\IntacctClient::__construct

To resolve this, the class needs to have a leading backslash: @covers \Intacct\IntacctClient::__construct.

Also, instead of using the individual @covers annotations per test function, it might be easier to just remove them and add @coversDefaultClass \Intacct\IntacctClient to the top of the test class

Add Various Summary object functions

  • AbstractApBillSummary
  • ApBillSummaryCreate
  • AbstractApAdjustmentSummary
  • ApAdjustmentSummaryCreate
  • AbstractArInvoiceSummary
  • ArInvoiceSummaryCreate
  • AbstractArAdjustmentSummary
  • ArAdjustmentSummaryCreate
  • AbstractArPaymentSummary
  • ArPaymentSummaryCreate
  • AbstractEeReportSummary
  • EeReportSummaryCreate

Change BillLineCreate writeXml to check for empty instead of null

Passing an empty string to setAccountLabel(''); causes the writeXml function to end up writing the account label instead of the GL account.

if (!is_null($this->getAccountLabel())) {
needs to be
if (!empty($this->getAccountLabel())) {

This should be fixed on other *LineCreate classes. Please check LineUpdate is also functioning properly.

Add Customer ACH Info object functions

  • AbstractCustomerAchInfo
  • CustomerAchInfoCreate
  • CustomerAchInfoUpdate
  • CustomerAchInfoDelete

Make sure to adjust MessageFormatter to redact accountnumber elements

Adjust retry logic for uniqueid

If the request's uniqueid = true, it should retry submitting the request. Server should enforce idempotence based on function's controlid attribute. Perhap the retry has a delay of X seconds

Add Delete functions for various objects

  • Company
    • ClassDelete
    • ContactDelete
    • DepartmentDelete
    • LocationDelete
  • General Ledger
    • AccountDelete
    • JournalEntryDelete
    • StatisticalAccountDelete
    • StatisticalJournalEntryDelete
  • Projects
    • ProjectDelete
    • TaskDelete
    • TimesheetDelete
  • Subsidiary Ledger
    • ApAccountLabelDelete
    • ApAdjustmentDelete
    • ApBillDelete
    • ApPaymentRequestDelete
    • ArAccountLabelDelete
    • ArAdjustmentDelete
    • ArInvoiceDelete
    • CustomerDelete
    • EeAdjustmentDelete
    • EeExpenseTypeDelete
    • EmployeeDelete
    • EeReportDelete
    • VendorDelete
  • Supply Chain Management
    • IcItemDelete
    • IcTransactionDelete
    • OeTransactionDelete
    • PoTransactionDelete

Enhance Logging to redact sensitive elements

SDK already redacts password elements with the MessageFormatter class. It should redact additional fields by default from any logs:

  • accountnumber
    • Customer ACH Info
    • Customer Bank Account
  • cardnum
    • Customer Charge Card
  • ssn
    • Employee
  • achaccountnumber
    • Employee
    • Vendor
  • wireaccountnumber
    • Vendor
  • taxid
    • Contact
    • Vendor
    • Employee
    • Customer

Need to make sure same fields from read functions (usually in all CAPS) are redacted too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.