Beas supports purchase commission stocks in the following way:
- Purchase: post in via purchase - goods receipt to purchase commission stocks(warehouse type purchase commission stock)
- For this warehouse a supplier is stored and "Production withdrawal" was enabled
- Production - Material issue (backflushing or right-click in work order structure - material issue)
Goods can also be selected manually from purchase commission stock
For goods on the commission stock:
1. issue from commission stock
2. purchase goods receipt to standard warehouse of the item
3. issue items from standard warehouse
A goods receipt document is created, which can be used in invoice
Important: the standard warehouse may not have bin locations. For commission stock bin locations are supported.
Goods are posted with default pricing, adaptations are possible.
Adaptations are made by BeasScript in file workordermanagement.src
The following function is called once before charging-off from commission stock:
function commisionpostout
only the withdrawal price can be set up
Example:
setvar=e_pricetype=zeroprice
issue with 0. Important: if continuous stocktaking is active, this can lead to problems.
The following function is called once before processing purchase goods receipt to standard warehouse. It is called per batch, per serial number, per item.
function commisionpoingetprice
Variable can be set one (not per row)
setvar=e_pricetype=fromplandocument
in this case in the variable "e_price" the post in price can be transferred
Example: batches are to be posted in with the price given in the field "notes"
Everything else is posted with 0
function commisionpoingetprice
// get price from plan document
setvar=e_pricetype=fromplandocument
select ManBtChNum from OITM where ItemCode=<e_itemcode,dbstring>
// get price and save this in plan document
if <wert1> = Y then
select OBTN.Notes into e_price from OBTN &
where OBTN.ItemCode=<e_itemcode,dbstring> and OBTN.DistNumber=<e_batchnum,dbstring>
else
setvar=e_price=0
end
end function
|