Compare commits
No commits in common. "1a1271c7e0e5b46177156bfae07d4070197f93e2" and "7f88e9a232229bf6b9893114880fedecffa4a91d" have entirely different histories.
1a1271c7e0
...
7f88e9a232
File diff suppressed because it is too large
Load Diff
@ -52,19 +52,12 @@
|
||||
" ART_WU.add(pNr)\n",
|
||||
"\n",
|
||||
"# zusätzlich\n",
|
||||
"ART_WU = ART_WU.union({\"062346\", \"062356\", \"062306\", \"062349\", \"062308\", \"062358\", \"062416\", \"104405\", \"104406\", \"104407\", \"104409\"})\n",
|
||||
"ART_WU = ART_WU.union({\"062346\", \"062356\", \"062306\", \"062416\", \"104406\", \"104409\"})\n",
|
||||
"\n",
|
||||
"ART_WU = list(ART_WU)\n",
|
||||
"ART_WU.sort()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# IBM 11/09 - Negative Verfügbarkeit ausführen!"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
@ -94,7 +87,6 @@
|
||||
" upcoming: int\n",
|
||||
" upc_date: str\n",
|
||||
" upc_area: str\n",
|
||||
" comm_area: str\n",
|
||||
" stock00: int\n",
|
||||
" stock01: int\n",
|
||||
" stock33: int\n",
|
||||
@ -118,7 +110,6 @@
|
||||
" upcoming=int(t[10]),\n",
|
||||
" upc_date=date.fromisoformat(f\"20{str(t[11])[-2:]}-{str(t[11])[-4:-2]}-{int(str(t[11])[:-4]):02d}\") if int(t[10]) > 0 else None,\n",
|
||||
" upc_area=str(t[12]),\n",
|
||||
" comm_area=t[18],\n",
|
||||
" stock00=int(t[24]),\n",
|
||||
" stock01=int(t[25]),\n",
|
||||
" stock33=int(t[26]),\n",
|
||||
@ -199,7 +190,7 @@
|
||||
" if we_area == \"00\":\n",
|
||||
" verbleibend += we\n",
|
||||
" \n",
|
||||
" sheet.append([\"\", \"Produktion\", we_dat, t.artnr, t.artname, t.bundle, \"\", f\"+{we}\", verbleibend, t.upcoming, t.upc_date, t.upc_area, t.stock00, t.stock01, t.stock33, t.stock36])\n",
|
||||
" sheet.append([\"\", \"Produktion\", we_dat, t.delivdate, t.artnr, t.artname, t.bundle, \"\", f\"+{we}\", verbleibend, t.upcoming, t.upc_date, t.upc_area, t.stock00, t.stock01, t.stock33, t.stock36])\n",
|
||||
" we = 0\n",
|
||||
" if t.cust_name.strip() == \"dennree GmbH\":\n",
|
||||
" sheet.append([t.ordernr, t.cust_name, t.delivdate, t.artnr, t.artname, t.bundle, t.ordered, t.ord_rem, verbleibend, t.upcoming, t.upc_date, t.upc_area, t.stock00, t.stock01, t.stock33, t.stock36])\n",
|
||||
@ -217,7 +208,7 @@
|
||||
" if we_area == \"00\":\n",
|
||||
" verbleibend += we\n",
|
||||
" \n",
|
||||
" sheet.append([\"\", \"Produktion\", we_dat, t.artnr, t.artname, t.bundle, \"\", f\"+{we}\", verbleibend, t.upcoming, t.upc_date, t.upc_area, t.stock00, t.stock01, t.stock33, t.stock36])\n",
|
||||
" sheet.append([\"\", \"Produktion\", we_dat, t.delivdate, t.artnr, t.artname, t.bundle, \"\", f\"+{we}\", verbleibend, t.upcoming, t.upc_date, t.upc_area, t.stock00, t.stock01, t.stock33, t.stock36])\n",
|
||||
"\n",
|
||||
"vorlage.save(f\"Umfuhrplanung_{FROM}.xlsx\")"
|
||||
]
|
||||
@ -232,10 +223,10 @@
|
||||
],
|
||||
"metadata": {
|
||||
"interpreter": {
|
||||
"hash": "2be5faf79681da6f2a61fdfdd5405d65d042280f7fba6178067603e3a2925119"
|
||||
"hash": "032eb40c1682b1e6109824d577ff4427b0bbc2f8ebe1487b7b1be524c4843266"
|
||||
},
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.10.0 64-bit",
|
||||
"display_name": "Python 3.9.7 64-bit",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
@ -248,7 +239,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.0"
|
||||
"version": "3.9.7"
|
||||
},
|
||||
"orig_nbformat": 4
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user