Andere: Unterschied zwischen den Versionen
Aus Asprova Hilfe
GK (Diskussion | Beiträge) (→CalcInventory( item, dateTime )) |
GK (Diskussion | Beiträge) (→GetDispatchingEvalByUseBomCode( oper, useInstCode )) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 28: | Zeile 28: | ||
255 | 255 | ||
) | ) | ||
− | |[[Image:incodefunc-rgb02.png]] | + | |[[Image:incodefunc-rgb02.png]]<br>Je größer [Num-Spezifikation 1] ist, desto dunkler wird das Blau. |
|- | |- | ||
!Hinweise | !Hinweise | ||
Zeile 41: | Zeile 41: | ||
|- | |- | ||
!rowspan="2"|Parameter | !rowspan="2"|Parameter | ||
− | |''item''|| | + | |''item''||Artikel |
|- | |- | ||
− | |''dateTime''|| | + | |''dateTime''||Zeitpunkt des Bestands |
|- | |- | ||
!Rückgabewert | !Rückgabewert | ||
Zeile 55: | Zeile 55: | ||
|} | |} | ||
− | + | == CurrencyFormat( value ) == | |
− | + | {| class="wikitable" | |
− | + | |- | |
− | + | !Parameter | |
− | CurrencyFormat( | + | |width="1px"|''value''||Float |
− | |||
− | Parameter | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !Rückgabewert |
+ | |colspan="2"|Gibt ''value'', entsprechend dem in den Arbeitsplatzeigenschaften in <nowiki>[</nowiki>[[Währungsformat]]<nowiki>]</nowiki> vorgegebenem Format, formatiert zurück. | ||
|- | |- | ||
− | | | + | !rowspan="4"|Beispiele |
− | + | |<code>CurrencyFormat(ME.Value*ME.Item.Price)</code>||"90k €" | |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |colspan="2"|<code>ME.Value</code> ist hier die Menge 100 und <code>ME.Item.Price</code> ist 900. |
|- | |- | ||
− | | | + | |colspan="2"|[[Image:incodefunc-currencyformat01.png]]<br>Das [Zahlenformat] in den Anzeigeeinstellungen des Bestandsgraphen ist <code>CurrencyFormat(ME.Value*ME.Item.Price)</code>. |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |colspan="2"|Das [Währungsformat] ist in beiden Beispielen <code>Format(INPUT/1000,'#,##0k €')</code>, die Anzeige erfolgt also in Tausend Euro. |
|- | |- | ||
|} | |} | ||
− | + | == GetResourceByUseBomCode( oper, useinstCode ) == | |
− | + | {| class="wikitable" | |
− | |||
− | |||
− | |||
− | {| | ||
|- | |- | ||
− | | | + | !rowspan="2"|Parameter |
+ | |''oper''||Vorgang | ||
|- | |- | ||
− | | | + | |''useinstCode''||Nutzungsanweisungscode |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !Rückgabewert |
+ | |colspan="2"|Gibt die Ressource zurück, die in ''oper'' für die Nutzungsanweisung ''useinstCode'' verwendet wird. | ||
|- | |- | ||
− | || | + | !rowspan="2"|Beispiel |
+ | |<code>GetResourceByUseBomCode(ME.Operation,'S0')</code>||"Mitarbeiter 1" | ||
|- | |- | ||
− | | | + | |colspan="2"|[[Image:Incodefunc-usebomcode01.png]] |
− | + | {| class="wikitable | |
− | + | |+ Integrierte Stammdaten | |
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !style="background: #3C78AE; color:white;"|Artikel |
+ | !style="background: #3C78AE; color:white;"|Anweisungstyp | ||
+ | !style="background: #3C78AE; color:white;"|Anweisungs-<br>code | ||
+ | !style="background: #3C78AE; color:white;"|Ressource/<br>Artikel | ||
+ | |- style="background: #FFE6C8" | ||
+ | |rowspan="3" valign="top" style="background: white"|Artikel A||Input-Anweisung||In||Rohmaterial | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Mischer 1 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||S0||Mitarbeiter 1 | ||
|- | |- | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
− | + | == GetNumCandidateResource( oper ) == | |
− | + | {| class="wikitable" | |
− | |||
− | |||
− | GetNumCandidateResource( | ||
− | |||
− | |||
− | |||
− | |||
− | {| | ||
|- | |- | ||
− | | | + | !Parameter |
+ | |width="1px"|''oper''||Vorgang | ||
|- | |- | ||
− | + | !Rückgabewert | |
− | + | |colspan="2"|Gibt die Anzahl passender Ressourcen für ''oper'' zurück. | |
− | Rückgabewert | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !rowspan="4"|Beispiele |
+ | |<code>GetNumCandidateResource(ME.Operation)</code>||3 | ||
|- | |- | ||
− | | | + | |colspan="2"|[[Image:incodefunc-candidateres01.png]] |
− | + | {| class="wikitable | |
− | |||
− | |||
− | |||
− | {| | ||
|- | |- | ||
− | | | + | !style="background: #3C78AE; color:white;"|Artikel |
+ | !style="background: #3C78AE; color:white;"|Prozess-<br>code | ||
+ | !style="background: #3C78AE; color:white;"|Anweisungstyp | ||
+ | !style="background: #3C78AE; color:white;"|Anweisungs-<br>code | ||
+ | !style="background: #3C78AE; color:white;"|Ressource/<br>Artikel | ||
+ | |- style="background: #FFE6C8" | ||
+ | |rowspan="8" valign="top" style="background: white"|Artikel B||rowspan="2" valign="top" style="background: white"|Mischen||Input-Anweisung||In||Rohmaterial | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Mischer 1 | ||
+ | |- style="background: #FFE6C8" | ||
+ | |rowspan="4" valign="top" style="background: white"|Verpacken||Input-Anweisung||In||Artikel B-10 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Verpackung 1 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Verpackung 2 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Verpackung 3 | ||
+ | |- style="background: #FFE6C8" | ||
+ | |rowspan="2" valign="top" style="background: white"|Kontrolle||Input-Anweisung||In||Artikel B-20 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Kontrolle 1 | ||
|- | |- | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | |<code>GetNumCandidateResource(ME.Operation)</code>||6 | |
− | |||
− | |||
|- | |- | ||
− | | | + | |colspan="2"| |
− | + | {| class="wikitable | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| | ||
|- | |- | ||
− | | | + | !style="background: #3C78AE; color:white;"|Artikel |
+ | !style="background: #3C78AE; color:white;"|Prozess-<br>code | ||
+ | !style="background: #3C78AE; color:white;"|Aufgaben-<br>wähler | ||
+ | !style="background: #3C78AE; color:white;"|Anweisungstyp | ||
+ | !style="background: #3C78AE; color:white;"|Anweisungs-<br>code | ||
+ | !style="background: #3C78AE; color:white;"|Ressource/Artikel | ||
+ | |- style="background: #FFE6C8" | ||
+ | |rowspan="7" valign="top" style="background: white"|Artikel B||rowspan="2" valign="top" style="background: white"|Mischen||style="background:#EBEBEB"| ||Input-Anweisung||In||Rohmaterial | ||
+ | |- style="background:#C8FFE6" | ||
+ | |style="background: white"| ||Nutzungsanweisung||M||Mischer 1 | ||
+ | |- style="background: #FFE6C8" | ||
+ | |rowspan="5" valign="top" style="background: white"|Verpacken||style="background:#EBEBEB"| ||Input-Anweisung||In||Artikel B-10 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |style="background: white" rowspan="3"|1||Nutzungsanweisung||M||Verpackung 1 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Verpackung 2 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |Nutzungsanweisung||M||Verpackung 3 | ||
+ | |- style="background:#C8FFE6" | ||
+ | |style="background: white"|2||Nutzungsanweisung||M||Verpackung 1;Verpackung 2;Verpackung 3 | ||
|- | |- | ||
− | | | + | |} |
+ | Es gibt drei passende Ressourcen in [Aufgabenwähler 1] und drei passende Ressourcen in [Aufgabenwähler 2]. | ||
|- | |- | ||
|} | |} | ||
− | + | == GetDispatchingEvalByUseBomCode( oper, useInstCode ) == | |
− | + | {| class="wikitable" | |
− | + | |- | |
− | + | !rowspan="2"|Parameter | |
+ | |width="1px"|''oper''||Vorgang | ||
+ | |- | ||
+ | |''useInstCode''||Nutzungsanweisungscode | ||
|- | |- | ||
− | | | + | !Rückgabewert |
+ | |colspan="2"|Gibt an Hand von ''useInstCode'' vorläufige Zuweisungsinformationen über ''oper'' auf einer bestimmten Ressource zurück. | ||
|- | |- | ||
− | | | + | !Beispiele |
− | + | |<code>GetDispatchingEvalByUseBomCode(ME,'M')</code>||''Ressourcenbewertungsobjekt der Nutzungsanweisung "M"'' | |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !Hinweise |
+ | |colspan="2"| | ||
+ | * Ressourcenbewertungsobjekte können in [Zusätzliche Bewertungsformel] der Ressourcenbewertung genutzt werden, um zu bestimmen, ob die Ressource genutzt werden kann. | ||
+ | * Kann nur während der Zuweisung verwendet werden. | ||
|- | |- | ||
|} | |} | ||
− | + | == GetNumProcessToGo( oper ) == | |
− | + | {| class="wikitable" | |
− | |||
− | {| | ||
|- | |- | ||
− | | | + | !Parameter |
+ | |width="1px"|''oper''||Vorgang | ||
|- | |- | ||
− | | | + | !Rückgabewert |
− | + | |colspan="2"|Gibt die verbleibende Anzahl an Prozessen im Auftrag nach ''oper'' zurück. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !rowspan="2"|Beispiele |
+ | |<code>GetNumProcessToGo(ME.Operation)</code>||2 | ||
|- | |- | ||
− | | | + | |colspan="2"|<code>ME.Operation</code> ist hier Vorgang "01:20". |
− | |||
− | |||
− | |||
{| | {| | ||
|- | |- | ||
− | | | + | |style="background-color:#A1FFD0; border-style: solid; border-width: 1px; padding: 5px;"|Vorgang: 01:10<br>Verb. Proz.: 3||→||style="background-color:#A1FFD0; border-style: dashed; border-width: 1px; padding: 5px;"|Vorgang: 01:20<br>Verb. Proz.: '''2'''||→||style="background-color:#FFB89B; border-style: solid; border-width: 1px; padding: 5px;"|Vorgang: 01:30<br>Verb. Proz.: 1||→||style="background-color:#FFB89B; border-style: solid; border-width: 1px; padding: 5px;"|Vorgang: 01:40<br>Verb. Proz.: 0 |
|- | |- | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !Hinweis |
+ | |colspan="2"|Wird im Einlastungsschlüssel "Verbleibende Anzahl an Vorgängen" genutzt. | ||
|- | |- | ||
|} | |} | ||
− | + | == GetPeggedRate( prevOper, oper ) == | |
− | + | {| class="wikitable" | |
− | |||
− | |||
− | |||
− | {| | ||
|- | |- | ||
− | | | + | !rowspan="2"|Parameter |
+ | |width="1px"|''prevOper''||Vorgänger | ||
|- | |- | ||
− | | | + | |''oper''||Vorgang |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | !Rückgabewert |
+ | |colspan="2"|Gibt den Anteil der [Produktionsmenge] von ''prevOper'' zurück, die mit ''oper'' verknüpft ist. | ||
|- | |- | ||
− | || | + | !rowspan="2"|Beispiele |
+ | |<code>GetPeggedRate(ME.Operation.PrevOperation,ME.Operation)</code>||0.3 | ||
|- | |- | ||
− | | | + | |colspan="2"|<code>ME.Operation</code> ist hier Vorgang "01:20:001". |
− | |||
− | |||
− | |||
{| | {| | ||
|- | |- | ||
− | | | + | |colspan="3" style="background-color:#FFB89B; border-style: solid; border-width: 1px; padding: 5px;"|Vorgang: 01:10<br>Menge: 100 |
+ | |- align="center" | ||
+ | |↓||width="10px"| ||↓ | ||
+ | |- | ||
+ | |style="background-color:#A1FFD0; border-style: dashed; border-width: 1px; padding: 5px;"|Vorgang: 01:20:001<br>Menge: 30<br>Verknüpfungsverhältnis: '''0.3''' | ||
+ | | | ||
+ | |style="background-color:#A1FFD0; border-style: solid; border-width: 1px; padding: 5px;"|Vorgang: 01:20:002<br>Menge: 70<br>Verknüpfungsverhältnis: 0.7 | ||
|- | |- | ||
|} | |} | ||
− | + | <code>ME.Operation.PrevOperation</code> ist "01:10", die [Produktionsmenge] 30 wird durch 100 geteilt, so dass 0.3 zurückgegeben wird. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
== GetRootChildListString( ) == | == GetRootChildListString( ) == |
Aktuelle Version vom 14. Januar 2019, 15:51 Uhr
Hilfe Nummer: 741600
Asprova stellt Ihnen die folgenden anderen Funktionen für verschiedenste Aufgaben zur Verfügung.
Inhaltsverzeichnis
- 1 RGB( red, blue, green )
- 2 CalcInventory( item, dateTime )
- 3 CurrencyFormat( value )
- 4 GetResourceByUseBomCode( oper, useinstCode )
- 5 GetNumCandidateResource( oper )
- 6 GetDispatchingEvalByUseBomCode( oper, useInstCode )
- 7 GetNumProcessToGo( oper )
- 8 GetPeggedRate( prevOper, oper )
- 9 GetRootChildListString( )
RGB( red, blue, green )
CalcInventory( item, dateTime )
CurrencyFormat( value )
Parameter | value | Float |
---|---|---|
Rückgabewert | Gibt value, entsprechend dem in den Arbeitsplatzeigenschaften in [Währungsformat] vorgegebenem Format, formatiert zurück. | |
Beispiele | CurrencyFormat(ME.Value*ME.Item.Price) |
"90k €" |
ME.Value ist hier die Menge 100 und ME.Item.Price ist 900.
| ||
Das [Zahlenformat] in den Anzeigeeinstellungen des Bestandsgraphen ist CurrencyFormat(ME.Value*ME.Item.Price) .
| ||
Das [Währungsformat] ist in beiden Beispielen Format(INPUT/1000,'#,##0k €') , die Anzeige erfolgt also in Tausend Euro.
|
GetResourceByUseBomCode( oper, useinstCode )
GetNumCandidateResource( oper )
Parameter | oper | Vorgang | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Rückgabewert | Gibt die Anzahl passender Ressourcen für oper zurück. | |||||||||||||||||||||||||||||||||||
Beispiele | GetNumCandidateResource(ME.Operation) |
3 | ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
GetNumCandidateResource(ME.Operation) |
6 | |||||||||||||||||||||||||||||||||||
Es gibt drei passende Ressourcen in [Aufgabenwähler 1] und drei passende Ressourcen in [Aufgabenwähler 2]. |
GetDispatchingEvalByUseBomCode( oper, useInstCode )
Parameter | oper | Vorgang |
---|---|---|
useInstCode | Nutzungsanweisungscode | |
Rückgabewert | Gibt an Hand von useInstCode vorläufige Zuweisungsinformationen über oper auf einer bestimmten Ressource zurück. | |
Beispiele | GetDispatchingEvalByUseBomCode(ME,'M') |
Ressourcenbewertungsobjekt der Nutzungsanweisung "M" |
Hinweise |
|
GetNumProcessToGo( oper )
Parameter | oper | Vorgang | ||||||
---|---|---|---|---|---|---|---|---|
Rückgabewert | Gibt die verbleibende Anzahl an Prozessen im Auftrag nach oper zurück. | |||||||
Beispiele | GetNumProcessToGo(ME.Operation) |
2 | ||||||
ME.Operation ist hier Vorgang "01:20".
| ||||||||
Hinweis | Wird im Einlastungsschlüssel "Verbleibende Anzahl an Vorgängen" genutzt. |
GetPeggedRate( prevOper, oper )
Parameter | prevOper | Vorgänger | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
oper | Vorgang | |||||||||
Rückgabewert | Gibt den Anteil der [Produktionsmenge] von prevOper zurück, die mit oper verknüpft ist. | |||||||||
Beispiele | GetPeggedRate(ME.Operation.PrevOperation,ME.Operation) |
0.3 | ||||||||
ME.Operation ist hier Vorgang "01:20:001".
|
GetRootChildListString( )
Parameter | keiner | |
---|---|---|
Rückgabewert | Gibt eine, mit Komma getrennte, Liste aller Objekte unter dem Stammobjekt zurück. | |
Beispiel | GetRootChildListString() |
"ClassDef,PropertyDef,InCodeFunction,Project,Workspace" |
Hilfe Nummer: 741600