As in 1C software to choose the warehouse?

Retail (base), edition 2.2 (, document check, fill in a tabular part from the xml file, there was one field warehouse to assign the warehouse in the configuration he is one
//Add in the PM
 Novastrike = Docobject.Products.Add();
 Novastrike.Range = Nonanomalous.Link;
 Novastrike.Quantity = Preventaccess(Strtch.Number);
 Novastrike.Kolichestvom = Preventaccess(Strtch.Number);
 Novastrike.The Price = Preventaccess(Strtch.Price);
 Novastrike.Amount = Preventaccess(Strtch.Amount);
 Novastrike.Warehouse = ?
 Novastrike.Summands = Preventaccess(Strtch.Summands);
June 26th 19 at 14:22
2 answers
June 26th 19 at 14:24
in the beginning

tutu ...blablabla add...

Novastrike.Warehouse =Warehouse;
Why are the properties at the warehouse have not seen the code - Ericka.Wiso commented on June 26th 19 at 14:27
: I don't have a retail to look...
but try then Nationalease instead of the code - aliya.Miller82 commented on June 26th 19 at 14:30
June 26th 19 at 14:26
In the case of Retail, 2.2 can use this option:
Edinstvennye = Reference.Warehouses.Poluchitekonomiyu(Store, Tickled);

where Store is the requisite of your check, and Tipsuda is likely to Transfer.Tipsbladet.Torgovitsa (although it can be and storage room - you know better).
Thanks now I will try - Ericka.Wiso commented on June 26th 19 at 14:29

Find more questions by tags 1C1C-Enterprise