Does anyone have information on this? Epicor support sent me here for help since this is a coding issue.
I have never called another method from a BPM so I do not know the correct syntax, or how to pass the correct parameters to the method call.
I have never called another method from a BPM so I do not know the correct syntax, or how to pass the correct parameters to the method call.
--- In vantage@yahoogroups.com, "livingstonmarc86" <livingstonmarc86@...> wrote:
>
> When trying to change the settings in Inventory transfer based on the
> parts current location with a BPM I discovered that this module calls
> other methods: ChangetoWhse ChangetoBin
> Changefromwhse changetobin.
>
> Does anyone know how to call these methods via ABL and pass the correct
> parameters to them?
>
> I tried changing just the warehouse and bin from the
> InvTransfer.GetTransferRecord, but it would not process it without these
> other methods running.
>
> Here is my Current Code:
>
> for each ttInvTrans no-lock.
> For first partwhse where partwhse.company=ttInvTrans.Company and
> partwhse.PartNum=iPartNum and partwhse.OnhandQty>0 no-lock.
> if available partwhse then do:
> ttInvTrans.TransferQty=1.
> ttinvtrans.TrackingQty=1.
>
> if partwhse.WarehouseCode="PRD" then do:
> ttInvTrans.FromBinNum="PRD".
> ttinvtrans.FromWarehouseCode="PRD".
> ttinvtrans.FromWarehouseDesc="Production Area".
> ttinvtrans.FromBinDesc="Production Floor".
> ttinvtrans.FromOnHandQty=0.
> end.
> if partwhse.WarehouseCode="GAG" then do:
> ttInvTrans.ToBinNum="PRD".
> ttinvtrans.ToBinDesc="Production Floor".
> ttinvtrans.ToWarehouseCode="PRD".
> ttinvtrans.ToWarehouseDesc="Production Area".
> ttinvtrans.ToOnHandQty=0.
>
> end.
> end.
> end.
> end.
>