...
As the feature can be enabled or disabled (though not disabled once enabled), we will have four several different possible Item Reference / Item Cross Reference setups going forward (using table...):
- Item Cross Reference in Business Central 16 (or earlier), feature is unavailable and table Item Reference do no exist in database
- Item Cross Reference in Business Central 17 (feature 'ItemReference' disabled)
- Item Reference in Business Central 17 (feature 'ItemReference' enabled)
- Item Reference in Business Central 18 (when released, feature 'ItemReference' always enabled)
- Item Reference in Business Central 19 (when released, table Item Cross Reference will no longer exist in database)
New codeunits
To be able to accomodate all combinations in the same codebase, two new codeunits have been implemented in MOB5.23 (or newer):
...
However, you will need to subscribe integrationevents specific for the table currently holding your data (in either of the two codeunits mentioned above).
For MOB5.23 functions and events from older versions have been moved accordingly to this list:
Type | Old objectname prior to MOB5.23 | Replaced by in MOB 5.23 |
---|---|---|
Search | ||
procedure | MobToolbox.ScannedItemNumber2RecRef() | MobItemReferenceMgt.ScannedItemNumber2RecRef() |
procedure | MobWmsToolbox.CheckCrossRef() | MobItemReferenceMgt.SearchItemReference() |
procedure | MobWmsToolbox.SearchItemCrossRef() | MobItemReferenceMgt.SearchItemReference() |
integrationevent | MobWmsToolbox.OnBeforeSearchItemCrossRef | MobItemReferenceMgt.OnBeforeSearchItemReference (same event for 'Item Cross Reference' and 'Item Reference') |
integrationevent | MobWmsToolbox.OnSearchItemCrossRefOnAfterSetFilters | MobItemReferenceMgt.OnSearchItemReferenceOnAfterSetFilters MobItemCrossReferenceMgt.OnSearchItemCrossRefOnAfterSetFilters |
BarcodeList | ||
procedure | MobWmsToolbox.CheckCrossRefItem() | MobItemReferenceMgt.GetBarcodeList |
procedure | MobWmsToolbox.CheckCrossRefItemQty() | MobItemReferenceMgt.GetBarcodeQuantityList |
procedure | MobWmsToolbox.GetItemCrossRefList() | MobItemReferenceMgt.GetBarcodeList |
procedure | MobWmsToolbox.GetItemCrossRefBarcodeQuantityList | MobItemReferenceMgt.GetBarcodeQuantityList |
procedure | MobWmsToolbox.GetFirstItemCrossRef | MobItemReferenceMgt.OnSearchItemReferenceOnAfterSetFiltersGetFirstReferenceNo |
integrationevent | MobWmsToolbox.OnBeforeGetItemCrossRefList | TODO TODOMobItemReferenceMgt.OnBeforeGetBarcodeList (same event for 'Item Cross Reference' and 'Item Reference') |
integrationevent | MobWmsToolbox.OnGetItemCrossRefListOnAfterSetFilters | TODO TODOMobItemReferenceMgt.OnGetBarcodeListOnAfterSetFilters MobItemCrossReferenceMgt.OnGetBarcodeListOnAfterSetFilters |
integrationevent | MobWmsToolbox.OnAfterGetItemCrossRefList TODO TODO | MobItemReferenceMgt.OnAfterGetBarcodeList (same event for 'Item Cross Reference' and 'Item Reference') |
Posting | ||
integrationevent | MobWmsAdhocRegistr. | MobItemReferenceMgt. MobItemCrossReferenceMgt. |