J
J
jeraxmyboy2017-07-18 13:37:33
1C
jeraxmyboy, 2017-07-18 13:37:33

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.285a82cffe174d0f89f8279ba05c805c.png8aa94c70d6ed4653a5c8cbd383ee52e3.pngb7df44134d9d46388697de44e087b6cf.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Konstantin Nagibovich, 2017-07-18
@nki

In the processing of posting the Incoming Invoice, specify the desired price in the movements according to the register. The task is not difficult.

L
laxikodeje, 2017-07-18
@laxikodeje

Discover the SPECIALIZED 1C forum
www.forum.mista.ru/index.php

J
jeraxmyboy, 2017-07-18
@jeraxmyboy

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?

K
Konstantin, 2017-07-18
@fosihas

Movement.Price =

it's too much.
It is better to remove it from the Goods in stock register. It is not the actual cost of the goods, not its price (there are exceptions for retail, jewelry, pharmacies).
The price register is needed so that the price itself is substituted into the document when choosing an item. And then there was the calculation of the amount.
This is normal.
The task is somewhat inaccurate
Here, when you make a move, you need to find the price from the PC and put it in the right cell.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question