如何为Netsuite中的新承运人开发定制运输模块? [英] How to develop a custom shipping module for a new carrier in Netsuite?

查看:144
本文介绍了如何为Netsuite中的新承运人开发定制运输模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣为新运营商开发自定义插件.我看到Netsuite提供UPS,FedEx,USPS,Endecia等.我在Netsuite上找到此页面(

I'm interested in developing a custom plugin for a new carrier. I see Netsuite offers UPS, FedEx, USPS, Endecia, etc. I found this page on Netsuite (http://www.netsuite.com/portal/developers/dev-resources.shtml) but it's not very clear how a developer like me can go about developing this. Does Netsuite even let outside developers create their own shipping modules? I'm interested in developing my own tax module as well one day.

推荐答案

一种可能的解决方案(假设运输提供商具有基于HTTP的API,例如REST),根据您的需要,某些步骤可能是可选的:

One possible solution (Assuming the shipping provider has the HTTP(s) based API eg- REST), some of the steps might be optional depending on what you want:

1)创建具有统一价格的运输商品

1) Create a shipping item with a flat rate pricing

2)编写销售订单的用户事件,该事件在更新/创建时与 联系基于HTTP的API并获取费率并更新 销售订单上的运输价格.

2) Write a user event of Sales Order that on update/create, contacts contacts the HTTP based API and gets the rates and updates the shipping price on Sales Order.

3)如果您正在寻找运输标签集成之类的东西,则您 可能想在与订单项联系的商品实现上编写一个用户事件 API并获取跟踪号,并在 完整记录并就此向运输提供商进行沟通 包裹详细信息.

3) If you are looking for things like shipping label integration, you may want to write a User event on Item Fulfillment that contacts the API and gets the tracking number and update the same on the fulfuillment record and communicates to the shipping provider about package details.

4)另外编写计划脚本以更新物料实现 状态

4) Write a scheduled script additionally to update the Item fulfilment status

优点:

1)实时费率

2)运送标签集成

缺点:

1)您的送货包裹详细信息无法捆绑.

1) Package details of your shipping cannot be bundled.

2)设置标准运输的用户体验(例如承运人详细信息)可能与此不同.

2) User experience for setting standard shipping (such as carrier details) can be different than this one.

或者,一种更好的方法是与NetSuite客户支持联系,然后 提供可以克服上述限制的捆绑包,我 相信这是澳大利亚邮政的做法.

Alternatively or a better approach is to contact NetSuite customer support and then provide a bundle which can overcome limitations mentioned above, which I believe is the approach of Australia Post.

这篇关于如何为Netsuite中的新承运人开发定制运输模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆