BOI for Sage100 ERP - BM Production Entry - How to Get BOI Logic to Explode Bill Components

I am using BOI to automatically create production entries in BOM in Sage100 ERP. I realize Sage100 ERP support is obsolete, but it is what our company still has and we plan to update in the next year.

I have some code I threw together below for testing that creates a new Production Entry Batch and uses the next production entry number. The code also adds a line item and saves the production entry correctly.

The one thing I cannot figure out how to do is auto-explode the component assemblies. If you use the Production Entry screen in MAS90, when you enter the component item number at the header level, as soon as you go to the Lines (detail) level all sub assemblies are automatically exploded for you based on the component you entered.

At the BM_ProductionHeader table level there is a field called "ExplodeSubAssemblies", which you can see I am setting to "Y" below, but the components still aren't being exploded automatically like they do in the MAS90 Production Entry screen.

Does anyone know if there is some other BOI field value I need to set so that MAS90 will automatically will explode all sub assemblies for a component in BOM?

Parents
  • Did you or did anyone else have luck with this? There must be a method that creates the lines.  do you have some insight here?

  • in reply to BillyVanilli

    There is a method in the Production Entry header business object called: ExplodeBill()

    After all the header fields have been set, invoking that method will create the detail records.

    If there are distributions for lot/serial items that are required that will need to be done before the new production entry can be written.

    That method is what the Sage UI object uses when exiting the header folder before displaying the lines folder.

Reply
  • in reply to BillyVanilli

    There is a method in the Production Entry header business object called: ExplodeBill()

    After all the header fields have been set, invoking that method will create the detail records.

    If there are distributions for lot/serial items that are required that will need to be done before the new production entry can be written.

    That method is what the Sage UI object uses when exiting the header folder before displaying the lines folder.

Children