mojaSymfonia FORUM https://forum.mix-soft.pl/ |
|
GetUpust w HMF https://forum.mix-soft.pl/viewtopic.php?f=15&t=7287 |
Strona 1 z 1 |
Autor: | piotrm [ 2016-05-31, 16:03 ] |
Tytuł: | GetUpust w HMF |
Jak szybko pobrać upust kontrahenta na dany towar? W HMP było bardzo zgrabne polecenie GetUpust (khID, twID), a w HMF? |
Autor: | rafal [ 2016-05-31, 16:59 ] |
Tytuł: | Re: GetUpust w HMF |
Kod: dispatch xTw = xFactory.NewObject("BTowar") dispatch xKh = xFactory.NewObject("BKontrahent") dispatch xUI = xFactory.NewObject("BUpustIndyw") dispatch xUIParams = xFactory.NewObject("XUpustParams") xKh.Load("kod='test'") xTw.Load("kod='test_tw'") xUIParams.towar = xTw xUIParams.kontrahent = xKh xUI.Load(xUIParams) print xUI.item(1).wartosc |
Strona 1 z 1 | Strefa czasowa UTC+1godz. [letni] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |