Git Product home page Git Product logo

ofbiztomantle's Introduction

OFBizToMantle

Moqui component to transform and load Apache OFBiz Entity XML data to Mantle UDM

Transforms and loads:

  • Party, Person, PartyGroup, PartyNote/NoteData, PartyRole, PartyRelationship, PartyClassification, UserLogin
  • ContactMech, PostalAddress, TelecomNumber, PartyContactMechPurpose
  • PaymentMethod, CreditCard
  • Product, ProductPrice
  • InventoryItem, InventoryItemDetail, Lot, PhysicalInventory, OrderItemShipGrpInvRes, ItemIssuance, ShipmentReceipt
  • OrderHeader, OrderItem, OrderAdjustment, OrderItemShipGroup, OrderPaymentPreference, OrderHeaderNote, OrderContactMech, OrderRole, OrderItemBilling, OrderAdjustmentBilling, OrderShipment
  • Shipment, ShipmentItem, ShipmentBoxType, ShipmentPackage, ShipmentPackageContent, ShipmentRouteSegment, ShipmentPackageRouteSeg
  • Invoice, InvoiceItem, InvoiceContactMech, InvoiceRole
  • Payment, PaymentApplication, PaymentGatewayResponse
  • FinAccount, FinAccountTrans
  • AcctgTrans, AcctgTransEntry, GlJournal

This migration does not load seed data in general (types, statuses, etc) and instead maps to Moqui/Mantle seed data.

GlAccount records are not loaded and instead there is a mapping from the default OFBiz chart of accounts to the default Mantle accounts.

Sets of entities are loaded in parallel with the sets determined on foreign key dependencies.

While this migration may work as-is it is very common to customize and extend OFBiz or to use data structures is ways other than how they are intended so customization of this migration is likely to be needed.

Transformations are written in Groovy, current all in the OFBizTransform.groovy file. The type mappings are also in Groovy as simple Map objects in the OFBizFieldMap.groovy file.

This is made to be run against a directory containing an OFBiz export with one file per entity (file name matching the entity name plus .xml).

To run this use the 'mantle.ofbiz.OFBizToMantle.import#OFBizData' service.

ofbiztomantle's People

Contributors

jonesde avatar

Watchers

James Cloos avatar

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.