Answer the question
In order to leave comments, you need to log in
Task 1C How to implement my task?
The task is as follows:
Upon receipt of goods, the price and amount of the purchase must be indicated in the receipt invoice, but the goods must be entered in the register at the sale value.
That is: I have an accumulation register (GoodsInStock), a register of information (PricesInStore), an Invoice Invoice document.
I need that when posting the Invoice Invoice document, I would indicate the purchase price (by myself, by hand), BUT the goods would get into the accumulation register (Goods in the Warehouse) at the price from the information register (Prices in the Warehouse).
Please share your ideas on how to do this.
Below are screenshots, as in the client.
Answer the question
In order to leave comments, you need to log in
In the processing of posting the Incoming Invoice, specify the desired price in the movements according to the register. The task is not difficult.
Procedure HandlingPerforming(Failure, Mode)
//{{__REGISTER_MOTION_CONSTRUCTOR
// This fragment is built by the constructor.
// If the constructor is reused, the manual changes will be lost!!!
// register GoodsInStockMovement.GoodsInStock.Record
= True;
For Each TekRowProducts From Products Loop
Movement = Movements.ProductsInStock.Add();
Movement.MovementType = MovementTypeAccumulation.Incoming;
Movement.Period = Date;
Movement.Nomenclature = CurrentLineProducts.Nomenclature;
Movement.Warehouse = Warehouse;
Movement.Quantity = CurrentStringProducts.Quantity;
Movement.Price =
EndCycle;
//}}__CONSTRUCTOR_MOTION_REGISTER
EndProcedure
---------------------
I understood correctly what is needed in Movement.Price Get the price from the information register?
Movement.Price =
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question