acumaticalibrary/noobgrammer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

acumaticalibrary/noobgrammer

Composer 安装命令:

composer require acumaticalibrary/noobgrammer

包简介

Acumatica with Guzzle implimentation

README 文档

README

Description

This is a personal use to implement a transaction to ACUMATICA ERP Web Service Endpoint Hope it will help.

Getting Started

Dependencies

  • Need php 7.8+

Installing

  • composer require acumaticalibrary/noobgrammer:master-dev

Executing program

  • How to run the program
  • Step-by-step bullets
 $datafield = [
          "CustomerID" => [ "value" => "#"],
          "CustomerName" => [ "value" => "#"],
          "CustomerClass" => [ "value" => "INDVS"],
          "Status" => [ "value" => "#"],
          "StatementCycleID" => [ "value" => '#'],
          "FinancingDimensionCustomer" => [ "value" => true],
          "CashDiscountAccount" => [ "value" => "#"],
          "CashDiscountSub" => [ "value" => "#"],
          "ARAccount" => [ "value" => "#"],
          "ARSub" => [ "value" => "#"],
          "SalesAccount" => [ "value" => "#"],
          "SalesSub" => [ "value" => "#"],
          'MainContact' => [
                'CompanyName' => [ "value" => "#"],
                'DisplayName'=>   [ "value" => "#"],
                'FirstName'=> [ "value" => "#"],
                "LastName" => [ "value" => "#"],
                "DateofBirth" => [ "value" => "#"],
                "Phone1" => [ "value" => "#"],
                "Calendar" => [ "value" => "#"],
                "AddressLine2" => [ "value" => "#"],
                "AddressLine1" => [ "value" => "#"],
                "City" => [ "value" => "#"],
                "State" => [ "value" => "#"],
                "Country" => [ "value" => "#"]
            ]
        ];

        $requestData = [
            'acumaticaLoginEndPoint' => '#',
            'acumaticaLogoutEndPoint' => '#',
            'Login_Acumatica' => [
               			 'name' => 'yourUsername',
				'password'=> 'yourPassword',
				'tenant'=> 'yourtenant',
				"branch" => '',
				"locale" => ""
            ],
            'Body_Acumatica' =>[
               'Action' => 'PUT', 
               'URL' => 'YourAcumaticaEndPoint',
               'data' => $datafield
            ]
        ];


     return json_encode($this->acumatica->acumatica_Api($requestData));

   Access for The Odata

   1.) Go to your Generic Inquiry and Create a Generic Inquiry
   2.) after create a Generic Inquiry tick the odata  then update
   3. go to your php app and use this. 

      $url = '#';

      $odataServices = [
        'URL' => 'YourAcumaticaEndPoint',
        'name' => 'yourUsername',
        'password'=> 'yourPassword',
      ];
		
       return  $this->acumatica->odataParse($url);

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the Greggy License - see the LICENSE.md file for details

Acknowledgments

Inspiration, code snippets, etc.

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-24