# Bin references invalid value

**URL:** <https://www.epiusers.help/t/bin-references-invalid-value/53028>\
**Category:** Epicor ERP 10\
**Tags:** epicor\
**Created:** [February 27, 2019, 12:45am UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028 "2019-02-27T00:45:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bw2868bond](https://www.epiusers.help/user_avatar/www.epiusers.help/bw2868bond/32/277_2.png) [@bw2868bond](https://www.epiusers.help/u/bw2868bond)\
**Post date:** [February 27, 2019, 12:45am UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/1 "2019-02-27T00:45:22Z")

</div>

trying to ship a make direct from job order using customer shipment entry  
this is a non-part master item - when trying to save the pack entry this error is encountered:

Business Layer Exception

Bin references invalid value.

Exception caught in: Epicor.ServiceModel

# Error Detail

Description: Bin references invalid value.  
Program: Epicor.Ice.dll  
Method: ValidateReferentialIntegrity  
Line Number: 589  
Column Number: 21  
Table: ShipDtl  
Field: BinNum  
Server Trace Stack: at Ice.Core.BizRuleEngine.ValidateReferentialIntegrity() in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\BizRuleEngine\BizRuleEngine.cs:line 589  
at Ice.Core.BizRuleEngine.ValidateRow() in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\BizRuleEngine\BizRuleEngine.cs:line 179  
at Ice.Core.BizRuleEngine.Validate(IceRow oldRow, IceRow newRow, LinqRow curRow) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\BizRuleEngine\BizRuleEngine.cs:line 124  
at Ice.Services.Trace.TablesetProfilingCollector.DoRowEventTrace(String tableName, String methodName, Int32 rowCount, Action action) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetProfilingCollector.cs:line 146  
at Ice.TablesetBound`3.CreateRow(IceDataContext dataContext, Int32 tableNum, IIceTable table, IceRow newTablesetRow, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 1136 at Ice.TablesetBound`3.WriteTable(IceDataContext dataContext, Int32 tableIndex, IIceTable table, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 988  
at Ice.TablesetBound`3.InnerUpdate[TUpdater](IceDataContext dataContext, TFullTableset tableset) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 892 at Erp.Services.BO.CustShipSvc.Update(CustShipTableset& ds) in C:\_Releases\ERP\UD10.2.200.22\Source\Server\Services\BO\CustShip\CustShip.Designer.cs:line 2998 at Erp.Services.BO.CustShipSvcFacade.Update(CustShipTableset& ds) in C:\_Releases\ERP\UD10.2.200.22\Source\Server\Services\BO\CustShip\CustShipSvcFacade.cs:line 5986 at Erp.Services.BO.CustShipSvc.UpdateMaster(CustShipTableset& ds, Boolean doValidateCreditHold, Boolean doCheckShipDtl, Boolean doLotValidation, Boolean doCheckOrderComplete, Boolean doPostUpdate, Boolean doCheckCompliance, Boolean ipShippedFlagChanged, Int32 ipPackNum, Int32 ipBTCustNum, String& opReleaseMessage, String& opCompleteMessage, String& opShippingMessage, String& opLotMessage, String& opInventoryMessage, String& opLockQtyMessage, String& opAllocationMessage, String& opPartListNeedsAttr, String& opLotListNeedsAttr, String& shipCreditMsg, Boolean& cError, Boolean& compError, String& msg, String& opPostUpdMessage, Boolean& updateComplete, Boolean& checkComplianceError, Boolean& changeStatusError, Boolean& checkShipDtlAgain) in C:\_Releases\ERP\UD10.2.200.22\Source\Server\Services\BO\CustShip\CustShip.cs:line 34058 at Erp.Services.BO.CustShipSvcFacade.UpdateMaster(CustShipTableset& ds, Boolean doValidateCreditHold, Boolean doCheckShipDtl, Boolean doLotValidation, Boolean doCheckOrderComplete, Boolean doPostUpdate, Boolean doCheckCompliance, Boolean ipShippedFlagChanged, Int32 ipPackNum, Int32 ipBTCustNum, String& opReleaseMessage, String& opCompleteMessage, String& opShippingMessage, String& opLotMessage, String& opInventoryMessage, String& opLockQtyMessage, String& opAllocationMessage, String& opPartListNeedsAttr, String& opLotListNeedsAttr, String& shipCreditMsg, Boolean& cError, Boolean& compError, String& msg, String& opPostUpdMessage, Boolean& updateComplete, Boolean& checkComplianceError, Boolean& changeStatusError, Boolean& checkShipDtlAgain) in C:\_Releases\ERP\UD10.2.200.22\Source\Server\Services\BO\CustShip\CustShipSvcFacade.cs:line 4433 at SyncInvokeUpdateMaster(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.200.22\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59  
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:\_Releases\ICE\ICE3.2.200.22\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 28 at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in C:\_Releases\ICE\ICE3.2.200.22\Source\Framework\Epicor.System\Hosting\Wcf\EpiOperationInvoker.cs:line 23 at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result) at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.ServiceModel.Channels.SecurityChannelListener`1.ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)  
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)  
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)  
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)  
at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)  
at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)  
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)  
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)  
at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)  
at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)  
at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)  
at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)  
at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)  
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)  
at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)  
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)  
at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)  
at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped\* nativeOverlapped)  
at System.Threading.\_IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped\* pOVERLAP)

# Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)  
at Erp.Proxy.BO.CustShipImpl.UpdateMaster(CustShipDataSet ds, Boolean doValidateCreditHold, Boolean doCheckShipDtl, Boolean doLotValidation, Boolean doCheckOrderComplete, Boolean doPostUpdate, Boolean doCheckCompliance, Boolean ipShippedFlagChanged, Int32 ipPackNum, Int32 ipBTCustNum, String& opReleaseMessage, String& opCompleteMessage, String& opShippingMessage, String& opLotMessage, String& opInventoryMessage, String& opLockQtyMessage, String& opAllocationMessage, String& opPartListNeedsAttr, String& opLotListNeedsAttr, String& shipCreditMsg, Boolean& cError, Boolean& compError, String& msg, String& opPostUpdMessage, Boolean& updateComplete, Boolean& checkComplianceError, Boolean& changeStatusError, Boolean& checkShipDtlAgain)  
at Erp.Adapters.CustShipAdapter.UpdateMaster(Boolean doValidateCreditHold, Boolean doCheckShipDtl, Boolean doLotValidation, Boolean doCheckOrderComplete, Boolean doPostUpdate, Boolean doCheckCompliance, Boolean ipShippedFlagChanged, Int32 ipPackNum, Int32 ipBTCustNum, String& opReleaseMessage, String& opCompleteMessage, String& opShippingMessage, String& opLotMessage, String& opInventoryMessage, String& opLockQtyMessage, String& opAllocationMessage, String& opPartListNeedsAttr, String& opLotListNeedsAttr, String& shipCreditMsg, Boolean& cError, Boolean& compError, String& msg, String& opPostUpdMessage, Boolean& updateComplete, Boolean& checkComplianceError, Boolean& changeStatusError, Boolean& checkShipDtlAgain)  
at Erp.UI.App.CustShipEntry.Transaction.Update()

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [February 27, 2019, 1:06am UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/2 "2019-02-27T01:06:24Z")

</div>

Does the Packer line have the From Job fields used?

Make sure there is no qty in the Ship From Stock fields

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [February 27, 2019, 1:10am UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/3 "2019-02-27T01:10:49Z")

</div>

If you use the bin button to search, does it give you one to pick? Or does it show all of them?

---

<div class="post-metadata">

**Author:** ![bw2868bond](https://www.epiusers.help/user_avatar/www.epiusers.help/bw2868bond/32/277_2.png) [@bw2868bond](https://www.epiusers.help/u/bw2868bond)\
**Post date:** [February 27, 2019, 12:08pm UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/4 "2019-02-27T12:08:56Z")

</div>

I tried entering the pack line a slightly different way and now it saved……

Strange indeed

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [February 27, 2019, 12:17pm UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/5 "2019-02-27T12:17:38Z")

</div>

Let me guess, you were using mass ship and it didn’t work, but when you used new line instead it worked fine?

---

<div class="post-metadata">

**Author:** ![bw2868bond](https://www.epiusers.help/user_avatar/www.epiusers.help/bw2868bond/32/277_2.png) [@bw2868bond](https://www.epiusers.help/u/bw2868bond)\
**Post date:** [February 27, 2019, 12:24pm UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/6 "2019-02-27T12:24:23Z")

</div>

No, It looks like a customization on Customer Shipment Entry is causing the issue – I tried it using the Base form and it works ¯＼_(ツ)_/¯

---

<div class="post-metadata">

**Author:** ![bw2868bond](https://www.epiusers.help/user_avatar/www.epiusers.help/bw2868bond/32/277_2.png) [@bw2868bond](https://www.epiusers.help/u/bw2868bond)\
**Post date:** [February 27, 2019, 5:20pm UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/7 "2019-02-27T17:20:58Z")

</div>

The customization on CSE auto magically filled in the Bin field in the ship from Inventory section with the Bin that has on hand qty to save the user the clicks needed to look up the bin…  
Anything to save the user clicks 🙄

---

<div class="post-metadata">

**Author:** ![SeanR](https://www.epiusers.help/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@SeanR](https://www.epiusers.help/u/SeanR)\
**Post date:** [June 26, 2025, 4:07am UTC](https://www.epiusers.help/t/bin-references-invalid-value/53028/8 "2025-06-26T04:07:08Z")

</div>

For anyone else using DMT lately that gets this error… we had to move around the columns. I did not believe support when that was the suggested resolution, but it worked! Specifically for Quantity Adjustment.
